xfs
[Top] [All Lists]

Re: fatal error -- couldn't initialize XFS library

To: Steve Lord <lord@xxxxxxx>
Subject: Re: fatal error -- couldn't initialize XFS library
From: Nathan Scott <nathans@xxxxxxx>
Date: Tue, 3 Jul 2001 08:33:21 +1000
Cc: stimits@xxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <200106281413.f5SEDWq15561@xxxxxxxxxxxxxxxxxxxx>; from lord@xxxxxxx on Thu, Jun 28, 2001 at 09:13:32AM -0500
References: <200106281413.f5SEDWq15561@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi,

On Thu, Jun 28, 2001 at 09:13:32AM -0500, Steve Lord wrote:
> 
> ...
> 3. edit /etc/mtab and make sure that / shows up with a ro mount:
> 
> /dev/hda1 / xfs ro 0 0
> 

there's a couple of problems in the userspace code which we can
fix up - firstly, there's a bug in the current readonly mount
detection code; we can also do a better job to workaround the
readonly-root-so-no-mtab-updates problem by using /proc/mounts
if its there (falling back to /etc/mtab if its not).

> ...
> You can now run xfs_repair -n on the filesystem, it will still not let
> you do an actual repair on it.
> 

yup - for the record, thats the correct behaviour with -n (must be
a readonly mount); and repair should not run at all on a mounted fs
without the -n option (irrespective of readonly state).

cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>
  • Re: fatal error -- couldn't initialize XFS library, Nathan Scott <=