[PATCH] xfs_metadump: Allow operation on frozen filesystems

Christoph Hellwig hch at infradead.org
Mon Jul 20 15:39:39 CDT 2009


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?




More information about the xfs mailing list