xfs
[Top] [All Lists]

Re: XFS as Root filesystem

To: Jim Mostek <mostek@xxxxxxx>
Subject: Re: XFS as Root filesystem
From: Phil Schwan <phil@xxxxxxxxxxxxx>
Date: Thu, 13 Apr 2000 13:21:19 -0400
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200004131619.LAA55955@fsgi344.americas.sgi.com>; from Jim Mostek on Thu, Apr 13, 2000 at 11:19:00AM -0500
References: <200004131528.KAA07085@jen.americas.sgi.com> <200004131619.LAA55955@fsgi344.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
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

-- 
Phil Schwan, Captain Popetastic, Linuxcare Canada

<Prev in Thread] Current Thread [Next in Thread>