Default mkfs parms for my DVR drive

Joe Landman joe.landman at gmail.com
Sat Aug 24 19:00:17 CDT 2013


On 08/24/2013 07:48 PM, Jay Ashworth wrote:
> This is a Seagate ST3000DM001, all one volume, for my sister's DVR on
> which I've been doing this volume recovery work.  The default setup that
> mkfs.xfs returns with no parms supplies is this:
>
> meta-data=/dev/sda1              isize=256    agcount=4, agsize=183141568 blks
>           =                       sectsz=4096  attr=2, projid32bit=0
> data     =                       bsize=4096   blocks=732566272, imaxpct=5
>           =                       sunit=0      swidth=0 blks
> naming   =version 2              bsize=4096   ascii-ci=0
> log      =internal log           bsize=4096   blocks=357698, version=2
>           =                       sectsz=4096  sunit=1 blks, lazy-count=1
> realtime =none                   extsz=4096   blocks=0, rtextents=0
>
> and that takes about 3 minutes to mkfs a 3TB drive.
>
> Anyone have some thoughts they wish to cast upon the waters about either part
> of that?

Dave, Eric, and the rest of the xfs team will tell you "use the defaults 
Luke".  For 99 and 44/100ths percent of users, this is the right choice.


I am guessing that some of the delay may be the speed of the interface 
to the disk ... but even then 3 minutes sounds long, unless something 
else is hitting the disk at the same time.

Which kernel version btw?  A quick 'uname -a' is a good thing.

Your hardware could also be somewhat slow ... Could you do an

	lshw -class disk -class storage




More information about the xfs mailing list