From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e97701f41b64ba63 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-02-07 05:37:55 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: mknarasimha@hotmail.com (Narasimha) Newsgroups: comp.unix.tru64 Subject: Re: ADVFS fileset information Date: 7 Feb 2002 05:37:55 -0800 Organization: http://groups.google.com/ Message-ID: References: <010220021015379536%harris@zk3.dec.com> <050220021018184859%harris@zk3.dec.com> <060220021018087142%harris@zk3.dec.com> <060220022221358166%harris@zk3.dec.com> NNTP-Posting-Host: 168.159.29.83 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1013089075 3946 127.0.0.1 (7 Feb 2002 13:37:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 7 Feb 2002 13:37:55 GMT Xref: archiver1.google.com comp.unix.tru64:6748 Hi Bob, I thought i had cleared out our goal. Our goal is to find the extents that a fileset occupies on disk.People can write scripts read the extent information(offset and size and perform backups) Currently there is no way to do this other than walking thro all the files of the fileset and then finding all the extents occupied by all the files and then collapse them wherever possible and give the output(this effort is time consuming). Our goal was to find the extents that a fileset maps to but since you mentioned that the fileset is just a name in a name space we probably need to stick to the method you mentioned. Continuing on the previous conversation: If we indeed walk thro all the files in the fileset and get the file extents we would need to find the extents of the special files M-6 and M-12 as well but these files are somehow hidden but i am pretty sure that they occupy space on the fileset and we need to account for their extent information as well. My question was concerns about opening these files and doing a showfile on them? Hope i have clarified things. Thanks, narasimha. Bob Harris wrote in message news:<060220022221358166%harris@zk3.dec.com>... > In article , Narasimha > wrote: > > X Thanks for the info. I get it. The other question regarding your > X script is that it doesnt try to access the bitmap metadata files and > X calculate their extents as well. Arent these files part of the fileset > X and shouldnt we be taking the extent information of those files as > X well? (i am talking about the M-6 and M-12 files). > > I said my script was rude, crude, and not very well debugged. All that > it did was to find the lowest and highest allocated block used by file > data. The script was nothing more. At the time that seems to be what > you were interested in. > > Since you have not told us what your goal is, there is no way I would > attempt to write a script to solve it. So what is your goal? What is > it you are trying to do? > > And back to the fileset. Again, the fileset is just a name space and > consists of a tag directory that keeps track of bitfile tag IDs (like > an inode number) and points at the primary mcell of each file known to > the fileset. The file itself may be part of the original fileset and > it may be part of the clone fileset, so the file itself is not > dedicated to a fileset, but rather an entity pointed to by a fileset. > > All the other metadata is part of the domain and is shared by _ALL_ > filesets in the domain. > > The utility /sbin/advfs/vdf can be used to display the amount of space > being used by metadata. There should be a man page for vdf. > > Bob Harris