xfs
[Top] [All Lists]

Re: Permit xfs_repair -n on readonly device

To: Chris Pascoe <c.pascoe@xxxxxxxxxxxxxx>
Subject: Re: Permit xfs_repair -n on readonly device
From: Nathan Scott <nathans@xxxxxxx>
Date: Sun, 3 Feb 2002 12:59:57 +1100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1012633098.3c5b8e0a3079f@internal.itee.uq.edu.au>; from c.pascoe@itee.uq.edu.au on Sat, Feb 02, 2002 at 04:58:18PM +1000
References: <1012633098.3c5b8e0a3079f@internal.itee.uq.edu.au>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Sat, Feb 02, 2002 at 04:58:18PM +1000, Chris Pascoe wrote:
> Hi,
> 
> May I suggest this patch to xfs_repair - to make a "xfs_repair -n" 
> actually open the device read-only.  This permits running an 
> xfs_repair -n over a readonly snapshot to check if the snapshot is 
> okay.  It should be safe to do, as a nomodify repair shouldn't be 
> modifying the filesystem anyway.
> 

Thanks Chris - I'll put this in soon.

cheers.

-- 
Nathan


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