xfs
[Top] [All Lists]

Re: suerblock corrupted

To: Michal Kurowski <michal@xxxxxxxxxxxxxxxxx>
Subject: Re: suerblock corrupted
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 18 Sep 2001 15:45:59 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Message from Michal Kurowski <michal@orfeus.bioinfo.pl> of "Tue, 18 Sep 2001 22:21:59 +0200." <20010918222159.B4806@orfeus>
Sender: owner-linux-xfs@xxxxxxxxxxx
> Hi,
> I'm using 2.4.9 patched - from CVS.
> Works great but  recently I  managed to corrupt the superblock and I'm
> no longer  able to mount my HD (wrong fs type, bad option.... etc.).
> Unfortunately there's a swap partition preceding the xfs partition on
> the drive and after little inspection I can see the superblock has
> actually been swaped...
> I've been rather unhappy to find out xfsdump won't do much in this
> case and even worse my "dd" is not able to work with huge files ( hdc2
> is 40GB or something).
> I tried to things:
> 1) recompiling dd ( fileutils-4.1) - the same
> 2) using xfs_copy - after a while I managed to compile it all it can
> do is segfault...
> 
> I would be grateful for any suggestions.

Have you attempted to run xfs_repair on the filesystem? There are
alternate super blocks it can attempt to replace the original with.
However, if the swapper managed to get very far into the filesystem
beyond the super block then you probably lost the root inode too,
and at this point recovery becomes very difficult. However, repair may
be able to reconnect inodes into the lost+found dir.

Steve


> 
> -- 
> Michal Kurowski
> <mkur@xxxxxxxxxxxxxxxx>



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