tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: rem () MATH ! AMS ! ORG
To: tru64-unix-managers
Subject: SUMMARY: mkfdmn using -p
Date: Wed, 11 Jun 1997 12:06:21 +0000	[thread overview]
Message-ID: <96078613510380.tru64-unix-managers.marc@archive.invalid> (raw)


Thanks to:

Tom Greer   (tng@swt.edu)
Stuart Garner <stuartmg@romeo.nis.newscorp.com>


I can use a higher value for the -p option
of mkfdmn than what is mentioned in the man
pages. Using 2048 for 800,000 (actually you
can get 1,245,000 files with that). 

Here are their responses:

==========================================================
>1) Can I use a higher number than 2048 when creating the file domain
>   using preallocated files? The man pages only mention up to 2048.

Sure -- we're using 32768 for a domain with 6 4gb drives.  The suggested 
guidelines for -p values versus number of files seem to be off for domains
with large numbers of small files.

I'm not sure about the -x value -- I think it will want contiguous space 
if it does extend the extent table, making really large values undesirable
unless you can guarantee sufficient contiguous free space.

Tom Greer   (tng@swt.edu)
Systems Programmer
Southwest Texas State University

==========================================================
I ran into this same problem and we solved it with the following:

mkfdmn -x 4096

This should give you plenty of space.  We currently have over 4 million
small files in the same domain with no problems.  There are a few things
to note however....If you use addvol to put another drive in the domain
(which is not likely since you are using RAID 5), make sure you use the
-x flag on the addvol.  

It also does wonders to setup a defrag to run weekly in cron.  I haven't
had any problems on our news servers since we started doing this.
You might also want to check out the /sbin/advfs directory - it has some
interesting utilities in it that have been useful on occasion.


Stuart Garner (stuartmg@newscorp.com)
Systems Architect
News Internet Services

==========================================================================
Thanks again.


Bob Morse
System Administrator
American Mathematical Society

                 reply	other threads:[~1997-06-11 12:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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