xfs
[Top] [All Lists]

Re: Total FS corruption - More info

To: Nathan Scott <nathans@xxxxxxx>, Nigel Kukard <nkukard@xxxxxxxx>, Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: Total FS corruption - More info
From: nic <nic@xxxxxxxxxxx>
Date: Mon, 15 Oct 2001 10:12:21 +0100
Cc: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
Envelope-to: linux-xfs@oss.sgi.com
In-reply-to: <20011015143616.J506869@wobbly.melbourne.sgi.com>
Organization: Quixotic Hackers
References: <20011015130708.H506869@wobbly.melbourne.sgi.com> <Pine.LNX.4.21.0110150420090.1797-101000@ctgw.lbsd.net> <20011015143616.J506869@wobbly.melbourne.sgi.com>
Reply-to: nic@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
On Monday 15 October 2001 04:36, Nathan Scott wrote:
> hi,
>
> On Mon, Oct 15, 2001 at 04:22:37AM +0200, Nigel Kukard wrote:
> > > and send the full xfs_repair output after this too.
> >
> > attatched, i used   xfs_repair -nf /dev/hda3   on a readonly remount
>
> This seems to confirm the root inode of this partition is indeed
> corrupt - there is a directory entry to an inode which has been
> marked as freed.
>
> > if this is VERY VERY important let me know, i'll try sumone get it, i
> > know it reports alot of problems so it might be hard for me to capture
> > it. also taking into account the fs is mounted.
>
> That's bad (that its mounted), since its also corrupted.
>
> Before you mount these filesystems, if they're corrupted, you
> _must_ first run xfs_repair (though you should also capture all
> the console output when the corruption first occurs and send it
> our way - we still haven't seen this).  You also need a kernel
> which isn't going to corrupt them again straight away.

Just for reference I've seen this (xfs_create looping) on /var on a small SMP 
box on about the 7th reboot after install (with stock SGI 1.0.1 release).

boot -s; umount /var;  xfs_repair repaired it fine though.

Here's what was in /v/l/messaeges (line wrapping courtesy of kmail...)

Sep 21 01:37:08 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x80008a, ide0(3,8)
Sep 21 01:37:08 eeyore kernel:
Sep 21 01:37:08 eeyore kernel: ip_conntrack (4095 buckets, 32760 max)
Sep 21 01:37:08 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x80008b, ide0(3,8)
Sep 21 01:37:08 eeyore kernel:
[...]
Sep 21 01:37:08 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x80008c, ide0(3,8)
Sep 21 01:37:08 eeyore kernel:
Sep 21 01:37:08 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x80008d, ide0(3,8)
Sep 21 01:37:08 eeyore kernel:
Sep 21 01:37:08 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x80008e, ide0(3,8)
Sep 21 01:37:08 eeyore kernel:
Sep 21 01:37:08 eeyore rpc.statd[625]: Version 0.3.1 Starting
Sep 21 01:37:08 eeyore nfslock: rpc.statd startup succeeded
Sep 21 01:37:09 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x80008f, ide0(3,8)
Sep 21 01:37:09 eeyore kernel:
Sep 21 01:37:09 eeyore keytable: Loading keymap:
Sep 21 01:37:09 eeyore keytable: ^[[60G[
Sep 21 01:37:09 eeyore keytable:
Sep 21 01:37:09 eeyore keytable: Loading system font:
Sep 21 01:37:09 eeyore keytable: ^[[60G[
Sep 21 01:37:09 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x800090, ide0(3,8)
Sep 21 01:37:09 eeyore kernel:
Sep 21 01:37:09 eeyore keytable:
Sep 21 01:37:09 eeyore keytable: touch: creating `/var/lock/subsys/keytable': 
Unknown error 990
Sep 21 01:37:09 eeyore rc: Starting keytable:  succeeded
Sep 21 01:37:09 eeyore random: Initializing random number generator:  
succeeded
Sep 21 01:37:10 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x800092, ide0(3,8)
Sep 21 01:37:10 eeyore kernel:
Sep 21 01:37:10 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x800093, ide0(3,8)
Sep 21 01:37:10 eeyore kernel:
[...]
Sep 21 01:37:10 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x800094, ide0(3,8)
Sep 21 01:37:10 eeyore kernel:
Sep 21 01:37:11 eeyore atd: atd startup succeeded
Sep 21 01:37:11 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x800095, ide0(3,8)
Sep 21 01:37:11 eeyore kernel:
Sep 21 01:37:11 eeyore automount[746]: using kernel protocol version 3
Sep 21 01:37:11 eeyore sshd: Starting sshd:
Sep 21 01:37:11 eeyore sshd:  succeeded
Sep 21 01:37:11 eeyore sshd: ^[[60G[
Sep 21 01:37:11 eeyore kernel: xfs_create looping, dir ino 0x800081, ino 
0x800096, ide0(3,8)
Sep 21 01:37:11 eeyore kernel:

nic


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