* SUMMARY: mkfdmn using -p
@ 1997-06-11 12:06 rem
0 siblings, 0 replies; only message in thread
From: rem @ 1997-06-11 12:06 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-06-11 12:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-11 12:06 SUMMARY: mkfdmn using -p rem
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox