From: Dave Chinner <david@fromorbit.com>
To: Michal Szymanski <msz@astrouw.edu.pl>
Cc: linux-xfs@oss.sgi.com
Subject: Re: Question: Does XFS journal data or only metadata?
Date: Fri, 10 Feb 2012 09:03:53 +1100 [thread overview]
Message-ID: <20120209220353.GG7479@dastard> (raw)
In-Reply-To: <loom.20120209T122422-618@post.gmane.org>
On Thu, Feb 09, 2012 at 11:45:38AM +0000, Michal Szymanski wrote:
> 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
> following:
>
> 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?
Not easily. The log region needs to be contiguous, and removed from
the free space btrees, which means it is a tricky operation to do.
It's possible that all you need to do is find enough contiguous free
space somewhere and point the superblock at that (with xfs_db), then
run repair to fix up the free space trees. I would not try this on a
filesystem that holds data you care about, though, until you know
whether it works...
> 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?
Very few people ever ask about doing this or need it and it's quite
complex to implement and test, so it's never been done. It will
probably stay unimplemented until someone who really needs it helps
implement it.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2012-02-09 22:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200502031005.57621.as@cohaesio.com>
[not found] ` <200502031716.59894.as@cohaesio.com>
[not found] ` <200502031724.56665.as@cohaesio.com>
[not found] ` <200502031740.01081.as@cohaesio.com>
[not found] ` <4202594B.3030204@xfs.org>
2012-02-09 11:45 ` Question: Does XFS journal data or only metadata? Michal Szymanski
2012-02-09 22:03 ` Dave Chinner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120209220353.GG7479@dastard \
--to=david@fromorbit.com \
--cc=linux-xfs@oss.sgi.com \
--cc=msz@astrouw.edu.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox