* Best method to resize ADVFS root and /usr partitions on Tru64 4.0F?
@ 2000-10-18 4:47 garden gnome
2000-10-18 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 3+ messages in thread
From: garden gnome @ 2000-10-18 4:47 UTC (permalink / raw)
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
- disklabel -w, and -e the 2nd disk and size new partitions accordingly
- shutdown unix to single user mode
- vdump ... - | vestore ... for each of root and /usr from the original to
the 2nd (new) system disk
- 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.
- 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?
LKH
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Best method to resize ADVFS root and /usr partitions on Tru64 4.0F?
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.
2000-10-19 4:00 ` garden gnome
0 siblings, 1 reply; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2000-10-18 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Best method to resize ADVFS root and /usr partitions on Tru64 4.0F?
2000-10-18 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2000-10-19 4:00 ` garden gnome
0 siblings, 0 replies; 3+ messages in thread
From: garden gnome @ 2000-10-19 4:00 UTC (permalink / raw)
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."
<alan@nabeth.cxo.dec.com> wrote in message
news:8skoc6$fmf$1@mailint03.im.hou.compaq.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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-10-19 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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.
2000-10-19 4:00 ` garden gnome
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox