xfs
[Top] [All Lists]

Re: Reporting a bug

To: "David Chinner" <dgc@xxxxxxx>
Subject: Re: Reporting a bug
From: "Germán Poó-Caamaño" <german.poo@xxxxxxxxx>
Date: Tue, 5 Jun 2007 23:22:56 -0400
Cc: xfs@xxxxxxxxxxx
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sRmJ6tg3vCZMVqHk/6fLRdqezLf0PnioW3qhNKkwLbbCHoxx20CIRdFcnXk9elvledYCx8C2fim85q2EoLTgw81UpbJrxWvuVuV9UUHl2d1hBgmXKTpQ9TRB7v8Nwr+dJ7iNuzmYl/LKt0MjPudkkGokdv8ju2lqCyBqlwsP5eY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h7Ix38OeVtJCLx8xV1UH4i9OvvNmW5lG5IzP+ljrgnhWs+B1EQmn51IcDs0oHGwOmaVVvzVfH0zAGnfwe6P3YSNcdVjUgrKGENzxh7E1uVwb03hRbC3+0V5FOURXHdBXc46WDGpVl9WpOzc/b2AGwPTVkGE67OP18twSII9BtBU=
In-reply-to: <20070605232457.GA85884050@sgi.com>
References: <d9c0b9d90706041910t15584e05y16e7eba660c96d51@mail.gmail.com> <20070605232457.GA85884050@sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
2007/6/5, David Chinner <dgc@xxxxxxx>:
On Mon, Jun 04, 2007 at 10:10:06PM -0400, Germán Poó-Caamaño wrote:
> I having have some problems with a XFS partition in Debian Sarge:
>
> After a clean reboot (it supposed to be), my machine started with
> kernel messages of problems, such us XFS_WANT_CORRUPTED_GOTO and
> XFS_WANT_CORRUPTED_RETURN.
>
> It mainly was located in /var.  But, after cleaning that, I checked
> other partitions.  I guessed that my root partition (/dev/sda5) was in
> problems also.  I mounted as readonly partition and  I ran xfs_repair
> on it.  xfs_repair moved 6 files (all of them ELF binaries) to
> lost+found.  After reboot the machine, it can't boot anymore.

Sounds like a critical binary for boot got lost...

I thought that in the beginning. But, the crash and segfaults I pasted in my second message were produced also when I ran Sysrescue (LiveCD) and tried to work with that filesystem.

Anyway, I applied objdump -T to each file in lost+found.  A lot of
them were important (libgcc, tls/lpthreads, tls/libm, and such).

It seems there were duplicates, because for each file in lost+found
was a library in /lib or /lib/tls.

Some nasty behavior was something like:
 # mkdir foo
 # cd foo
 # foo: No such file or directory

ls over /etc was able to show me group, passwd and shadow.  But none
of them was available.  I copied group- to group.  ls show me two
'group' files.

> Trying with Sysrescue 0.3.5 I get the following:

What version of the XFS utilities has that got?
You might do better booting knoppix and then downloading the
latest tools and running them....

I used xfsprogs 2.8.18.

Unfortunately I haven't had another disk/partition to apply 'dd' to
the conflictive partition.
I discarded a memory problem, it passed a night session of memtest
without errors.

In another partition (137 GB) with *.a lot of* files (think it's used
for maildir). I got 17000+ files in lost+found).  It passed
xfs_repair.  After mounted it again, and a little load, some files
were deleted, but still listed with ls.  If I try to stat that file I
get 'No such file or directory', but still listed in the directory.

I knew that XFS required a robust hardware, I'm not sure if still is
true that statement.  Anyway, I thought the hardware was robust and
probably made a mistake.

--
Germán Poó Caamaño
http://www.gnome.org/~gpoo/


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