lkml.org 
[lkml]   [2004]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: xfs partition refuses to mount
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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [from the cache]
©2003-2011 Jasper Spaans