From: engj@u.washington.edu (Jimmy Eng)
Subject: Question on big drives & many little files
Date: 1999/10/11 [thread overview]
Message-ID: <7ttbu5$5ii$1@nntp6.u.washington.edu> (raw)
I'm interested in adding a large (36-50GB) drive or two to my Alpha
running 4.0B. The goal is to obviously add a ton of storage
with the problem being that the stored files are small (averaging
less than 1K per file).
I was told to bump up the # of inodes and descrease the block
size when formatting and mounting the drive to most effectively
use a large disk to store many small files. Reading the man
page on newfs shows a -b block-size option to specify the block
size of the filesystem but there's a note saying that the block
size is fixed at 8KB. Can this be lowered to 1KB (i.e. is the
note referring to a default setting)? If not, does this imply
that I'll be wasting ~7KB for each small file that's stored?
There's also a -f frag-size option for newfs which refers to
the fragment size of the file system in bytes. What is this used
for and how does it relate to block size and my problem?
The -i #bytes/inode option defaults to 4096 bytes of data per
each inode. Not having a real clue as to it's effects (other than
knowing that lowering of this number increases the # of files that
can be created in a partition), can someone recommend a value that
I should use here? An inode for each 1024 bytes?
I'm using ufs file systems and they're being exported to Alpha-Linux
boxes. (Any issues with the exporting/re-mounting that I need to
consider?)
Thanks a ton for your assistance. I'm looking for any insight
whatsover as well as advice on issues that I've haven't thought
about but may be pertinent.
- Jimmy, Software Engineer, University of Washington
reply other threads:[~1999-10-11 4:00 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