[Libguestfs] [PATCH] v2v: Give better diagnostics if filesystem falls back to read-only (RHBZ#1567763).

Pino Toscano ptoscano at redhat.com
Mon Apr 16 10:28:58 UTC 2018


On Monday, 16 April 2018 11:48:08 CEST Richard W.M. Jones wrote:
> Some filesystems fall back silently to read-only if there are problems
> such a dirty filesystem and an unrecoverable journal.  Almost all
> conversions involve writing to the root filesystem, so these will
> inevitably fail later on with a strange error message.
> 
> Test the root filesystem is writable by creating and deleting a
> temporary file, and if the creation fails then give better
> diagnostics.

Another possibility here could be to use the "norecover" mount option.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20180416/253daeef/attachment.sig>


More information about the Libguestfs mailing list