[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701814: Re: Bug#701814: os-prober: damages XFS exported via iSCSI but not mounted locally; potential data loss



Hi,

> os-prober uses 'mount -o ro', or grub-mount from 1.45:

Please excuse me if this is trivial, but
'-o ro' does not prevent write access!
According to man:

"Note that, depending on the filesystem type,  state  and  kernel
behavior, the system may still write to the device. For example,
Ext3 or ext4 will replay its journal if the filesystem is dirty.
To prevent this kind of write access, you may want to mount ext3
or ext4 filesystem with "ro,noload" mount  options  or  set
the block device to read-only mode, see command blockdev(8)."

Maybe for XFS also?


Reply to: