xfs
[Top] [All Lists]

Re: Convert Log Format from old to v2 format

To: Oliver Jehle <oliver.jehle@xxxxxxxx>
Subject: Re: Convert Log Format from old to v2 format
From: Eric Sandeen <sandeen@xxxxxxx>
Date: 01 Oct 2002 09:51:19 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1033447554.997.11.camel@vorab>
References: <1029319626.1094.22.camel@vorab> <1029360439.21217.179.camel@xxxxxxxxxxxxxxxxxxxxxx> <1033447554.997.11.camel@vorab>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Oliver - Sorry for the delay, I guess this got lost in the shuffle.

You will need a recent xfsprogs version for this to work, there was a
bug in xfs_db that broke the script.

Also, this script has not been heavily tested, and there are still some
known problems with v2 logs, so please back up any important data
first...

There is a man page for the script, but it's out of date, so here are
the relevant bits:

[root@lite root]# ./xfs_chver 
usage:  xfs_chver [-f] -a
        xfs_chver [-f] [ -l version ] devname [devname ...]

     The -f option causes the xfs_chver command to reduce error checking and
     create file(s) which can be passed to xfs_db. These files are created in
     the current directory in the form <device>.xfs_chver.  These files can be
     applied to the filesystem, invoke the following command:

          xfs_db -x <device> < <device>.xfs_chver

     The -l option selects the log version, 1 or 2.

     -a may be used instead of devname, to change all xfs devices found
     in /etc/fstab

-Eric

On Mon, 2002-09-30 at 23:45, Oliver Jehle wrote:
> Hi Eric....
> 
> i like to convert my current system (evms1.0.0/xfs1.1.0) to evms(1.2.0)
> and need to convert my log format to version 2.
> 
> can you give me a hint where i can find the script to change the log
> format ????
> 
> thanks
> 
> oliver
> 
> 
> On Wed, 2002-08-14 at 23:27, Eric Sandeen wrote:
> > Hi Oliver -
> > 
> > There is a script here that's a perl wrapper around xfs_db - let me look
> > at it a bit and see what shape it's in.  If it looks sane I'll put it
> > out there for testing.
> > 
> > Thanks,
> > 
> > -Eric
> > 
> > 
> > On Wed, 2002-08-14 at 05:07, Oliver Jehle wrote:
> > > is there a way to convert the logging format from old xfs-filestem to
> > > the new version 2 logging in xfs without backup/recreate/restore the
> > > filesystem ??? for example unmounting, run utility, mount it... 
> > 
> > -- 
> > Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
> > sandeen@xxxxxxx   SGI, Inc.         651-683-3102
> > 
> -- 
> Oliver Jehle                  
> Monex AG
> Föhrenweg 18
> FL-9496 Balzers
> 
> Tel: +423 388 1988
> Fax: +423 388 1980
> 
> ----
> I've not lost my mind. It's backed up on tape somewhere.
> ----
-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.         651-683-3102

Attachment: xfs_chver
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Convert Log Format from old to v2 format, Eric Sandeen <=