tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* How do you replace a boot drive?
@ 2000-06-28 19:28 George Gallen
  0 siblings, 0 replies; only message in thread
From: George Gallen @ 2000-06-28 19:28 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-28 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-28 19:28 How do you replace a boot drive? George Gallen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox