* AdvFS @ 2001-03-19 20:35 Tony 2001-03-20 15:17 ` AdvFS Marble Head 0 siblings, 1 reply; 7+ messages in thread From: Tony @ 2001-03-19 20:35 UTC (permalink / raw) Does anyone have a good basic disk configuration using a 4GB hard drive, 4 partitions, for use as Root disk with v4.0g and Advfs? tia Tony ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AdvFS 2001-03-19 20:35 AdvFS Tony @ 2001-03-20 15:17 ` Marble Head 0 siblings, 0 replies; 7+ messages in thread From: Marble Head @ 2001-03-20 15:17 UTC (permalink / raw) "Tony" <tp@fastdial.net> wrote in <3ab66c9e$1@newsfeed.vitts.com>: >Does anyone have a good basic disk configuration using a 4GB hard drive, 4 >partitions, >for use as Root disk with v4.0g and Advfs? > Are you asking for a suggestion about how you should partition your drive? I, for one, don't understand your question. ^ permalink raw reply [flat|nested] 7+ messages in thread
* AdvFS @ 2000-11-07 1:20 tru64man 2000-11-07 7:33 ` AdvFS Kjell Andresen 2000-11-17 5:00 ` AdvFS Jack Patteeuw 0 siblings, 2 replies; 7+ messages in thread From: tru64man @ 2000-11-07 1:20 UTC (permalink / raw) Needs a little help please. I'm starting to dabble with AdvFS and I'm a little confused. Can someone give me analogy or brief explanation of a fileset and filedomain in a tru64 system that is using AdvFS? thanks, Tru64man Sent via Deja.com http://www.deja.com/ Before you buy. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AdvFS 2000-11-07 1:20 AdvFS tru64man @ 2000-11-07 7:33 ` Kjell Andresen 2000-11-07 5:00 ` AdvFS Tim Mooney 2000-11-17 5:00 ` AdvFS Jack Patteeuw 1 sibling, 1 reply; 7+ messages in thread From: Kjell Andresen @ 2000-11-07 7:33 UTC (permalink / raw) tru64man@my-deja.com writes: > Needs a little help please. I'm starting to dabble with AdvFS and I'm a > little confused. <URL:http://www.tru64unix.compaq.com/faqs/publications/base_doc/DOCUMENTATION/HTML/ADVFS_html/advfs_admin_guide.html> > Can someone give me analogy or brief explanation of a fileset and > filedomain in a tru64 system that is using AdvFS? Domain = collection of physical volumes Fileset = logical disk of a domain, mountable > Tru64man G. Kjell ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AdvFS 2000-11-07 7:33 ` AdvFS Kjell Andresen @ 2000-11-07 5:00 ` Tim Mooney 2000-11-09 2:52 ` AdvFS tru64man 0 siblings, 1 reply; 7+ messages in thread From: Tim Mooney @ 2000-11-07 5:00 UTC (permalink / raw) In article <u8ny9yw2q3v.fsf@beta.uio.no>, Kjell Andresen <kjell@usit.uio.no> wrote: > tru64man@my-deja.com writes: > > > Can someone give me analogy or brief explanation of a fileset and > > filedomain in a tru64 system that is using AdvFS? > > Domain = collection of physical volumes > Fileset = logical disk of a domain, mountable Kjell's synopsis is pretty good, but here's a little more info. Having worked with logical volumes on AIX and with Veritas first, AdvFS confused me at first too. With traditional LV setups, you often have two "objects": Volume Group(s): collection of one or more physical storage devices, which form a "pool of available space". Logical Volume(s): a fixed-size (but often growable/shrinkable) logical chunk of storage. You generally treat this just like you would a disk partition on a "traditional" UNIX system. Most of the time you put a filesystem on top of the logical volume, but you could use the LV as a "raw" volume for things like databases. Generally, when a logical volume is created, it occupies a fixed set of physical sectors on one or more disks within the volume group, sort of like how a disk partition on a traditional UNIX system occupies a set of physical sectors all its own. With a logical volume the sectors need not be contiguous, and may span (concatenate) multiple physical disks. With AdvFS, you also have two "objects": Domains: collection of one or more physical storage devices, which form a "pool of available space". Very much like volume groups in "traditional" LV. Filesets: a logical device that is, for want of a better word, a "handle" into some amount of storage that comes from the domain it is associated with. Unlike traditional logical volumes, a fileset is not "sized", so it immediately has access to all free space within the domain. If you have two or more filesets in one domain, those filesets are (by default) sharing/fighting for all available space in the domain. With traditional LV, if you have a volume group (foovg) that contains a single 4 Gig disk and you create two 1 gig logical volumes (lv1, lv2) from space in that volume group, either volume could be filled without the other one being affected (since the volumes were sized when created). If you try to write 1.2 Gig of data to either volume, you know with 100% certainty that it will fail because there just isn't that much space available, since the volumes have a fixed size that's smaller than the write you tried. With AdvFS, if you have a file domain (foo) that contains a single 4 Gig disk and you create two filesets (fs1, fs2) within that domain, then: - filling either fileset means that the other one is "full" too, since the volumes are sharing/fighting for the space available in the domain (4 Gig, modulo AdvFS overhead). - attempting to write 1.2 Gig of data to either fileset may or may not work, depending on how much free space is available in the domain itself. - since all the space is shared between all the filesets, no fileset has a particular set of physical disk sectors that it owns. Data for any fileset can be anywhere in the domain. With AdvFS, you can limit how much space a particular fileset will use only by establishing an advfs quota for that fileset. In this way, you can prevent one fileset from gobbling up all the space in a particular AdvFS domain. Note that since Tru64 comes with LSM (a port of Veritas VxVM, a traditional logical volume system), you may have both a traditional LVM as well as AdvFS in use on your system, possibly even together (AdvFS on top of LSM, which we use quite a bit). Things can get pretty messy, e.g. You create an LSM volume group "spacevg", which (initially) consists of dsk16c dsk17c dsk18c each a 9 Gig disk. An LSM volume of ~ 27 Gig (all available space in the group) called "space-01" is then created. It's a known/fixed size, but that size can later be grown/shrunk as long as - there's space available to grow it (in this example there is not unless more disks are added to that LSM vg) - if there's something residing on top of the logical volume, whatever that something is needs to know how to grow/shrink too! For example, prior to Tru64 5.1, putting a UFS filesysetm on top of an LSM volume meant that although you could technically grow the volume, UFS didn't know how to grow, so there wasn't any additional space available to it. 5.1 changes this. I've never even tried shrinking a volume, but most things don't react well to this. Now that we have a "space-01", we can create an AdvFS domain "space" on top of it. We can then create filesets "foo", "bar", and "baz" within that AdvFS domain. The domain has approximately 27 Gig of space available (modulo space used up first by LSM for its bookkeeping, then space used by AdvFS for its bookkeeping), all of which is immediately useable by any one of the three AdvFS filesets. Now let's say that you need another 27 Gig of space in your "space" AdvFS domain. You buy 3 more 9 Gig disks, disks dsk19c through dsk21c. Your first thought might be to add those three disks to the LSM vg "spacevg", so it contains dsk16c dsk17c dsk18c dsk19c dsk20c dsk21c and then grow "space-01" to be 54 Gig in size, expanding the existing logical volume to fill the additional available physical space. This won't work, though, because AdvFS doesn't know how to handle having one of its storage devices (which may be physical or in this case logical) change in size. What you *can* do, however, is to make use of the fact that AdvFS allows you to add additional storage devices to an existing domain. This means that instead of growing the underlying LSM lv onto the 3 new disks, you should instead create a new logical volume. You might put those three disks (19c - 21c) in the LSM vg "spacevg", or you might put them in some other LSM vg ("spacevg2", for example). You then create a new LSM logical volume, which I'll call "space02-01", which is fixed size, ~ 27 Gig, and occupies all space on dsk19c - dsk21c. You can use the AdvFS "addvol" command to add the new 27 Gig logical volume to the "space" AdvFs domain, and suddenly there is 54 Gig available in that domain. That's the basics. Does your head hurt yet? ;-) I haven't even touched on the cool features of AdvFS, such as data migration via addvol/rmvol and fileset snapshots via "clonefset". Hope this helps, Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AdvFS 2000-11-07 5:00 ` AdvFS Tim Mooney @ 2000-11-09 2:52 ` tru64man 0 siblings, 0 replies; 7+ messages in thread From: tru64man @ 2000-11-09 2:52 UTC (permalink / raw) thank you for clarifying Tim, :-) In article <8ua1p4$7a4$1@news.ndsu.nodak.edu>, mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) wrote: > In article <u8ny9yw2q3v.fsf@beta.uio.no>, > Kjell Andresen <kjell@usit.uio.no> wrote: > > tru64man@my-deja.com writes: > > > > > Can someone give me analogy or brief explanation of a fileset and > > > filedomain in a tru64 system that is using AdvFS? > > > > Domain = collection of physical volumes > > Fileset = logical disk of a domain, mountable > > Kjell's synopsis is pretty good, but here's a little more info. Having > worked with logical volumes on AIX and with Veritas first, AdvFS confused > me at first too. > > With traditional LV setups, you often have two "objects": > > Volume Group(s): collection of one or more physical storage devices, > which form a "pool of available space". > > Logical Volume(s): a fixed-size (but often growable/shrinkable) logical > chunk of storage. You generally treat this just like you would a > disk partition on a "traditional" UNIX system. Most of the time you > put a filesystem on top of the logical volume, but you could use the > LV as a "raw" volume for things like databases. > > Generally, when a logical volume is created, it occupies a fixed set of > physical sectors on one or more disks within the volume group, sort of > like how a disk partition on a traditional UNIX system occupies a > set of physical sectors all its own. With a logical volume the sectors > need not be contiguous, and may span (concatenate) multiple physical > disks. > > With AdvFS, you also have two "objects": > > Domains: collection of one or more physical storage devices, which > form a "pool of available space". Very much like volume groups in > "traditional" LV. > > Filesets: a logical device that is, for want of a better word, a > "handle" into some amount of storage that comes from the domain it > is associated with. Unlike traditional logical volumes, a fileset is > not "sized", so it immediately has access to all free space within > the domain. > > If you have two or more filesets in one domain, those filesets are > (by default) sharing/fighting for all available space in the domain. > > With traditional LV, if you have a volume group (foovg) that contains > a single 4 Gig disk and you create two 1 gig logical volumes (lv1, lv2) > from space in that volume group, either volume could be filled without > the other one being affected (since the volumes were sized when created). > If you try to write 1.2 Gig of data to either volume, you know with > 100% certainty that it will fail because there just isn't that much space > available, since the volumes have a fixed size that's smaller than the > write you tried. > > With AdvFS, if you have a file domain (foo) that contains a single 4 Gig > disk and you create two filesets (fs1, fs2) within that domain, then: > > - filling either fileset means that the other one is "full" too, > since the volumes are sharing/fighting for the space available in > the domain (4 Gig, modulo AdvFS overhead). > > - attempting to write 1.2 Gig of data to either fileset may or may > not work, depending on how much free space is available in the > domain itself. > > - since all the space is shared between all the filesets, no fileset > has a particular set of physical disk sectors that it owns. Data > for any fileset can be anywhere in the domain. > > With AdvFS, you can limit how much space a particular fileset will > use only by establishing an advfs quota for that fileset. In this > way, you can prevent one fileset from gobbling up all the space in a > particular AdvFS domain. > > Note that since Tru64 comes with LSM (a port of Veritas VxVM, a > traditional logical volume system), you may have both a traditional > LVM as well as AdvFS in use on your system, possibly even together > (AdvFS on top of LSM, which we use quite a bit). Things can get pretty > messy, e.g. > > You create an LSM volume group "spacevg", which (initially) consists > of > > dsk16c > dsk17c > dsk18c > > each a 9 Gig disk. An LSM volume of ~ 27 Gig (all available space in > the group) called "space-01" is then created. It's a known/fixed size, > but that size can later be grown/shrunk as long as > > - there's space available to grow it (in this example there is > not unless more disks are added to that LSM vg) > > - if there's something residing on top of the logical volume, > whatever that something is needs to know how to grow/shrink > too! For example, prior to Tru64 5.1, putting a UFS filesysetm > on top of an LSM volume meant that although you could technically > grow the volume, UFS didn't know how to grow, so there wasn't > any additional space available to it. 5.1 changes this. I've > never even tried shrinking a volume, but most things don't > react well to this. > > Now that we have a "space-01", we can create an AdvFS domain "space" > on top of it. > > We can then create filesets "foo", "bar", and "baz" within that AdvFS > domain. The domain has approximately 27 Gig of space available (modulo > space used up first by LSM for its bookkeeping, then space used by > AdvFS for its bookkeeping), all of which is immediately useable by > any one of the three AdvFS filesets. > > Now let's say that you need another 27 Gig of space in your "space" > AdvFS domain. You buy 3 more 9 Gig disks, disks dsk19c through dsk21c. > Your first thought might be to add those three disks to the LSM vg > "spacevg", so it contains > > dsk16c > dsk17c > dsk18c > dsk19c > dsk20c > dsk21c > > and then grow "space-01" to be 54 Gig in size, expanding the existing > logical volume to fill the additional available physical space. This > won't work, though, because AdvFS doesn't know how to handle having > one of its storage devices (which may be physical or in this case logical) > change in size. > > What you *can* do, however, is to make use of the fact that AdvFS allows > you to add additional storage devices to an existing domain. This means > that instead of growing the underlying LSM lv onto the 3 new disks, you > should instead create a new logical volume. You might put those three > disks (19c - 21c) in the LSM vg "spacevg", or you might put them in some > other LSM vg ("spacevg2", for example). > > You then create a new LSM logical volume, which I'll call "space02- 01", > which is fixed size, ~ 27 Gig, and occupies all space on dsk19c - dsk21c. > You can use the AdvFS "addvol" command to add the new 27 Gig logical > volume to the "space" AdvFs domain, and suddenly there is 54 Gig available > in that domain. > > That's the basics. Does your head hurt yet? ;-) I haven't even touched > on the cool features of AdvFS, such as data migration via addvol/rmvol and > fileset snapshots via "clonefset". > > Hope this helps, > > Tim > -- > Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu > Information Technology Services (701) 231-1076 (Voice) > Room 242-J1, IACC Building (701) 231-8541 (Fax) > North Dakota State University, Fargo, ND 58105-5164 > Sent via Deja.com http://www.deja.com/ Before you buy. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: AdvFS 2000-11-07 1:20 AdvFS tru64man 2000-11-07 7:33 ` AdvFS Kjell Andresen @ 2000-11-17 5:00 ` Jack Patteeuw 1 sibling, 0 replies; 7+ messages in thread From: Jack Patteeuw @ 2000-11-17 5:00 UTC (permalink / raw) > Can someone give me analogy or brief explanation of a fileset and > filedomain in a tru64 system that is using AdvFS? The "short answer" is: 1) a filedomain is one or more (with AdvFS Utilities) disk drive(s). 2) a fileset is a "dynamic" partition (i.e. you can add or delete them from a filedomain and you can shrink or grow them, all online). Because AdvFS is a "logged based file system" it is pretty much "crash proof" (i.e. no more fsck), although it it recommended that you "verify" the filedomain "occasionally". (????) If your using AdvFS, then there is really no reason to "partition" you disk, except for swap (Tru64 can't swap to a file ... yet) AdvFS Taste good, lasts a long time. Jack Patteeuw ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2001-03-20 15:17 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-03-19 20:35 AdvFS Tony 2001-03-20 15:17 ` AdvFS Marble Head -- strict thread matches above, loose matches on Subject: below -- 2000-11-07 1:20 AdvFS tru64man 2000-11-07 7:33 ` AdvFS Kjell Andresen 2000-11-07 5:00 ` AdvFS Tim Mooney 2000-11-09 2:52 ` AdvFS tru64man 2000-11-17 5:00 ` AdvFS Jack Patteeuw
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox