xfs
[Top] [All Lists]

Re: Output of mkfs.xfs su/sw values don't match the command line su/sw v

To: Brian Davis <bridavis@xxxxxxxxxxx>
Subject: Re: Output of mkfs.xfs su/sw values don't match the command line su/sw values
From: Nathan Scott <nathans@xxxxxxx>
Date: Sun, 9 Jul 2006 12:13:21 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <44AFF7AA.2040001@comcast.net>; from bridavis@comcast.net on Sat, Jul 08, 2006 at 02:21:30PM -0400
References: <44AFF7AA.2040001@comcast.net>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Sat, Jul 08, 2006 at 02:21:30PM -0400, Brian Davis wrote:
> ...
> localhost ~ # mkfs.xfs -f -d sunit=128,swidth=256 /dev/sda1
> meta-data=/dev/sda1              isize=256    agcount=32, agsize=4578992 
> blks
>          =                       sectsz=512   attr=0
> data     =                       bsize=4096   blocks=146527744, imaxpct=25
>          =                       sunit=16     swidth=32 blks, unwritten=1
> naming   =version 2              bsize=4096 
> log      =internal log           bsize=4096   blocks=32768, version=1
>          =                       sectsz=512   sunit=0 blks
> realtime =none                   extsz=65536  blocks=0, rtextents=0
> 
> Why does the output display the sunit=16 and swidth=32 when I wanted it 
> configured with 128 and 256 respectively? It looks like the output is 
> displaying the fs block size (4096) rather than 512 blocks specified on 
> the command line and the man page.
> Is this correct?

Thats correct.  Odd, isn't it?  Dunno why it was done this way (waay
before my time) ... its been like that forever though.

cheers.

-- 
Nathan


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