xfs
[Top] [All Lists]

Re: sunit not working

To: "Salmon, Rene" <Rene.Salmon@xxxxxx>
Subject: Re: sunit not working
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Tue, 12 Jun 2007 10:34:04 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1181606134.7873.72.camel@holwrs01>
Organization: Aconex
References: <1181606134.7873.72.camel@holwrs01>
Reply-to: nscott@xxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
On Mon, 2007-06-11 at 18:55 -0500, Salmon, Rene wrote:
> As you can see the sunit gets set to 64 upon creation and not 512 like I
> asked.  Also if it try to give it some mount options it does the same
> thing.
> 
> sgi210a:~ # mount -o sunit=512,swidth=5120 /dev/mapper/mpath9 /mnt/

Its being reported in units of filesystem blocks, and its specified
in 512 byte units.  Pretty dopey, but thats why its different.

> sgi210a:~ # xfs_info /mnt/
> meta-data=/dev/mapper/mpath9     isize=256    agcount=32,
> agsize=56652352 blks
>          =                       sectsz=512   attr=0
> data     =                       bsize=4096   blocks=1812874752,
> imaxpct=25
>          =                       sunit=64     swidth=640 blks,
> unwritten=1
> naming   =version 2              bsize=4096  
> log      =internal               bsize=4096   blocks=32768, version=1
>          =                       sectsz=512   sunit=0 blks
> realtime =none                   extsz=65536  blocks=0, rtextents=0
> sgi210a:~ # 

$ gdb -q
(gdb) p 512 * 512
$1 = 262144
(gdb) p 64 * 4096
$2 = 262144
(gdb)

(thats 262144 bytes, of course)

> Last I tried to subscribe to the list by sending email to
> ecartis@xxxxxxxxxxx a couple of times but was unsuccessful should I send
> email elsewhere to subscribe?

Its a frikkin' lottery. :)  Keep trying and keep whining is how I ended
up getting back on (whining on IRC on #xfs helps too).

cheers.

-- 
Nathan


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