xfs
[Top] [All Lists]

Re: [PATCH] xfs_metadump: Allow operation on frozen filesystems

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH] xfs_metadump: Allow operation on frozen filesystems
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 20 Jul 2009 16:39:39 -0400
Cc: xfs mailing list <xfs@xxxxxxxxxxx>
In-reply-to: <4A64C063.2070807@xxxxxxxxxxx>
References: <4A64C063.2070807@xxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Jul 20, 2009 at 02:07:15PM -0500, Eric Sandeen wrote:
> The xfs_metadump manpage says that it works on a frozen filesystem,
> but in reality it does not, and fails because the fs still looks
> mounted & writable.
> 
> I don't think we have a way to test for frozen (!) so add a -F 
> option which essentially overrides the xfs_db "-i" option with
> a later "-r" which is more forgiving.

Hmm, that feels a bit dagerous to me.  What about just adding an
option to xfs_metadump to freeze the filesystem itself before performing
the dump and then unfreeze it when done?

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