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 12:42:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!hub1.nntpserver.com!btnet-peer0!btnet!news5-gui.server.ntli.net!ntli.net!news2-win.server.ntlworld.com.POSTED!not-for-mail From: Big H Newsgroups: comp.unix.tru64 Subject: Re: Tru64 4.0f hard drive question Message-ID: References: <5bd95ea9.0112130623.3f7db87e@posting.google.com> <9697b9e2.0201031103.343367c9@posting.google.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 03 Jan 2002 20:37:49 +0000 NNTP-Posting-Host: 80.1.10.116 X-Complaints-To: abuse@virgin.net X-Trace: news2-win.server.ntlworld.com 1010090271 80.1.10.116 (Thu, 03 Jan 2002 20:37:51 GMT) NNTP-Posting-Date: Thu, 03 Jan 2002 20:37:51 GMT Organization: Virgin Net Usenet Service Xref: archiver1.google.com comp.unix.tru64:6347 If I were you I would try and use the advanced file system (advfs). Once you are using this you can add additional partitions into the file systems (except for the root partition which must consist of a single disk partition) This is a link to the appendix of the advfs online documentation which provides an example of creating an advfs file system on a second disk and copying from the original disk. http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/HTML/ADVFS_html/figures/admin-appb.html#TofC1710 Big H. On 3 Jan 2002 11:03:49 -0800, rnturn@baxter.com (Rick Turner) wrote: >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