public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Unable to mount and repair filesystems
@ 2015-01-29 17:36 Gerard Beekmans
  2015-01-29 20:18 ` Eric Sandeen
  0 siblings, 1 reply; 9+ messages in thread
From: Gerard Beekmans @ 2015-01-29 17:36 UTC (permalink / raw)
  To: xfs@oss.sgi.com


[-- Attachment #1.1: Type: text/plain, Size: 2093 bytes --]

Hi,

One of our VMware VMs crashed which has resulted in a few XFS filesystems unable to mount and be repaired.

Some VM details:

-          Distribution is CentOS 7

-          Partitions reside inside LVM

-          Tried CentOS provided xfsprogs-3.2.0-alpha2 as well as manually compiling 3.2.2

When attempting to mount:

[71895.922382] XFS (dm-9): Mounting Filesystem
[71895.994614] XFS (dm-9): Starting recovery (logdev: internal)
[71896.000910] XFS (dm-9): Metadata corruption detected at xfs_agf_read_verify+0x70/0x120 [xfs], block 0x753001
[71896.002304] XFS (dm-9): Unmount and run xfs_repair
[71896.003649] XFS (dm-9): First 64 bytes of corrupted metadata buffer:
[71896.005049] ffff8800b1200c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[71896.006468] ffff8800b1200c10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[71896.007799] ffff8800b1200c20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[71896.009116] ffff8800b1200c30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[71896.010482] XFS (dm-9): metadata I/O error: block 0x753001 ("xfs_trans_read_buf_map") error 117 numblks 1
mount: mount /dev/mapper/data-srv on /srv failed: Structure needs cleaning


xfs_repair:

xfs_repair /dev/mapper/data-srv
Phase 1 - find and verify superblock...
couldn't verify primary superblock - bad magic number !!!

attempting to find secondary superblock...
...
Found candidate secondary superblock...
Unable to verify superblock, continuing...

And on it goes until it eventually gives up.

There are two XFS partitions that are having these issues. The other 8 this VM has ended up repairing and mounting properly.

If there is anything I can do to fix these issues that would be appreciated. I have a bit of time before this VM needs to be up and running (which will involve formatting the filesystem and restoring from a backup). I'd love to help out the XFS project by providing any debug information you might find useful.

Regards,

Gerard Beekmans


[-- Attachment #1.2: Type: text/html, Size: 8467 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2015-01-30  0:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 17:36 Unable to mount and repair filesystems Gerard Beekmans
2015-01-29 20:18 ` Eric Sandeen
2015-01-29 21:27   ` Gerard Beekmans
2015-01-29 21:49     ` Eric Sandeen
2015-01-29 21:59       ` Gerard Beekmans
2015-01-29 22:15         ` Eric Sandeen
2015-01-29 23:12           ` Dave Chinner
2015-01-30  0:04             ` Gerard Beekmans
2015-01-29 22:57     ` Dave Chinner

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