On 1/29/15 11:36 AM, Gerard Beekmans wrote: > 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 ................ all zeros... > [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 !!! bad first block, too. Are you certain that the volume / storage behind dm-9 is in decent shape? (i.e. is it really even an xfs filesystem?) A VM crashing definitely should not result in a badly corrupt/unmountable filesystem. Is there any other interesting part of the story? :) -Eric _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs