xfs
[Top] [All Lists]

Re: RE : xfs_repair fails with corrupt dinode

To: Brian Foster <bfoster@xxxxxxxxxx>
Subject: Re: RE : xfs_repair fails with corrupt dinode
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 30 Jan 2015 10:45:12 +1100
Cc: "SCHEFFER, Philippe" <Philippe.SCHEFFER@xxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20150129225646.GA24547@xxxxxxxxxxxxxx>
References: <587A9635632B174A943E53AF3B58A9082E3BE068CE@vanda> <20150129173414.GL17652@xxxxxxxxxxxxxx> <587A9635632B174A943E53AF3B58A9082E3BE068D0@vanda> <20150129225646.GA24547@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Jan 29, 2015 at 05:56:46PM -0500, Brian Foster wrote:
> On Thu, Jan 29, 2015 at 11:09:48PM +0100, SCHEFFER, Philippe wrote:
> > I join info in attached files.
> > 
> > Chronology:
> > Problem detected on FS.
> 
> Do you have a record/log of the original problem? Did the fs shutdown?
> 
> > FS unmounted
> > multiple xfs_repair -P  with message in my precedent mail
> > A try to remount FS give a kernel panic
> 
> I suspect a problem during log replay. Do you have a record of this
> panic? From your comments, I take it this is now 100% reproducible.
> 
> There's quite a lot of noise in the repair output besides the final
> error. Did repair ever complain about a dirty log?

Argh, off-list reply. Brian, can you attach the repair output - it's
not in the body of your reply.

> > Linux vp-istex-li 3.11.0-26-generic #45~precise1-Ubuntu SMP Tue Jul 15 
> > 04:02:35 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> > 
> > xfs_repair version 3.1.7

First: upgrade to 3.2.2, run repair again.

> > /dev/mapper/system-tmp /tmp ext4 rw,relatime,data=ordered 0 0
> > /dev/mapper/system-home /home ext4 rw,relatime,data=ordered 0 0
> > /dev/mapper/system-opt /opt ext4 rw,relatime,data=ordered 0 0
> > /dev/mapper/system-usr /usr ext4 rw,relatime,data=ordered 0 0
> > /dev/mapper/system-var /var ext4 rw,relatime,data=ordered 0 0
> > /dev/mapper/data-lvol0 /applis/istex ext4 rw,relatime,data=ordered 0 0
> > /dev/mapper/data-lvol1 /applis/getstate ext4 rw,relatime,data=ordered 0 0
> > /dev/sde /data/brut/elsevier ext3 
> > ro,relatime,errors=continue,barrier=1,data=ordered 0 0
> > /dev/sdf /data/brut/rsc ext3 
> > ro,relatime,errors=continue,barrier=1,data=ordered 0 0
> > /dev/sdh /data/oup xfs ro,relatime,attr2,inode64,noquota 0 0
> > /dev/sdi /data/rsc xfs rw,relatime,attr2,inode64,noquota 0 0
> > /dev/sdn /data/nature xfs rw,relatime,attr2,inode64,noquota 0 0
> > /dev/sdo /data/brill xfs rw,relatime,attr2,inode64,noquota 0 0
> > /dev/sdp /data/iop xfs rw,relatime,attr2,inode64,noquota 0 0
> > /dev/mapper/vgistex--brut-lvol00 /data/brut/wiley xfs 
> > rw,relatime,attr2,inode64,noquota 0 0
> > /dev/mapper/vgistex--work-lvol00 /data/brut/temp xfs 
> > rw,relatime,attr2,inode64,noquota 0 0
> > /dev/mapper/vgistex--sample-lvol0 /data/sample ext3 
> > rw,relatime,errors=continue,barrier=1,data=ordered 0 0
> > /dev/mapper/vgistex--corpus-lvol00 /data/springer ext3 
> > ro,relatime,errors=continue,barrier=1,data=ordered 0 0
> > /dev/mapper/vgistex--corpus-lvol01 /data/ecco ext4 ro,relatime,data=ordered 
> > 0 0
> > /dev/mapper/vgeebo-lvol00 /data/eebo ext3 
> > ro,relatime,errors=continue,barrier=1,data=ordered 0 0
> > /dev/mapper/vgistex--corpus-lvol02 /data/wiley xfs 
> > ro,relatime,attr2,inode64,noquota 0 0
> > /dev/mapper/vgli2-lvol0 /applis/istex/corpusOutput ext4 
> > rw,relatime,data=ordered 0 0
> > /dev/mapper/vgli2-lvol1 /applis/istex/li2 ext4 rw,relatime,data=ordered 0 0
> > /dev/sda1 /boot ext2 rw,relatime,errors=continue,user_xattr,acl 0 0
> > rpc_pipefs /run/rpc_pipefs rpc_pipefs rw,relatime 0 0
> > nfsd /proc/fs/nfsd nfsd rw,relatime 0 0

Which of these filesystems is the one that is problematic?

> > xfs_info : not possible, FS not mounted. Last try of mount give a Kernel 
> > panic.

It shouldn't do that. please post the stack trace and preceding
error messages...

Cheers,

Dave.

-- 
Dave Chinner
david@xxxxxxxxxxxxx

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