xfs
[Top] [All Lists]

Re: xfs partition refuses to mount

To: Steve Lord <lord@xxxxxxx>
Subject: Re: xfs partition refuses to mount
From: Ricky Beam <jfbeam@xxxxxxxxxxxxxx>
Date: Sat, 29 May 2004 15:35:34 -0400 (EDT)
Cc: Linux Kernel Mail List <linux-kernel@xxxxxxxxxxxxxxx>, XFS List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <40B8D24A.4080703@xfs.org>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Sat, 29 May 2004, Steve Lord wrote:
>You have turned on XFS debug, which is really a developer option. It
>looks like you have a corrupt journal though. A non debug kernel may
>still refuse to mount it and you would need to run xfs_repair from
>a rescue disk in that case.

Unless xfs_repair has been changed recently, all it will be able to do it
delete (zero) the journal.  If it detects metadata in the journal, it'll
stop and tell you mount the filesystem to replay the journal.  Personally,
I think that's sorta stupid... if I could mount the fs, I wouldn't be
running xfs_repair. (I've had the journal become spooge on a sparc64
box a few times.)

There should be a way to instruct the kernel's rootfs mount to not look
at the log.  I don't know if one can pass any generic mount options at
boot. ("ro"/"rw" and rootfs type, but I don't know of any others.)  This
would be handy for more than just xfs, btw.

--Ricky



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