xfs
[Top] [All Lists]

Re: Export log of an existing XFS filesystem

To: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Export log of an existing XFS filesystem
From: Steve Lord <lord@xxxxxxx>
Date: Thu, 26 Jul 2001 09:54:43 -0500
Cc: Simon Matter <simon.matter@xxxxxxxxxxxxxxxx>, linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: Message from "Nathan Scott" <nathans@wobbly.melbourne.sgi.com> of "Thu, 26 Jul 2001 18:49:07 +1000." <10107261849.ZM223612@wobbly.melbourne.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
> hi,
> 
> On Jul 26,  8:59am, Simon Matter wrote:
> > Subject: Export log of an existing XFS filesystem
> > Is it possible to export the log of an existing XFS filesystem
> > to an external device? I'd like to change my configuration
> > without having to recreate the filesystem.
> > 
> 
> Steve sent some mail the other day describing a procedure
> for converting an internal log to an external log using
> xfs_db - it should be in the mail archive, somewhere quite
> recent.  He also gave lots of caveats, saying test it first,
> its risky, etc, and you'll need Eric's endian bugfix in the
> current version of xfs_db (see xfsprogs CHANGES file).

Yes, it should be in the list archive somewhere, if you do a clean
unmount and use a recent xfs_db to relocate the log then you can run
xfs_repair to zero it before the first mount. You can ignore the
endian flipping stuff in the email if you have a recent xfs_db.
Note that this procedure does not fix up the backup superblocks
and if you ever need to recover the filesystem from these you may
run into problems.

Steve


> 
> cheers.
> 
> -- 
> Nathan



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