[Linux-cluster] Upgrading filesystem from gfs -> gfs2

Robert Peterson rpeterso at redhat.com
Tue Jan 9 19:23:20 UTC 2007


Nate Carlson wrote:
> Hello,
>
> Just curious - how hard is it to upgrade a filesystem from gfs to gfs2?
>
> I'm not finding a FAQ for this anywhere.. :(
Hi Nate,

I wrote a little tool called gfs2_convert whose job is to convert a file 
system
from gfs1 to gfs2.  You just do something like:

gfs2_convert /your/file/system

And after it gives you some warnings and asks you the all-important "are 
you sure"
question, it converts it to gfs2.  Pretty simple, really.  But bear in 
mind that gfs2
is still being worked on, so you should not use it for a production box yet.

And always--ALWAYS--back up your gfs1 file system before running the tool,
because it's a brand new app and who knows; it might have bugs.  I 
tested it,
even under conditions where I would interrupt it during critical phases 
and restart
it, etc., so hopefully it won't have problems.  And if you do have 
problems, you
know who to open the bugzilla up against.  ;)

I also recommend that you run gfs_fsck on your file system first, just 
in case there's
some kind of weird fs corruption that might confuse the tool.

Regards,

Bob Peterson
Red Hat Cluster Suite




More information about the Linux-cluster mailing list