xfs
[Top] [All Lists]

Re: what mkfs.xfs options to use with dealing with many small files.

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: what mkfs.xfs options to use with dealing with many small files.
From: Steve Lord <lord@xxxxxxx>
Date: 23 Oct 2003 11:29:11 -0500
Cc: Greg Whynott <greg@xxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <1066926267.23500.10.camel@xxxxxxxxxxxxxxxxxxxxxx>
Organization:
References: <3F97F016.4AB1E881@xxxxxxxxxxxxxxxxxx> <1066925583.21480.71.camel@xxxxxxxxxxxxxxxxxxxx> <1066926267.23500.10.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Thu, 2003-10-23 at 11:24, Eric Sandeen wrote:
> On Thu, 2003-10-23 at 11:13, Steve Lord wrote:
> 
> > > mkfs.xfs -f -b size=2048k -d agcount=16 /dev/md0
> > 
> >  -b size specifies the basic block size of the filesystem, it is
> >   in bytes, I do not think 2048k is going to work. Why choose 2K?
> >   If you are going to switch from the default of 512 then the best
> >   bet is 4096.
> 
> Not quite, -b is the filesystem block size, not the device sector size,
> right?  4k default, page-sized max, 512 minimum.

Sorry, I was thinking about -s, not -b.

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>