From: john@avante.WPI.EDU (John Stoffel)
Subject: Re: ADVFS: can you addvol partial disks?
Date: 1995/12/22 [thread overview]
Message-ID: <x34tutm2rh.fsf@avante.WPI.EDU> (raw)
In-Reply-To: 4bcs3a$d7i@lynx.unm.edu
>>>>> "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 |
next prev parent reply other threads:[~1995-12-22 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-12-21 5:00 ADVFS: can you addvol partial disks? Cheryl Haaker
1995-12-22 5:00 ` John Stoffel [this message]
1995-12-22 5:00 ` dave
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