Summary: How do you replace a boot drive?

From: George Gallen <ggallen_at_slackinc.com>
Date: Wed, 28 Jun 2000 22:50:51 -0400

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_at_slackinc.com]
>Sent: Wednesday, June 28, 2000 3:29 PM
>To: 'tru64-unix-managers_at_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_at_slackinc.com
>ph:856.848.1000 Ext 220
>
>SLACK Incorporated - An innovative information, education and
>management
>company
>http://www.slackinc.com
>
Received on Thu Jun 29 2000 - 02:51:57 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT