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

Bug#498309: xfs filesystem corruption due to attr2 bug



On Thu, Sep 11, 2008 at 11:40:07AM +0200, Ralf Gross wrote:
> dann frazier schrieb:
> > 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
> 
> 
> I've some problems in installing the appr. header files, maybe I'm
> doing something wrong:
> 
> I downloaded
> 
> linux-headers-2.6.18-6_2.6.18.dfsg.1-23~bug498309_amd64.deb
> linux-headers-2.6.18-6-all-amd64_2.6.18.dfsg.1-23~bug498309_amd64.deb
> linux-headers-2.6.18-6-all_2.6.18.dfsg.1-23~bug498309_amd64.deb  
> linux-headers-2.6.18-6-amd64_2.6.18.dfsg.1-23~bug498309_amd64.deb

You probably just want the headers for your flavor. If you're not
running xen/vserver, you just need linux-headers-2.6.18-6-amd64 and
linux-headers-2.6.18-6, not the "all" packages.

You should be able to clean up your system with:
 # apt-get -f install 
And try again.

-- 
dann frazier




Reply to: