From: Keith Moodie <moodiek@dnr.qld.gov.au>
Subject: Re: Resizing disks
Date: 1999/07/20 [thread overview]
Message-ID: <3793BBA6.41C6@dnr.qld.gov.au> (raw)
In-Reply-To: 37938282.D58E3C2@salud.unm.edu
david minor wrote:
>
> Hi. I'm new to the UNIX admin game and I have what I hope is a
> straightforward question:
>
> This is for an Alpha Server 2100 running DU 3.2c
>
> Our rz0 disk is 1.2 gig in size and nearing capacity. We have a 4 gig
> drive that we would like to replace it with. At the same time we would
> like to resize / from 64 to 128 mb and /usr from 1.7 to 2.5 gig.
>
> What would be the least painful way to do this?
>
Hi, I upgraded from 4.0C to 4.0D about 6 months ago, and at the same
time went from a small disk to a larger one, this is what I did. There
are probably some things that could be done better. This was on a
Personal Workstation 433au.
First good news for you is that there is no need to remove / relabel the
disks in the machine.
Your steps are
1 configure the 4 GB disk
1.1 Make sure there is nothing you want on it.
1.2 (Assuming you are using Common Desktop Environment 'CDE')
Anyone who has experience with 3.2c please check this
Select the application manager
select system admin
select configuration
select disk utility
now select your 4 GB disk and partition it
NB stay with BSD ufs
2 copy old disk to new
Use vdump to copy everything on your old disk to the corresponding
areas on the new disk.
Configure the swap partition on the new disk
3 fix the /etc/fstab file on the new disk
#/dev/rz16b swap1 ufs sw 0 2
#/dev/rz16a / ufs rw 1 1
#/dev/rz16g /usr ufs rw 1 2
/dev/rz16a /root_old ufs rw 1 1
/dev/rz16g /usr_old ufs rw 1 1
/dev/rz18a / ufs rw 1 1
/dev/rz18g /usr ufs rw 1 2
/dev/rz18b swap2 ufs sw 0 2
3 test the new disk
Shutdown your computer.
at the >>> prompt you can BOOT whichever disk you want
check how to do this with HELP BOOT (my machine is up so I cant)
Test the the new disk works OK
Shutdown and change the BOOT disk using a SET command
SET DEFAULT_BOOTDEV or something like that
again check the >>> HELP
NB it is sometimes usefull to have two system disks, even if one is an
older version of the OS. Just make sure you comment out the bits of
fstab for all other disks
eg on your old system disk comment out anything in /etc/fstab that
doesnt refer to the old system disk.
Hope this helps.
--
Keith Moodie,
moodiek@dnr.qld.gov.au
next prev parent reply other threads:[~1999-07-20 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-19 4:00 Resizing disks david minor
1999-07-19 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-07-20 4:00 ` Eric Bennett
1999-07-20 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1999-07-20 4:00 ` Thor Lancelot Simon
1999-07-20 4:00 ` Keith Moodie [this message]
1999-07-25 4:00 ` Nikola Milutinovic
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox