From: Steve Hancock <hancock@alf.dec.com>
To: Saul Tannenbaum <stannenb@emerald.tufts.edu>
Cc: hancock
Subject: Re: Which file system
Date: 1996/09/12 [thread overview]
Message-ID: <32389F7A.52BF@alf.dec.com> (raw)
In-Reply-To: 511m4v$v61@d2.tufts.edu
Saul,
Saul Tannenbaum wrote:
>
> In article <322DB1BE.6201@alf.dec.com>, Steve Hancock (hancock@alf.dec.com) wrote:
> > 4) Set up a cron that runs nightly or weekly which balances and defragments
> > the domain. Also, have the cron send you the defragment statistics,
> > showfdmn and the output of "showfile -x /<mount-pt>/.tags/M-6 | grep
> > extentCnt". You'll need to do the same thing for each volume in the domain
> > using the formula: /<mount-pt>/.tags/M-(6*volnum). When these numbers
> > start to approach 500, worry. You may need to remake the domain using
> > a higher -x value or add another volume to the domain and balance it.
> > Should the extentCnt get to 683, you are done and the BMT cannot extend
> > itself to accomodate more files. When this happens, you get a "No more
> > space" message.
>
> This seems to work for me only if I cd to /<mount-pt/.tags and then
> showfile -x M-6.
>
You must have a version of Digital UNIX at 4.0 or greater for method in the
above text to work. Prior version, you must cd to "/<mount-pt/.tags" and then
do "showfile -x M-6".
> > 5) For those running DU 4.0, use the -p switch to mkfdmn to preallocate
> > metadata extents, thus avoiding the fragmentation issue. It is possible
> > to preallocate for versions prior to 4.0, but its painful.
>
> Is this the "touch a zillion files" workaround, or is is there something
> less painful than that?
>
This is not the "touch a zillion files" workaround. In 4.0, that method has
been made obsolete by the '-p' switch to the mkfdmn and addvol commands. In
addition, for v3.2d and v3.2e, there is a patch which provides the '-p'
switch for mkfdmn. Here's an exerpt from the patch README for 3.2d-1:
PROBLEM: (Patch ID: OSF360-061)
********
This patch fixes a problem in which a system using AdvFS can run out of
metadata space when the AdvFS domain still has some free space available.
The system will display error messages such as 'no space left on device'.
The problem may occur on a heavily fragmented system with many small files,
such as an Internet News server or Mail server.
To handle this problem, please use the -p and -x options when using
the mkfdmn command to create an AdvFS domain that is expected to have
many small files. Specifying the new -p option to the mkfdmn command
pre-allocates internal AdvFS structures and the erroneous 'out of space'
messages will not occur.
NOTE: Please run the mkfdmn command with no options or arguments to list
the updated mkfdmn man page and the -p and -x option descriptions.
> - Saul
> --
> Saul Tannenbaum, Manager, Academic Systems | "It's still rocket
> stannenb@emerald.tufts.edu | science" - Vint Cerf
> Tufts University Computing and |Finger for PGP public key
> Communications Services |http://www.tufts.edu/~stannenb
Steve
--
| Steve Hancock | "Life ... is a tale told by an idiot, |
| Digital UNIX Support | full of sound and fury, signifying |
| Atlanta CSC | nothing." |
| hancock@alf.dec.com | - William Shakepeare, Macbeth |
next prev parent reply other threads:[~1996-09-12 4:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-30 4:00 Which file system Luc Marotte
1996-09-02 4:00 ` Peter Mayne
1996-09-02 4:00 ` Jonathan Chen
1996-09-03 4:00 ` Nikos George
1996-09-04 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-09-04 4:00 ` Steve Hancock
1996-09-05 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1996-09-08 4:00 ` Saul Tannenbaum
1996-09-09 4:00 ` Saul Tannenbaum
1996-09-12 4:00 ` Steve Hancock [this message]
1996-09-04 4:00 ` rp001ns
1996-09-06 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
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