xfs
[Top] [All Lists]

Re: Differences in mkfs.xfs and xfs_info output.

To: David Chinner <dgc@xxxxxxx>
Subject: Re: Differences in mkfs.xfs and xfs_info output.
From: Jan Derfinak <ja@xxxxxxxxxxxx>
Date: Tue, 19 Feb 2008 15:05:32 +0100 (CET)
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20080219014619.GY155407@xxxxxxx>
References: <Pine.LNX.4.63.0802160149590.4592@xxxxxxxxxxxxxxxxxx> <20080216074019.GV155407@xxxxxxx> <Pine.LNX.4.63.0802162319300.6528@xxxxxxxxxxxxxxxxxx> <20080217230645.GY155407@xxxxxxx> <Pine.LNX.4.63.0802180015110.4514@xxxxxxxxxxxxxxxxxx> <Pine.LNX.4.63.0802190044350.8907@xxxxxxxxxxxxxxxxxx> <20080219002059.GX155407@xxxxxxx> <Pine.LNX.4.63.0802190209490.20408@xxxxxxxxxxxxxxxxxx> <20080219014619.GY155407@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
On Tue, 19 Feb 2008, David Chinner wrote:

> I did not use a patched mkfs - just my patch that does correction.

I tried with only your patch. The result is slightly different, but
not correct.
# mkfs.xfs -f /dev/loop0 
meta-data=/dev/loop0             isize=256    agcount=4, agsize=64000 blks
         =                       sectsz=512   attr=2
data     =                       bsize=4096   blocks=256000, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=1200, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
# mount /dev/loop0 /mnt/usb
# dmesg
...
Filesystem "loop0": Disabling barriers, not supported by the underlying device
XFS: correcting sb_features alignment problem
XFS mounting filesystem loop0
# umount /mnt/usb
# xfs_check  /dev/loop0
sb_fdblocks 253756, counted 254780
sb_fdblocks 253756, aggregate AGF count 254780


Cheers,
 
jan

-- 


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