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 [thread overview]
Message-ID: <8skoc6$fmf$1@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: bX9H5.346450$Gh.10351423@news20.bellglobal.com
In article <bX9H5.346450$Gh.10351423@news20.bellglobal.com>, "garden gnome" <gnome@garden.com> 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
next prev parent reply other threads:[~2000-10-18 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-18 4:47 Best method to resize ADVFS root and /usr partitions on Tru64 4.0F? garden gnome
2000-10-18 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
2000-10-19 4:00 ` garden gnome
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