xfs
[Top] [All Lists]

Re: Should xfs_repair take this long?

To: David Chinner <dgc@xxxxxxx>
Subject: Re: Should xfs_repair take this long?
From: Thomas Walker <walker@xxxxxxxxx>
Date: Fri, 16 Mar 2007 11:15:12 -0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20070315231031.GP6095633@melbourne.sgi.com>
References: <45F92D8C.3090708@stsci.edu> <20070315150422.7bc5d178@harpe.intellique.com> <45F952F2.6000008@stsci.edu> <20070315231031.GP6095633@melbourne.sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

I see in other posts that "parted" is sometimes a culprit in these problems. Indeed, in my case I did use "parted" to create a gpt partition table on these xfs volumes and I was asked my parted to use the secondary signature.


--- snip ---

i also remember something about parted (maybe...) finding a backup gpt
signature at the end of a disk, and "helpfully" copying it over the
front end if so. This was a bug. sgi guys do you remember?


But for this one has to invoke parted, and commit the operations done,
am I right?


if I recall, even invoking parted could do this.
--- snip ---



So maybe I got bit the same way. parted may be overwritten something at the head of the volume. Is there any way to repair the super block though? It seems that everyone agrees xfs can't do anything until it has a super block somewhere and I don't seem to have one. If there's no way to repair, then what about recovery? I see mention of possibly doing an xfs dump to another disk, reformat the original volume, and then xfs restore back. Is there any online procedure for how to do that if it applies to me here?

  Thomas Walker

David Chinner wrote:

On Thu, Mar 15, 2007 at 10:06:42AM -0400, Thomas Walker wrote:


The terminal shows a lot of "." dots running across the screen quickly, and every few hours it says this;


.....................................................found candidate secondary superblock...
unable to verify superblock, continuing...
found candidate secondary superblock...
unable to verify superblock, continuing...



The primary superblock is not good, and it's trying to find a valid secondary superblock. Doesn't sound promising so far - reapir can't start until a valid superblok is found....






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