Question: Does XFS journal data or only metadata?
msz at astrouw.edu.pl
Thu Feb 9 05:45:38 CST 2012
Steve Lord <lord <at> xfs.org> writes:
> > OK - After looking at the strace I checked the _other_ superblocks.
> > As I only altered SB0, the other superblocks SB1+ still contains the
> > old logstart value.
> > Wrote "logfile 0" to SB 0 - SB 15, and it all works! :)
> > It this the way to do it, or am I missing something obvious?
> That is the way to do it, the tools are more picky than they used
> to be about this. Which is why getting the facility built into
> the tools would help a lot - since it would do the fixup of all
> superblocks itself.
This is a pretty old thread but I have not found anything newer, so
maybe somebody is still watching.
I went through internal->external log procedure as described here and
linked-to articles a few years ago and it worked fine. These days I got
into similar problem after reconfiguring a disk which holds the
external log for a XFS partition. The question to the gurus is
Is it possible to migrate an external log to internal if the XFS
filesystem was originally created without an internal log, i.e. it was
put on external device straight at mkfs.xfs invocation?
xfs_growfs still says, after 7 years, at least in the man page, that
-l/-i/-x options are not implemented. Is it really so?
PS. Just to comment on multiple SBs issue. The need for manually rewrite
ALL superblocks' data was mentioned in the first comment (by Eric
Sandeen) to the excellent HOWTO written by Steve Lord in
The thread is titled:
It just begs the question everywhere: how to move a journaling
log to a new device?
More information about the xfs