* ADVFS: can you addvol partial disks?
@ 1995-12-21 5:00 Cheryl Haaker
1995-12-22 5:00 ` dave
1995-12-22 5:00 ` John Stoffel
0 siblings, 2 replies; 3+ messages in thread
From: Cheryl Haaker @ 1995-12-21 5:00 UTC (permalink / raw)
I'm a unix novice managing an OSF 3.2C Alpha system (sorry).
All of the filesystems are AdvFS, and we have just installed the AdvFS
utilities. One goal of doing this was to be able to increase the size of our
existing partitions dynamically.
We recently added a 4GB disk, and were of the opinion that we could
use partitions of it to increase the size of the /var domain and some
of the special /usr/<insert user group name> partitions, and add another
swap partition. We assumed we could get a lot of milage out of 4 Gigs,
and by using AdvFS, could avoid having to back up, repartition, then
restore the entire system.
But the AdvFS documentation, such as it is, emphasizes that you should
only add in FULL DISKS when you addvol, and all of the examples use
the full c partition!!
Is Digital serious? Am I stuck with having to rearrange (nearly)
everything we have on all the other several disks, in order to use
the new disk? I don't want to risk breaking anything by adding in
a non-whole partition of the new disk, but I'd also like to avoid
having to do huge vdumps and vrestores, too. The users (about 2000
teachers and students) will probably appreciate it, too.
Thanks for any advice you can offer. I'm continuing to RTFM...
/\_/\ ___ cheryl haaker@technet.nm.org (505-345-6555)
= o_o =_______ \ \ "The jawbone of an ass is just as dangerous
__^ __( \.__) ) a weapon today as it was in Samson's time."
(@)<_____>__(_____)____/ - Richard M. Nixon
original graphic from Julie Rhodes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ADVFS: can you addvol partial disks?
1995-12-21 5:00 ADVFS: can you addvol partial disks? Cheryl Haaker
1995-12-22 5:00 ` dave
@ 1995-12-22 5:00 ` John Stoffel
1 sibling, 0 replies; 3+ messages in thread
From: John Stoffel @ 1995-12-22 5:00 UTC (permalink / raw)
>>>>> "Cheryl" == Cheryl Haaker <haaker@technet.nm.org> writes:
In article <4bcs3a$d7i@lynx.unm.edu> haaker@technet.nm.org (Cheryl Haaker) writes:
Cheryl> We recently added a 4GB disk, and were of the opinion that we
Cheryl> could use partitions of it to increase the size of the /var
Cheryl> domain and some of the special /usr/<insert user group name>
Cheryl> partitions, and add another swap partition. We assumed we
Cheryl> could get a lot of milage out of 4 Gigs, and by using AdvFS,
Cheryl> could avoid having to back up, repartition, then restore the
Cheryl> entire system.
Cheryl> But the AdvFS documentation, such as it is, emphasizes that
Cheryl> you should only add in FULL DISKS when you addvol, and all of
Cheryl> the examples use the full c partition!!
They emphasize using only full partitions for performance reasons.
You can use addvol to add any partition on a disk to an existing
domain without problems. Now one way you can get around having to
dump, repartition and restore is to use the Advfs utilities to add and
delete volumes from a domain. This lets you migrate info from one
disk to another fairly easily.
In your case, what I would do is use disklabel to make some new
partitions on the 4Gb disk for some of the /usr paritions you wanted
to expand. The partition should be the total size you want it hold.
Say you have /usr/foo which is 500Mb and you want it to be 1Gb, and
it's current parition is rz0h and the new disk is rz1x. You could do:
disklabel -e rz1
[ create a 1Gb partition at 'd' ]
addvol /dev/rz1d domain_foo
rmvol /dev/rz0g domain_foo
You've now moved /usr/foo to another disk and increased it's size, all
without bothering your users or any downtime. Of course the rmvol
command will take a while to run as it moves the data over, plus your
system will be taking a performance hit during this time, so it's
probably best to do this late at night.
Now that you have more room on rz0, you can expand /var by either
addvol'ing a new partition to it's current domain, or simply using the
sae technique as above to move it to a bigger partition.
John
John F. Stoffel | Kill your television.
john@wpi.edu |
College Computer Center |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ADVFS: can you addvol partial disks?
1995-12-21 5:00 ADVFS: can you addvol partial disks? Cheryl Haaker
@ 1995-12-22 5:00 ` dave
1995-12-22 5:00 ` John Stoffel
1 sibling, 0 replies; 3+ messages in thread
From: dave @ 1995-12-22 5:00 UTC (permalink / raw)
In article <4bcs3a$d7i@lynx.unm.edu>, haaker@technet.nm.org (Cheryl Haaker) writes:
|>We recently added a 4GB disk, and were of the opinion that we could
|>use partitions of it to increase the size of the /var domain and some
|>of the special /usr/<insert user group name> partitions, and add another
|>swap partition. We assumed we could get a lot of milage out of 4 Gigs,
|>and by using AdvFS, could avoid having to back up, repartition, then
|>restore the entire system.
I, personally, do this type of thing all the time.
I am even worse about it. I will add a partition with addvol,
and then remove the original partition, swap in a new drive,
do the addvol to add it back in, and remove the one I added first,
never shutting the system down.
I use dxadvfs, as I dont want to bother remembering all the commands.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-12-22 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-21 5:00 ADVFS: can you addvol partial disks? Cheryl Haaker
1995-12-22 5:00 ` dave
1995-12-22 5:00 ` John Stoffel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox