public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* format and xfs_info don't match
@ 2010-02-08 14:40 Cory Coager
  2010-02-08 19:18 ` Eric Sandeen
  2010-02-08 23:45 ` Steve Costaras
  0 siblings, 2 replies; 3+ messages in thread
From: Cory Coager @ 2010-02-08 14:40 UTC (permalink / raw)
  To: xfs

For some reason the format attributes don't match the mounted 
attributes.  If you look below, lazy-count and attr aren't getting set.  
Why is this happening?

# mkfs.xfs -f -i size=1024,attr=2 -l version=2,size=128m,lazy-count=1 /dev/mapper/360a9800050334c59543455596d625a77
meta-data=/dev/mapper/360a9800050334c59543455596d625a77 isize=1024   
agcount=32, agsize=8388744 blks
        =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=268439808, imaxpct=25
        =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=32768, version=2
        =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

# mount -t xfs -o noatime,nodiratime,nobarrier 
/dev/mapper/360a9800050334c59543455596d625a77 /mnt/new-homes/

# xfs_info /mnt/new-homes/
meta-data=/dev/mapper/360a9800050334c59543455596d625a77 isize=1024   
agcount=32, agsize=8388744 blks
        =                       sectsz=512   attr=0
data     =                       bsize=4096   blocks=268439808, imaxpct=25
        =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096  
log      =internal               bsize=4096   blocks=32768, version=2
        =                       sectsz=512   sunit=0 blks, lazy-count=0
realtime =none                   extsz=4096   blocks=0, rtextents=0

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: format and xfs_info don't match
  2010-02-08 14:40 format and xfs_info don't match Cory Coager
@ 2010-02-08 19:18 ` Eric Sandeen
  2010-02-08 23:45 ` Steve Costaras
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Sandeen @ 2010-02-08 19:18 UTC (permalink / raw)
  To: Cory Coager; +Cc: xfs

Cory Coager wrote:
> For some reason the format attributes don't match the mounted 
> attributes.  If you look below, lazy-count and attr aren't getting set.  
> Why is this happening?

which xfsprogs version?

# /sbin/mkfs.xfs -f -i size=1024,attr=2 -l version=2,size=128m,lazy-count=1 -bsize=4096 -dsize=268439808b,file,name=testfile
meta-data=testfile               isize=1024   agcount=4, agsize=67109952 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=268439808, imaxpct=5
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal log           bsize=4096   blocks=32768, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

# mount -o loop testfile mnt/

# xfs_info mnt/
meta-data=/dev/loop0             isize=1024   agcount=4, agsize=67109952 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=268439808, imaxpct=5
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0
log      =internal               bsize=4096   blocks=32768, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

# mkfs.xfs -V
mkfs.xfs version 3.0.1

-Eric

> # mkfs.xfs -f -i size=1024,attr=2 -l version=2,size=128m,lazy-count=1 /dev/mapper/360a9800050334c59543455596d625a77
> meta-data=/dev/mapper/360a9800050334c59543455596d625a77 isize=1024   
> agcount=32, agsize=8388744 blks
>         =                       sectsz=512   attr=2
> data     =                       bsize=4096   blocks=268439808, imaxpct=25
>         =                       sunit=0      swidth=0 blks, unwritten=1
> naming   =version 2              bsize=4096  
> log      =internal log           bsize=4096   blocks=32768, version=2
>         =                       sectsz=512   sunit=0 blks, lazy-count=1
> realtime =none                   extsz=4096   blocks=0, rtextents=0
> 
> # mount -t xfs -o noatime,nodiratime,nobarrier 
> /dev/mapper/360a9800050334c59543455596d625a77 /mnt/new-homes/
> 
> # xfs_info /mnt/new-homes/
> meta-data=/dev/mapper/360a9800050334c59543455596d625a77 isize=1024   
> agcount=32, agsize=8388744 blks
>         =                       sectsz=512   attr=0
> data     =                       bsize=4096   blocks=268439808, imaxpct=25
>         =                       sunit=0      swidth=0 blks, unwritten=1
> naming   =version 2              bsize=4096  
> log      =internal               bsize=4096   blocks=32768, version=2
>         =                       sectsz=512   sunit=0 blks, lazy-count=0
> realtime =none                   extsz=4096   blocks=0, rtextents=0
> 
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
> 

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: format and xfs_info don't match
  2010-02-08 14:40 format and xfs_info don't match Cory Coager
  2010-02-08 19:18 ` Eric Sandeen
@ 2010-02-08 23:45 ` Steve Costaras
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Costaras @ 2010-02-08 23:45 UTC (permalink / raw)
  To: xfs


[-- Attachment #1.1: Type: text/plain, Size: 1898 bytes --]


I've seen this as well under ubuntu 8.04.3LTS (xfsprogs for that distro 
is 2.9.4).   I grabbed 3.1.0 and use that now which agree.

Steve


On 02/08/2010 08:40, Cory Coager wrote:
> For some reason the format attributes don't match the mounted
> attributes.  If you look below, lazy-count and attr aren't getting set.
> Why is this happening?
>
> # mkfs.xfs -f -i size=1024,attr=2 -l version=2,size=128m,lazy-count=1 /dev/mapper/360a9800050334c59543455596d625a77
> meta-data=/dev/mapper/360a9800050334c59543455596d625a77 isize=1024
> agcount=32, agsize=8388744 blks
>          =                       sectsz=512   attr=2
> data     =                       bsize=4096   blocks=268439808, imaxpct=25
>          =                       sunit=0      swidth=0 blks, unwritten=1
> naming   =version 2              bsize=4096
> log      =internal log           bsize=4096   blocks=32768, version=2
>          =                       sectsz=512   sunit=0 blks, lazy-count=1
> realtime =none                   extsz=4096   blocks=0, rtextents=0
>
> # mount -t xfs -o noatime,nodiratime,nobarrier
> /dev/mapper/360a9800050334c59543455596d625a77 /mnt/new-homes/
>
> # xfs_info /mnt/new-homes/
> meta-data=/dev/mapper/360a9800050334c59543455596d625a77 isize=1024
> agcount=32, agsize=8388744 blks
>          =                       sectsz=512   attr=0
> data     =                       bsize=4096   blocks=268439808, imaxpct=25
>          =                       sunit=0      swidth=0 blks, unwritten=1
> naming   =version 2              bsize=4096
> log      =internal               bsize=4096   blocks=32768, version=2
>          =                       sectsz=512   sunit=0 blks, lazy-count=0
> realtime =none                   extsz=4096   blocks=0, rtextents=0
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>
>
>    

[-- Attachment #1.2: Type: text/html, Size: 2413 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-08 23:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-08 14:40 format and xfs_info don't match Cory Coager
2010-02-08 19:18 ` Eric Sandeen
2010-02-08 23:45 ` Steve Costaras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox