public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfs_repair taking a long time
@ 2008-06-19 21:57 Ash
  2008-06-20 13:04 ` Ashley Oviatt
  0 siblings, 1 reply; 2+ messages in thread
From: Ash @ 2008-06-19 21:57 UTC (permalink / raw)
  To: xfs

I am having the same problem as the person in this thread:


Which is xfs_repair has been running for 16 hours on a 1 TB raid array. 
It gave the same errors as this thread, saying that it could not use any 
of the super blocks it found. The last email in the thread says:

-----------------------------------------

xfs-repair did find candidate secondary superblocks - it discarded them
for some reason or another. If they were ok, all repair would have done
is copied them to block zero and then continued.

I'm suggesting that you manually do this step, and then see if repair
will run.

 >    Before wrapping this up, if you could just clarify a couple 
things.  If I
 >    look at the bytes at the beginning of each physical part of the LVM's,
 >    what am I looking for?  "XFSB"?

yes.

 >    If I do find that byte string, why
 >    couldn't xfs_repair find it when it did the scan and what do I do 
with it
 >    if I do find one?

As I said above, xfs-repair did find some, but rejected them for some
(unknown) reason. if you find one, copy it over block zero of the partition,
and see if repair will run. Like I said, though, you'll probably want to
back up th partition first, or at least run repair in no-modify mode.

--------------------------------------

The poster, Dave Chinner, says to manually copy the superblock to the 
right place, but not how to do it. I am familiar with dd, but would like 
to know the exact command or steps to take to replace the primary 
superblock manually with a secondary superblock.

Ashley

(I sent this earlier but I haven't seen it come over the list yet, so 
I'll send it again. Please forgive the duplicate.)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-20 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-19 21:57 xfs_repair taking a long time Ash
2008-06-20 13:04 ` Ashley Oviatt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox