On Wed, Dec 05, 2001 at 04:28:36PM -0600,
Steve Lord wrote:
> > > Dan Hollis schrieb:
> > > > How can one xfs_check/xfs_repair a root filesystem?
<snip>
> No, it is just that the environment xfs comes from (Irix)
> tends to use other mechanisms to fix root filesystems - like
> an alternate root, or a miniroot.
>
> It is also not 'install a cdrom', it is boot with a bootable
> cdrom.
>
> Doing a user space fixup of a live filesystem also relies upon
> the block device cache and the filesystem's cache of metadata
> being coherent. If they are not then this approach does not
> work and can lead to nasty crashes very quickly. XFS was until
> recently using completely different caches for metadata than
> the block interface, they now use the same memory - mostly.
> Until they are coherent there is absolutely no point in doing
> modifications to a mounted XFS fs from user space.
Huh. I could've sworn that I've xfs_repaired a filesystem
mounted readonly in the past...
Andrew Klaassen
- must be experiencing brain bit-rot...
|