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: "garden gnome" Subject: Re: Best method to resize ADVFS root and /usr partitions on Tru64 4.0F? Date: 2000/10/19 Message-ID: #1/1 X-Deja-AN: 683604412 References: <8skoc6$fmf$1@mailint03.im.hou.compaq.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 X-Trace: news20.bellglobal.com 971999625 64.229.43.223 (Thu, 19 Oct 2000 19:53:45 EDT) Organization: Sympatico X-MSMail-Priority: Normal NNTP-Posting-Date: Thu, 19 Oct 2000 19:53:45 EDT Newsgroups: comp.sys.dec Thanks. We executed this procedure on our AlphaServer GS60 last night and it worked perfectly. Now our advfs system disk partitions are resized properly. LKH "Alan Rollow - Dr. File System's Home for Wayward Inodes." wrote in message news:8skoc6$fmf$1@mailint03.im.hou.compaq.com... > > 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 >