> I have received an Alpha 20 running Tru64 4.0f
> I look at the disk configuration and I have two drives
> one of which is partitioned and the other isn't partitioned yet.
> FIRST question - I would like to increase the partition sizes on the
> first drive - too small and I have room to grow. Can this be done
> dynamically or do I have to install the OS again
It shouldn't be necessary to totally reinstall the OS on the second
drive. Let's assume that the second disk is large enough to hold the
partitions that you want. You should be able to create partitions on
the second drive and copy the contents of the current boot drive onto
it. Just make sure you use the options of the disklabel command to
copy the correct bootblocks onto the second drive (disklabel -t
whatever ...) or it won't boot. At the console prompt you can force
the system to boot from the second drive. Don't forget to modify
/sbin/swapdefault (if you're using conservative swapping). There may
be other things that would need to be tweaked to use the new device
name as well; depends on your apps, etc. If everything works you can
set the second drive to be the default boot device or physically swap
the drives (i.e., make rz1 -> rz0. We keep an unused drive in the
system just for upgrades -- duping the current boot device onto it
before the upgrade. Makes it easy to fall back (just in case) and
tons faster than restoring from tape (though we make a backup onto
magtape as well).
If the second drive isn't big enough to hold the size of partitions
that you want then you're stuck with resizing partitions on the
current boot device. You're looking at a backup to tape of each
partition, booting from CD-ROM, editing the disklabel, and restoring
from tape. Section 9.7 of the 4.0F Installation Guide (paperback
version anyway) and the disklabel manpage would be a good place to
start if you decide to go this route.
Quote:> SECOND question - assuming I like how the partitions are set on the
> first drive - is there a way to "mirror" the two drives so the second
> drive can be - for lack of a better term - a hot spare? I was thinking
> of running dd for each partition nightly - comments suggestions? Don't
> want to buy third party software like Veritas FS.
You can use LSM for mirroring but you'll need a license to use the
mirroring features. According to the LSM manual the license is needed
for ``mirroring, striping, and the Visual Administrator...''. I've
been moving toward getting LSM off our systems so I'm not sure what
good it's for if you're not going to be doing striping or mirroring.