xfs
[Top] [All Lists]

Re: converting XFS log v1 -> v2

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: converting XFS log v1 -> v2
From: Mihai RUSU <dizzy@xxxxxxxxx>
Date: Mon, 17 Feb 2003 19:29:34 +0200 (EET)
Cc: Linux XFS List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.44.0302171023490.20624-100000@xxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Mon, 17 Feb 2003, Eric Sandeen wrote:

> There is an "xfs_chver" script under Irix that uses xfs_db to do some
> conversions like this - I was working on making it work with v2
> logs at one point, but I did not get it to a releaseable state.
>
> It involved setting flags in the "version" field of the superblock
> and setting the logsunit field as well.  I'll have to bug Steve and
> Glen to remember if there are any pitfalls to this method.
>
> -Eric
>

Hmm, Im wondering, xfs_repair -L doesnt actually rebuild a complete log ?
I mean what info from the log does it use ? Like if it uses only the
version field and the UUID, we can "convert" the log by setting only the
version field and then xfs_repair -L on it to make the rest.

Just a hint :)

----------------------------
Mihai RUSU

Disclaimer: Any views or opinions presented within this e-mail are solely
those of the author and do not necessarily represent those of any company,
unless otherwise specifically stated.


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