[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#498309: xfs filesystem corruption due to attr2 bug



On Tue, Sep 09, 2008 at 12:02:41AM +0200, Ralf Gross wrote:
> Package: linux-image-2.6-amd64
> Version: 2.6.18+6etch3
> 
> I've lost 2 xfs filesystems this weekend after adding lots of acls to many
> files.
> 
> With some help from the people of the xfs IRC channel, I could nail it down to
> a problem with xfs an attr2. It seems that the debian 2.6.18 kernel is missing
> a very important bugfix.
> 
> The bug report originally comes from red hat:
>  
> https://bugzilla.redhat.com/show_bug.cgi?id=212201
> 
> This is what I found in the archibes of the xfs mailing list:
> 
> http://www.linux.sgi.com/archives/xfs/2006-12/msg00104.html
> 
> 
> The filesystems that crashed had a size of 2 TB and 6 TB. xfs_repair couldn't
> help much.  In the end I had to restore the data from the last backup.
> 
> I know that packages in the stable release are only updated with important
> (security) fixes. But this bug can (did) cause data loss and would be worth a
> fix.

Thanks for the report.
Fixes for >= important bugs are acceptable in a stable release. I've
committed a fix for this which should appear in the etch snapshot
builds[1] tomorrow. 

Would you be able to test that build on your system?
I'm not sure whether you are using the i386 port or the amd64 port
(the amd64 flavor is available for both). If you're using the i386
port, you should be able to grab a snapshot build with a version
>= 2.6.18.dfsg.1-23~snapshot.12203. If you're using amd64, you can try
the test build I posted here:
 http://people.debian.org/~dannf/bugs/498309/

[1] http://wiki.debian.org/DebianKernel


-- 
dann frazier




Reply to: