[Top] [All Lists]

Re: Default mkfs parms for my DVR drive

To: xfs@xxxxxxxxxxx
Subject: Re: Default mkfs parms for my DVR drive
From: Joe Landman <joe.landman@xxxxxxxxx>
Date: Sat, 24 Aug 2013 20:00:17 -0400
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=GNfPpgBppwggO923AJ7yDQTzeEf2N6EjekRfi5fnWig=; b=JqxtJG/44v8u6nRzv0ufbnPTyd85U5UWF8nKj2YZ4EeS4iIc+H37ByA9kw7pF72YKe Xq0xnqMvvupYnRUJ13MjCe6wcP12UBPVwoQZ+7rpNHP5C+G03sPzCwzSaCIxDkr2knj9 BqTePDiuxZf25k8XOFR3gKl5h87QDtRSh1+sFBt1tWnFFpN7KxycUTtAVTXy5uVshcqD CYomT7Nq/8B0qeDpmYzksef9z+o8d6qZvM9U2HdpiOdbNY3T0Mg3aq9zBg8LAc+F+SwW c2zPWTSCY8rKnAlMGsNsp48Iwrn91BiFsLN1Uk7dozTcnioCPDe33qeHE8nMGGQppImZ QTng==
In-reply-to: <1365641.4934.1377388085878.JavaMail.root@xxxxxxxxxxxxxxxxxxxx>
References: <1365641.4934.1377388085878.JavaMail.root@xxxxxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8
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

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