On Apr 13, Jim Mostek wrote:
> I would like to see XFS mount as root before we worry about handling a
> read-only device.
I'm still working on that :)
> Also, we need to see how XFS handles "file system
> SHUTDOWN" after the read-only mount. In this case, xfs_repair should be
> run on the file system (instead of fsck) and then mounted. This is the way
> Linux does things, right?
Yes. If for whatever reason the log replay fails (or any other
inconsistency, really), the FS is shutdown and should be fscked.
> If XFS burned on a read-only device, recovery should say nothing to do
> and not try to write it. Right?
Correct--As long as it's burned with a consistent filesystem (ie, log
head == log tail), it will never trigger that code.
Phil Schwan, Captain Popetastic, Linuxcare Canada