From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e549be5f3dc86149 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-01-03 11:03:49 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: rnturn@baxter.com (Rick Turner) Newsgroups: comp.unix.tru64 Subject: Re: Tru64 4.0f hard drive question Date: 3 Jan 2002 11:03:49 -0800 Organization: http://groups.google.com/ Message-ID: <9697b9e2.0201031103.343367c9@posting.google.com> References: <5bd95ea9.0112130623.3f7db87e@posting.google.com> NNTP-Posting-Host: 65.204.251.236 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1010084629 27070 127.0.0.1 (3 Jan 2002 19:03:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Jan 2002 19:03:49 GMT Xref: archiver1.google.com comp.unix.tru64:6346 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