From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,82121ad12e37b4c8 X-Google-Attributes: gid1164f8,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Best method to resize ADVFS root and /usr partitions on Tru64 4.0F? Date: 2000/10/18 Message-ID: <8skoc6$fmf$1@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 682982332 Distribution: world References: X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 971891910 16079 16.82.16.67 (18 Oct 2000 17:58:30 GMT) Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Date: 18 Oct 2000 17:58:30 GMT Newsgroups: comp.sys.dec In article , "garden gnome" writes: >Just a quick ADVFS question: We have an AlphaServer with 2x 4GB local >system disks, one the production, and the other a warm 'standby' with a >nightly backup image on it. > >We need to resize the partitions for root and /usr as they are not practical >at this time. There are a number of ways to do this but what is the fastest >and least risky? Here is what we plan to do, but I must ensure we can BOOT >from the new disk: > >- make backup of root and /usr to tape for contingency purposes This shouldn't be a special step, but something you do on a regular basis. Then you would simply write it as "verify the system disk backup is current". >- disklabel -w, and -e the 2nd disk and size new partitions accordingly You need to use the "-t advfs" option on the disklable command to get it to write the AdvFS boot block instead of the UFS boot block. >- shutdown unix to single user mode >- vdump ... - | vestore ... for each of root and /usr from the original to >the 2nd (new) system disk Looks good. >- sync and halt the system, and physically SWAP the 2 disks, so the 2nd >system disk becomes the boot disk, and the original is now a spare. >Original boot disk physical disk name is consistent. What version are you running? On V4 this will work. V5 has a better memory for where devices were and swapping them around takes more work than it used to. >- Question: Will the system boot from the 2nd, resized system disk? What >other tasks need to be done? /etc/fdmns should be ok, fstab can be left >alone, but what about booting and the disklabel? Overall, this is probably the best method. Once you've made the old 2nd disk the new system, you can repeat to ensure the old system disk has a good backup. If the intent is to physically swap the disks to bring up the backup, then you don't need to worry about device links. If you want to boot the backup disk in place, you'll have to fix those. > >LKH > -- Alan Rollow alan@nabeth.cxo.dec.com