From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96224706407871.tru64-unix-managers.marc@archive.invalid> From: George Gallen Date: Thu, 29 Jun 2000 02:50:51 +0000 To: tru64-unix-managers Subject: Summary: How do you replace a boot drive? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96224706407871 Basically the consensus was below was appropriate. I also needed to create a swap space on this drive. I increased root from 64mb to 128mb I increased the swap size from 500mb to 1gb I increased /usr from 1gb to 7gb All went well....No problems...at least that I can see. Thanks to all for the replies. George >-----Original Message----- >From: George Gallen [mailto:ggallen@slackinc.com] >Sent: Wednesday, June 28, 2000 3:29 PM >To: 'tru64-unix-managers@ornl.gov' >Subject: How do you replace a boot drive? > > >I want to replace our boot drive (a 2.1gb) with a larger one. Last time >I did this it was with a fresh install, How would you do this >on a system >that isn't being >upgraded by software and keep the /usr and other / related >files intact. > >>>From what I read on the archives: > >a. take one drive out of /etc/fstab (where the new system disk >will reside > while being prepped) and shutdown - put proposed new system disk in > and power up >b. power to single user >c. prepare newdisk filesystems (in one of my other drives >slots for now) >d. here's where I'm not sure, everything I read was for creating an >identicle copy > but I want to go from a 2.1gb to a 9.1gb, so the >filesystems will be much > > larger. Is the following still valid for this: > >1. create a disklabel > >2. create filesystems > >3. mkdir /rz?a ; mount /dev/rz?a /rz?a > mkdir /rz?g ; mount /dev/rz?g /rz?g > mkdir /rz?h ; mount /dev/rz?h /rz?h > >4. dump 0f - / | (cd /rz?a ; restore rf -) > dump 0f - /usr | (cd /rz?g ; restore rf -) > dump 0f - /usr2 | (cd /rz?h ; restore rf -) > >5. umount /rz?a > umount /rz?g > umount /rz?h > >6. shutdown - swap in the new drive replace drive pulled for where > new system disk sat to be prepared and power back up to > fix /etc/fstab to now include the disk taken out and mount it > >7 reboot to clear up anything. > >Does the system drive need any other filesystems? or is a,g,h fine? > >Thanks >George > >George Gallen >Senior Programmer/Analyst >Accounting/Data Division >ggallen@slackinc.com >ph:856.848.1000 Ext 220 > >SLACK Incorporated - An innovative information, education and >management >company >http://www.slackinc.com >