From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c372272d82f72490 X-Google-Attributes: gidfee84,public From: harris@guru.zk3.dec.com (Bob Harris (USEG)) Subject: Re: AdvFs inode equivalent. Date: 1995/10/18 Message-ID: <4633tl$dbi@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 117732815 distribution: world references: <45ucgt$b65@chaos.dac.neu.edu> organization: Digital Equipment Corporation reply-to: harris@zk3.dec.com newsgroups: comp.unix.osf.osf1 originator: harris@juggl7.zk3.dec.com In article <45ucgt$b65@chaos.dac.neu.edu>, johnson@neu.edu (Chris Johnson) writes: > I seem to remember that there was an AdvFs equivalent for the UFS > inode in Digital UNIX (osf/1). Further, just as with inodes, you need > more than the default if you have lots of small files. So far so good. > I don't remember what these things are called or where you define them. I think you are asking about the -x option described in the release notes for the mkfdmn and addvol AdvFS commands. mkfdmn [-o] [-r] [-l log-pages] [-t type] [-x meta-extent-size] special domain UFS inodes hold file system metadata (information which describes the file and where it is stored on the disk). AdvFS keeps the file metadata in the "Bitfile Metadata Table" (BMT). The BMT can be expanded on demand, however, it has a limit on the number of extents it can have. The -x option specifies that the BMT should be extented in larger chunks so that more metadata can be stored in each extent (which translates to more small files that can be created). By default the BMT extent size is 128 pages (8K bytes/page). It does not hurt to use a larger value for -x since the extents are only allocated when they are needed vs the UFS preallocation of all the inodes in advance. I would suggest selecting a value of -x which is proprotional to the projected size of your domain. -- | Bob Harris | | "I don't get to tell me What to do, I only get to tell me How to do it." | Comments expressed here are my own and _NOT_ those of my employer.