Re: allow mounting w/crc-checking disabled? (was Re: filesystem dead, xfs_repair won't help)

Emmanuel Florac
2017-04-11T12:57:29Z

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

Le Mon, 10 Apr 2017 11:05:38 -0700
L A Walsh <xfs@tlinx.org> écrivait:

> I'm sure it wouldn't be trivial, but creating a separate
> file system, "XFS2" from the original XFS sources that responded
> to data or metadata corruption by returning empty data where
> it was impossible to return anything useful instead of flagging
> the disk as "bad", would be a way to allow data recovery to
> the extent that it made sense (assuming the original sources
> couldn't do the same toggling off a config-flag).

It would probably much easier to add an option to mount the filesystem
without crc, similar to "norecovery", that doesn't replay the journal.
It would be of course read-only, but in a similar case it would be much
easier and practical for everyone.

So far I believed that metadata CRCs were a promise of safer
filesystems; now that I've setup several multi-hundred terabytes
volumes with CRC enabled, I'm getting nervous...

--
------------------------------------------------------------------------
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 --]