xfs
[Top] [All Lists]

Re: Enabling lazy counters damages filesystem

To: Marcin Mirosław <marcin@xxxxxxxx>
Subject: Re: Enabling lazy counters damages filesystem
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 29 Apr 2010 09:04:47 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4BD84771.4030804@xxxxxxxx>
References: <4BD84771.4030804@xxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, Apr 28, 2010 at 04:34:25PM +0200, Marcin Mirosław wrote:
> Hello,
> Please look at this:
> # mkfs.xfs -f /dev/malowazne/test
> meta-data=/dev/malowazne/test    isize=256    agcount=4, agsize=524288 blks
>          =                       sectsz=512   attr=2
> data     =                       bsize=4096   blocks=2097152, imaxpct=25
>          =                       sunit=0      swidth=0 blks
> naming   =version 2              bsize=4096   ascii-ci=0
> log      =internal log           bsize=4096   blocks=2560, version=2
>          =                       sectsz=512   sunit=0 blks, lazy-count=0
> realtime =none                   extsz=4096   blocks=0, rtextents=0
> 
> # xfs_check /dev/malowazne/test
> # xfs_check /dev/malowazne/test
> 
> It's still clean.
> 
> # xfs_admin -c 1 /dev/malowazne/test
> Enabling lazy-counters
> # xfs_check /dev/malowazne/test
> sb_features2 (0xa) not same as sb_bad_features2 (0x8)
....

> So as you can see lazy conters are still turn on.
> I'm using:
> # mkfs.xfs -V
> mkfs.xfs version 3.0.3

This was fixed in 3.0.5, IIRC. Please upgrade.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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