public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS file system corrupted beyond repair?
@ 2008-01-23 17:15 Fong Vang
  2008-01-23 17:18 ` Mark Magpayo
  2008-01-24  2:06 ` David Chinner
  0 siblings, 2 replies; 3+ messages in thread
From: Fong Vang @ 2008-01-23 17:15 UTC (permalink / raw)
  To: xfs

One of our servers cannot mount an XFS file system after reboot.  xfs_check
and xfs_repair cannot fix the problem.  Both indicate that there are no
valid superblock can be found.  Are there any tool that can help reconstruct
the file system.  Doing a hexdump of the partition, it appears there are
valid filenames still on there.  Also, the disk has no bad block or hardware
issues.

Is there anyone on the XFS development team that we can hire to examine the
file system more closely and see if it can be reconstructed?


[[HTML alternate version deleted]]

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

* RE: XFS file system corrupted beyond repair?
  2008-01-23 17:15 XFS file system corrupted beyond repair? Fong Vang
@ 2008-01-23 17:18 ` Mark Magpayo
  2008-01-24  2:06 ` David Chinner
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Magpayo @ 2008-01-23 17:18 UTC (permalink / raw)
  To: Fong Vang, xfs


> -----Original Message-----
> From: xfs-bounce@oss.sgi.com [mailto:xfs-bounce@oss.sgi.com] On Behalf
Of
> Fong Vang
> Sent: Wednesday, January 23, 2008 9:16 AM
> To: xfs@oss.sgi.com
> Subject: XFS file system corrupted beyond repair?
> 
> One of our servers cannot mount an XFS file system after reboot.
> xfs_check
> and xfs_repair cannot fix the problem.  Both indicate that there are
no
> valid superblock can be found.  Are there any tool that can help
> reconstruct
> the file system.  Doing a hexdump of the partition, it appears there
are
> valid filenames still on there.  Also, the disk has no bad block or
> hardware
> issues.
> 
> Is there anyone on the XFS development team that we can hire to
examine
> the
> file system more closely and see if it can be reconstructed?
> 
> 
> [[HTML alternate version deleted]]
> 

Check the archive for a thread entitled "Repairing a possibly incomplete
xfs_growfs command?"  (It's pretty recent)  I had this issue last week
and the XFS guys were able to help me out.  Maybe there is something in
there that can help.  Most notably, check the output of this command:

# xfs_db -r -c 'sb 0' -c p <device>

If you see agcount = 160, then the solutions provided may apply to your
situation as well.

Cheers,

Mark

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

* Re: XFS file system corrupted beyond repair?
  2008-01-23 17:15 XFS file system corrupted beyond repair? Fong Vang
  2008-01-23 17:18 ` Mark Magpayo
@ 2008-01-24  2:06 ` David Chinner
  1 sibling, 0 replies; 3+ messages in thread
From: David Chinner @ 2008-01-24  2:06 UTC (permalink / raw)
  To: Fong Vang; +Cc: xfs

On Wed, Jan 23, 2008 at 09:15:49AM -0800, Fong Vang wrote:
> One of our servers cannot mount an XFS file system after reboot.  xfs_check
> and xfs_repair cannot fix the problem.  Both indicate that there are no
> valid superblock can be found.

What happened before the reboot?

FWIW, is this on a md block device? If so, did it reconstruct correctly?

To find out what is in the superblock, can you post the output
of 'xfs_db -r -c "sb 0" -c p <dev>'?

Also, it could be instructive to see the exact errors check and
repair were outputting. Can you post the output of failing
xfs_repair/xfs_check?

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group

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

end of thread, other threads:[~2008-01-24  2:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 17:15 XFS file system corrupted beyond repair? Fong Vang
2008-01-23 17:18 ` Mark Magpayo
2008-01-24  2:06 ` David Chinner

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