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 11:43:12 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20100428230447.GJ9783@dastard>
References: <4BD84771.4030804@xxxxxxxx> <20100428230447.GJ9783@dastard>
User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, Apr 29, 2010 at 09:04:47AM +1000, Dave Chinner wrote:
> 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.

Actually, 3.1.0 was the first release with the fix to xfs_db that
prevents this problem.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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