From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715812037.tru64-unix-managers.marc@archive.invalid> From: "G. Matthew Sweet" Date: Thu, 30 Jul 1998 14:25:17 +0000 To: tru64-unix-managers Subject: Expanding Root - Are My Methods Correct? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715812037 Greetings, Time for a quick sanity check. I'm planning on re-arranging some of my disk partitions so that I can have the room necessary to perform the upgrades to get to DUnix 4.0d. What I'm basically looking for is a verfication that I'm barking up the right tree since we only have one Unix box that we only touch in this manner once a year or so. The box is a DEC Alpha 3000/600 with 96 Meg of RAM running 3.2 rev 214 My current disk layout under ver 3.2 looks like this, the disk is an RZ26 (1 gig): Partition: File System: Current Usage: Current Size: rz2a 4.2 BSD / ~98 Meg rz2b unused swap1 ~128 rz2g unused Not In Use ~365 rz2h 4.2 BSD /tmp ~409 The CURRENT disklabel looks like: 8 partitions: # size offset fstype [fsize bsize cpg] a: 201533 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 252*) b: 262144 201533 unused 1024 8192 # (Cyl. 252*- 581*) c: 2050860 0 unused 1024 8192 # (Cyl. 0 - 2569) d: 552548 393216 unused 1024 8192 # (Cyl. 492*- 1185*) e: 552548 945764 unused 1024 8192 # (Cyl. 1185*- 1877*) f: 552548 1498312 unused 1024 8192 # (Cyl. 1877*- 2569*) g: 748739 463677 unused 1024 8192 # (Cyl. 581*- 1519*) h: 838444 1212416 4.2BSD 1024 8192 8 # (Cyl. 1519*- 2569*) What I would like to do is this: Since I'm tired of growing my root partition on each upgrade and I have a 365 meg partition not in use on this drive, I would like to divide the drive up to look like this: Partition: File System: Current Usage: Current Size: rz2a 4.2 BSD / ~442 Meg rz2b unused swap1 ~150 rz2h 4.2 BSD /tmp ~409 With a PROPOSED disklabel of: 8 partitions: # size offset fstype [fsize bsize cpg] a: 905216 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 1134*) b: 307200 905216 unused 1024 8192 # (Cyl. 1134*- 1519*) c: 2050860 0 unused 1024 8192 # (Cyl. 0 - 2569) d: 552548 393216 unused 1024 8192 # (Cyl. 492*- 1185*) e: 552548 945764 unused 1024 8192 # (Cyl. 1185*- 1877*) f: 552548 1498312 unused 1024 8192 # (Cyl. 1877*- 2569*) g: 748739 463677 unused 1024 8192 # (Cyl. 581*- 1519*) h: 838444 1212416 4.2BSD 1024 8192 8 # (Cyl. 1519*- 2569*) Now here are the steps I think I need to do to complete the above: 1) Backup the root partition using a command like #vdump 0f /dev/nrmt0h /dev/rz2a 2) Shutdown the system and boot Stand Alone from the ver 3.2 CD-ROM. 3) Do a MAKEDEV for the disk and tape devices. 4) Use disklabel to modify the label to the new specs. 5) newfs /dev/rz2a and fsck /dev/rrz2a 6) mount /dev/rz2a to /mnt then restore the files 7) Halt and restart the system Note: I'm grabbing the specific commands from a Digital Support document titled: "HowTo: Increase Root Partition When Upgrading DUnix" Questions: 1) Does this sound right? 2) Is it possibled to do this without the backup/restore method? (No problem, just looking for a shortcut) 3) Do I need to do anything to the "swap" partition? I've searched through the archives and this seems to be correct, I'm just trying to make sure. Thanks for and and all information, G. Matthew Sweet ---> m_sweet@tec.nh.us Computer Systems Technician New Hampshire Community Technical College System 5 Institute Drive, Concord NH 03301-7400