From: rnturn@baxter.com (Rick Turner)
Subject: Re: Tru64 4.0f hard drive question
Date: 3 Jan 2002 11:03:49 -0800 [thread overview]
Message-ID: <9697b9e2.0201031103.343367c9@posting.google.com> (raw)
In-Reply-To: 5bd95ea9.0112130623.3f7db87e@posting.google.com
klukp@labs.wyeth.com (Paul Kluk) wrote in message news:<5bd95ea9.0112130623.3f7db87e@posting.google.com>...
> 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.
> 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.
:-)
> Thanks
next prev parent reply other threads:[~2002-01-03 19:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-13 14:23 Tru64 4.0f hard drive question Paul Kluk
2001-12-20 13:57 ` Joerg-Uwe Tessmer
2001-12-21 0:52 ` Ray
2001-12-21 6:20 ` Vaughn Clinton
2002-01-03 19:03 ` Rick Turner [this message]
2002-01-03 20:37 ` Big H
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