home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / hp / 10439 < prev    next >
Encoding:
Text File  |  1992-09-15  |  2.9 KB  |  93 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!utcsri!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
  3. From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
  4. Subject: Re: Partitioning 1.6 GB disk for HP 9000/720
  5. Message-ID: <1992Sep15.163044.8162@alchemy.chem.utoronto.ca>
  6. Keywords: Partitioning disk
  7. Organization: University of Toronto Chemistry Department
  8. References: <1992Sep15.141625.27065@ugle.unit.no>
  9. Date: Tue, 15 Sep 1992 16:30:44 GMT
  10. Lines: 81
  11.  
  12. In article <1992Sep15.141625.27065@ugle.unit.no> olafn@inbit.ibt.unit.no (Olaf F. Normann) writes:
  13. >How do I do this on HP systems running HP-UX 8.0.7?
  14.  
  15. Use 'sdsadmin', and 'newfs'.
  16.  
  17. >Isn't it common to do this on HP systems?
  18.  
  19. Apparently not, and you can not do it for the "boot" disk.
  20.  
  21. >Are there any drawbacks in partitioning the disks on HP systems?
  22.  
  23. None that I know of (yet).
  24.  
  25. Here is my config file to split a 2 GB Fujitsu disk into 2 partitions:
  26.  
  27. #
  28. # SDS configuration file for this node.
  29. #
  30. # To rebuild the Fujitsu M2652SA disk partitions, do:
  31. #    mediainit -v /dev/rdsk/5s0
  32. #    sdsadmin -m -C /usr/local/etc/sdsadmin.config /dev/dsk/5s0
  33. #    newfs -L -n -v -m 2 -i 12288 /dev/rdsk/5s1 HP_M2652Sx1-2
  34. #    newfs -L -n -v -m 2 -i  2048 /dev/rdsk/5s2 HP_M2652Sx1-2
  35. #
  36. # Disk partitions:
  37. #
  38. # 1   /u1     130xxxx 1K blocks (/dev/dsk/5s1, /dev/rdsk/5s1)
  39. # 2   /news    40xxxx 1K blocks (/dev/dsk/5s2, /dev/rdsk/5s2)
  40. # -   -----   -------
  41. #             1704981 1K blocks
  42. #
  43.  
  44. type    M2652Sx1-2
  45. label    u1_news
  46.  
  47. partition 1
  48.    size 1300000K
  49.  
  50. partition 2
  51.    size      max
  52.  
  53.  
  54. Here is my /etc/disktab entry for this disk:
  55.  
  56. ###############################################
  57. #FUJITSU|M2652S-512
  58. #   vendor:    FUJITSU
  59. #   product id: M2652S-512 (M2652SA)
  60. #
  61. #   Added by Mike Peterson.
  62. #   The real disk geometry is 20 heads (+ 1 servo),
  63. #   with 88 512 byte sectors per track, and 1944 cylinders.
  64. #   Due to the spare blocks and cylinders, the actual capacity
  65. #   of the drive is 1704982 1K blocks, which does not factor
  66. #   into reasonable ns/nt/nc values.
  67. #   The following values were found:
  68. #
  69. #   Total blocks    ns   nt     nc
  70. #   ------------   ---   --   ----
  71. #        1704981   101   17    993
  72. #        1704980   163   20    523
  73. #        1704980   163   10   1046  <== using this one to get
  74. #                                       required number of inodes
  75. #                                       in /dev/dsk/5s2
  76. #
  77. FUJITSU_M2652S-512|M2652S-512|FUJITSU_M2652S-512_noreserve|FUJITSU_M2652S-512_noswap:\
  78.     :no swap or boot:ns#163:nt#10:nc#1046:\
  79.     :s0#1704980:b0#8192:f0#1024:\
  80.     :se#512:rm#5400:
  81. #
  82. # The following entry is for a FUJITSU M2652S-512 disk divided
  83. # into 2 partitions (1300480 blocks and 404480 blocks).
  84. #
  85. HP_M2652Sx1-2|HP_M2652Sx1-2_noreserve|HP_M2652Sx1-2_noswap:\
  86.     :ns#163:nt#10:nc#1046:\
  87.     :s1#1300480:b1#8192:f1#1024:\
  88.     :s2#404480:b2#8192:f2#1024:\
  89.     :se#512:rm#5400:
  90. -- 
  91. What are the chances that any computer system will ever "work" properly?
  92. ... and Slim just left town. -*- Mike Peterson, SysAdmin, U/Toronto Chemistry
  93.