xfs
[Top] [All Lists]

Re: data loss over nfs

To: sandro.weiser@xxxxxx
Subject: Re: data loss over nfs
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Mon, 21 Jun 2004 10:21:54 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200406210346.55223.sandro.weiser@xxxxxx>
Organization: Eric Conspiracy Secret Labs
References: <200406210346.55223.sandro.weiser@xxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
A few observations...

Hard to debug gentoo kernels, I don't know what's going on in there. 
Often gentoo users report problems that disappear after using a stock
kernel.org problem, for what that's worth.

I see that you tried fsck.xfs; that does nothing - it's a no-op.

Then, it appears that the filesystem was not cleanly unmounted.  I see
that you did try to follow the advice and mount/umount, but that mount
failed.  It would have been much better to investigate the mount failure
message.  Hopefully you still have that in the logs.

So, you used -L and threw away your logs; at this point it's not
surprising that repair found lots of errors.  It put many files in
lost+found; this will continue to generate repair output until you move
lost+found to some new name.  repair unlinks lost+found at the start,
and re-discovers these "lost" inodes each time.

Try mounting the filesystem again to see why it's really failing (check
system logs or dmesg).

-Eric

 

On Sun, 2004-06-20 at 20:46, Sandro Weiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> What I've done:
> I startet deleting over nfs a linux-kernel-directory with all contents. The 
> filesystem on the server is xfs and exportet to the machine. Then I breaked 
> the operation via Strg+C on the host, logged in the server. There I startet 
> a second time to delete the linux-kernel-directory, but waitet till the 
> command finished. The I tried to untar a new kernel, but suddenly the 
> partition was full. But the deleted linux-kernel-directory was much more 
> bigger (with compiling data) than the original -- so something must went 
> wrong. Then I deleted the newly created linux-kernel-directory and 
> unmounted the xfs partiton. But xfs_repair failed and mounting wasn't 
> anymore 
> possible.
> 
> Can please somebody help me to restore the data of the xfs partiton?
> Please cc me, I am not on the list. Thx.
> 
> I've attached a log of the whole disaster on the server.
> 
> - -- 
> Sandro Weiser <Sandro.Weiser@xxxxxx>
> Fingerprint: 77E0 7C87 4DB2 6BBB 5419  343C 7995 1C67 25B9 CBF1
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFA1j4PeZUcZyW5y/ERAl+0AKCD/La/muBanZd6r9eXe3ymOjCoqACgxC33
> fz4MRAtWQsIAbQ8QRUyrGQM=
> =l6JG
> -----END PGP SIGNATURE-----
-- 
Eric Sandeen      [C]XFS for Linux   http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.          651-683-3102


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