can't mount XFS from a read-only device
Eric Sandeen
sandeen at sandeen.net
Fri Oct 9 14:28:47 CDT 2009
Emmanuel Florac wrote:
> Le Fri, 09 Oct 2009 13:59:13 -0500 vous écriviez:
>
>> try mount -o norecovery (and maybe -o nobarrier)
>
> Thank you, that worked.
>
> I can't help but think that when given the "ro" option, XFS shouldn't
> try to write a single bit to the underlying device, or else what's the
> point?
For a dirty log, we do still recover -unless- the underlying device is
RO. Otherwise you get a corrupt fs mounted ro.... other filesystems do
the same thing, FWIW.
For a clean log I agree; what kernel was this? I vaguely remember a fix
in this area.
Which option solved it? (norecovery I'm guessing)
-Eric
More information about the xfs
mailing list