* Volume management?
@ 1997-04-25 4:00 Todd Graham Lewis
1997-04-26 4:00 ` Stephen Stuart
0 siblings, 1 reply; 6+ messages in thread
From: Todd Graham Lewis @ 1997-04-25 4:00 UTC (permalink / raw)
Does anyone know of any good papers on DEC's website concerning advfs?
I'm interested in how to set up dynamically-extensible volumes (throw in a
2GB disk, add it to the logical device, have 2GB additional on that
device, take disks out & shrink it, etc.)
Names of man pages are equally welcome. TIA.
--
Todd Graham Lewis Linux! Core Engineering
MindSpring Enterprises tlewis@mindspring.com (800) 719 4664, x2804
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Volume management?
1997-04-25 4:00 Volume management? Todd Graham Lewis
@ 1997-04-26 4:00 ` Stephen Stuart
1997-04-30 4:00 ` Robert Lowe
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Stuart @ 1997-04-26 4:00 UTC (permalink / raw)
Todd Graham Lewis (tlewis@mindspring.com) wrote:
: Does anyone know of any good papers on DEC's website concerning advfs?
: I'm interested in how to set up dynamically-extensible volumes (throw in a
: 2GB disk, add it to the logical device, have 2GB additional on that
: device, take disks out & shrink it, etc.)
The utilities you'll find yourself using to do that are:
mkfdmn - make a file domain from a physical disk partition
mkfset - make a fileset (mountable entity) within a file domain
addvol - add a physical disk partition to an existing file domain
balance - evenly distribute disk usage among physical disk partitions
of a file domain
defragment - defragment files in a file domain
rmvol - remove a physical disk partition from a file domain
rmfdmn - remove a file domain completely
: Names of man pages are equally welcome. TIA.
"man advfs" has lots of stuff, including the complete summary of advfs
related entities and commands that operate on those entities.
Stephen
--
- -----
Stephen Stuart stuart@pa.dec.com
Network Systems Laboratory
Digital Equipment Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Volume management?
1997-04-26 4:00 ` Stephen Stuart
@ 1997-04-30 4:00 ` Robert Lowe
1997-05-01 4:00 ` Stephen Stuart
0 siblings, 1 reply; 6+ messages in thread
From: Robert Lowe @ 1997-04-30 4:00 UTC (permalink / raw)
Stephen Stuart wrote:
>
> Todd Graham Lewis (tlewis@mindspring.com) wrote:
>
> : Does anyone know of any good papers on DEC's website concerning advfs?
> : I'm interested in how to set up dynamically-extensible volumes (throw in a
> : 2GB disk, add it to the logical device, have 2GB additional on that
> : device, take disks out & shrink it, etc.)
>
> The utilities you'll find yourself using to do that are:
>
<snip>
I'll be very interested in doing similar things soon, but I have a
couple of questions. If you have a multi-volume advfs domain, and one
volume fails, the entire domain is unusable, correct? Then it seems
wisest to combine advfs with some form of RAID, e.g. hardware or
software (is this what LSM does?). I'm not [yet] completely familiar
with these setups, but adding to a RAID set still means that you would
have to backup your data, format the bigger RAID set, and restore your
data, right? So how does one easily add storage to an advfs domain and
retain data redundancy?
TIA,
Robert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Volume management?
1997-04-30 4:00 ` Robert Lowe
@ 1997-05-01 4:00 ` Stephen Stuart
1997-05-01 4:00 ` Robert Lowe
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Stuart @ 1997-05-01 4:00 UTC (permalink / raw)
Robert Lowe (Robert.H.Lowe@lawrence.edu) wrote:
: I'll be very interested in doing similar things soon, but I have a
: couple of questions. If you have a multi-volume advfs domain, and one
: volume fails, the entire domain is unusable, correct? Then it seems
: wisest to combine advfs with some form of RAID, e.g. hardware or
: software (is this what LSM does?). I'm not [yet] completely familiar
: with these setups, but adding to a RAID set still means that you would
: have to backup your data, format the bigger RAID set, and restore your
: data, right? So how does one easily add storage to an advfs domain and
: retain data redundancy?
For critical systems we use advfs on top of RAID; our RAID systems
allow new ranks of disks to be added and formatted on the fly, and
then advfs allows that rank to be added to a file domain on the
fly. We use RAID level 5, so the file domain is usable in the event of
a single disk failure.
gatekeeper.dec.com's archive, for instance, is handled this way:
% showfdmn -k aleph
Id Date Created LogPgs Domain Name
2ecd7d1f.0006e3f4 Fri Nov 18 20:20:47 1994 512 aleph
Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name
1 20939950 8901136 57% on 128 128 /dev/rza48c
2 20939950 8949448 57% on 128 128 /dev/rzb48c
6L 20938700 8957448 57% on 128 128 /dev/rza49c
7 20939950 8970920 57% on 128 128 /dev/rzb49c
---------- ---------- ------
83758550 35778952 57%
Each volume is a RAID level 5 rank of RZ29B (4GB) disks, for six disks
we get five worth of space; two ranks are on one RAID controller, two
on another.
It is true that the loss of a volume makes an advfs file domain
unusable; there's still no substitute for good backups, and RAID is
still the right choice for high availability. Both of those facts are
true independent of whether you choose UFS or advfs. We choose advfs
just about everywhere - news spools being the one exception.
Stephen
--
- -----
Stephen Stuart stuart@pa.dec.com
Network Systems Laboratory
Digital Equipment Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Volume management?
1997-05-01 4:00 ` Stephen Stuart
@ 1997-05-01 4:00 ` Robert Lowe
1997-05-02 4:00 ` Stephen Stuart
0 siblings, 1 reply; 6+ messages in thread
From: Robert Lowe @ 1997-05-01 4:00 UTC (permalink / raw)
Stephen Stuart wrote:
>
> For critical systems we use advfs on top of RAID; our RAID systems
> allow new ranks of disks to be added and formatted on the fly, and
> then advfs allows that rank to be added to a file domain on the
> fly. We use RAID level 5, so the file domain is usable in the event of
> a single disk failure.
[snip]
Okay, using the PAF utilities so you can add another RAID 5 set
(volume), but changing the size of a RAID 5 set will mean backup and
restore. Since I'm looking at a KZPSC-BA (or the newer KZPAC-BA), I'll
probably stick with three-volume RAID 5 sets so I can spread the load
equally across the three available SCSI channels. As I add multiple
RAID 5 sets aka volumes to the advfs domain, the risk of failure for the
domain is only minimally changed, since it still means that at least two
volumes in the same RAID 5 set would have to fail at the same time. I
don't have a description of the PAF utilities 'balance' command. Can it
spread the load across more than just two volumes? It looked like it
could from the example you showed. Once you do that, does it
automagically retain that balance? If so, hats off!!!
Also, when would it make sense to have multiple filesets within a
domain, since it would seem to result in some contention, or are there
some on-disk structures that map which extents belong to which fileset,
and writes are simply spread out in the most efficient way?
TIA,
Robert
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Volume management?
1997-05-01 4:00 ` Robert Lowe
@ 1997-05-02 4:00 ` Stephen Stuart
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Stuart @ 1997-05-02 4:00 UTC (permalink / raw)
Robert Lowe (Robert.H.Lowe@lawrence.no.spam.edu) wrote:
: [...] I
: don't have a description of the PAF utilities 'balance' command. Can it
: spread the load across more than just two volumes? It looked like it
: could from the example you showed. Once you do that, does it
: automagically retain that balance? If so, hats off!!!
Yes, balance works across as many volumes as you have. The balance is
not retained; normal use will throw the file domain out of balance,
and cause it to become fragmented. We run defragment and balance out
of crontab, at intervals ranging from nightly to weekly, to maintain
our advfs filesystems.
: Also, when would it make sense to have multiple filesets within a
: domain, since it would seem to result in some contention, or are there
: some on-disk structures that map which extents belong to which fileset,
: and writes are simply spread out in the most efficient way?
You'd have to either consult the documentation to be sure. We think of
a file domain as a container for filesets that share the same
properties. We always separate /var from /usr, so the "/usr" file
domain is shared by filesets that are relatively read-only, while the
"/var" file domain is shared by filesets that are more volatile.
We defragment and balance nightly on most hosts; the file domain that
holds /usr never takes very long (because its relatively unchanged
since the previous).
Stephen
- -----
Stephen Stuart stuart@pa.dec.com
Network Systems Laboratory
Digital Equipment Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-05-02 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-25 4:00 Volume management? Todd Graham Lewis
1997-04-26 4:00 ` Stephen Stuart
1997-04-30 4:00 ` Robert Lowe
1997-05-01 4:00 ` Stephen Stuart
1997-05-01 4:00 ` Robert Lowe
1997-05-02 4:00 ` Stephen Stuart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox