home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!utcsri!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
- From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
- Subject: Re: Partitioning 1.6 GB disk for HP 9000/720
- Message-ID: <1992Sep15.163044.8162@alchemy.chem.utoronto.ca>
- Keywords: Partitioning disk
- Organization: University of Toronto Chemistry Department
- References: <1992Sep15.141625.27065@ugle.unit.no>
- Date: Tue, 15 Sep 1992 16:30:44 GMT
- Lines: 81
-
- In article <1992Sep15.141625.27065@ugle.unit.no> olafn@inbit.ibt.unit.no (Olaf F. Normann) writes:
- >How do I do this on HP systems running HP-UX 8.0.7?
-
- Use 'sdsadmin', and 'newfs'.
-
- >Isn't it common to do this on HP systems?
-
- Apparently not, and you can not do it for the "boot" disk.
-
- >Are there any drawbacks in partitioning the disks on HP systems?
-
- None that I know of (yet).
-
- Here is my config file to split a 2 GB Fujitsu disk into 2 partitions:
-
- #
- # SDS configuration file for this node.
- #
- # To rebuild the Fujitsu M2652SA disk partitions, do:
- # mediainit -v /dev/rdsk/5s0
- # sdsadmin -m -C /usr/local/etc/sdsadmin.config /dev/dsk/5s0
- # newfs -L -n -v -m 2 -i 12288 /dev/rdsk/5s1 HP_M2652Sx1-2
- # newfs -L -n -v -m 2 -i 2048 /dev/rdsk/5s2 HP_M2652Sx1-2
- #
- # Disk partitions:
- #
- # 1 /u1 130xxxx 1K blocks (/dev/dsk/5s1, /dev/rdsk/5s1)
- # 2 /news 40xxxx 1K blocks (/dev/dsk/5s2, /dev/rdsk/5s2)
- # - ----- -------
- # 1704981 1K blocks
- #
-
- type M2652Sx1-2
- label u1_news
-
- partition 1
- size 1300000K
-
- partition 2
- size max
-
-
- Here is my /etc/disktab entry for this disk:
-
- ###############################################
- #FUJITSU|M2652S-512
- # vendor: FUJITSU
- # product id: M2652S-512 (M2652SA)
- #
- # Added by Mike Peterson.
- # The real disk geometry is 20 heads (+ 1 servo),
- # with 88 512 byte sectors per track, and 1944 cylinders.
- # Due to the spare blocks and cylinders, the actual capacity
- # of the drive is 1704982 1K blocks, which does not factor
- # into reasonable ns/nt/nc values.
- # The following values were found:
- #
- # Total blocks ns nt nc
- # ------------ --- -- ----
- # 1704981 101 17 993
- # 1704980 163 20 523
- # 1704980 163 10 1046 <== using this one to get
- # required number of inodes
- # in /dev/dsk/5s2
- #
- FUJITSU_M2652S-512|M2652S-512|FUJITSU_M2652S-512_noreserve|FUJITSU_M2652S-512_noswap:\
- :no swap or boot:ns#163:nt#10:nc#1046:\
- :s0#1704980:b0#8192:f0#1024:\
- :se#512:rm#5400:
- #
- # The following entry is for a FUJITSU M2652S-512 disk divided
- # into 2 partitions (1300480 blocks and 404480 blocks).
- #
- HP_M2652Sx1-2|HP_M2652Sx1-2_noreserve|HP_M2652Sx1-2_noswap:\
- :ns#163:nt#10:nc#1046:\
- :s1#1300480:b1#8192:f1#1024:\
- :s2#404480:b2#8192:f2#1024:\
- :se#512:rm#5400:
- --
- What are the chances that any computer system will ever "work" properly?
- ... and Slim just left town. -*- Mike Peterson, SysAdmin, U/Toronto Chemistry
-