Re: filesystem dead, xfs_repair won't help

Emmanuel Florac
2017-04-11T16:14:00Z

[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]

Le Tue, 11 Apr 2017 16:07:56 +0300
Avi Kivity <avi@scylladb.com> écrivait:

> $ sudo xfs_db -c 'sb 0' -c 'check' /tmp/fsimage
> ERROR: The filesystem has valuable metadata changes in a log which
> needs to be replayed. Mount the filesystem to replay the log, and
> unmount it before re-running xfs_db. If you are unable to mount the
> filesystem, then use the xfs_repair -L option to destroy the log and
> attempt a repair. Note that destroying the log may cause corruption
> -- please attempt a mount of the filesystem before doing this.
>
>
> xfs_repair did not recognize the superblock, and started hunting for
> the second one, emitting dots in the process. I stopped it, since it
> failed on the live disk.
>

Can you mount the image, or does it fail immmediately because of the
CRC error?

--
------------------------------------------------------------------------
Emmanuel Florac | Direction technique
| Intellique
| <eflorac@intellique.com>
| +33 1 78 94 84 02
------------------------------------------------------------------------

[-- Attachment #2: Signature digitale OpenPGP --]
[-- Type: application/pgp-signature, Size: 181 bytes --]