From: Todd Gill <tgill@redhat.com>
To: linux-xfs@vger.kernel.org
Subject: XFS over device mapper dm-thin device
Date: Fri, 2 Feb 2018 16:45:33 -0500 [thread overview]
Message-ID: <147a1764-1988-4efd-4f02-e942a1001b4e@redhat.com> (raw)
Hi,
I'd like to be able to take a snapshot of an XFS filesystem on top of
dm-thin.
The goal for the snapshot is:
- fast to complete (couple seconds or better)
- independent of origin (UUID updated?)
- read/write
To satisfy the independent goal, I'm updating the UUID on the snapshot.
Currently "xfs_admin -U xxx" takes in the ballpark of 14 seconds on my
test system.
Is there a better approach to achieve the goals? Or can the UUID update
be changed to be faster?
I realize the filesystem can be mounted with "nouuid" option, but would
prefer to avoid the possible trouble of duplicate UUIDs.
This is a test script I've used to illustrate the time of "xfs_admin -U":
https://pastebin.com/PFA5YRuH
Thanks for any help,
Todd
next reply other threads:[~2018-02-02 21:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-02 21:45 Todd Gill [this message]
2018-02-02 22:35 ` XFS over device mapper dm-thin device Dave Chinner
2018-02-02 23:36 ` Eric Sandeen
2018-02-05 22:36 ` Dave Chinner
2018-02-05 22:37 ` Eric Sandeen
2018-02-06 6:11 ` Dave Chinner
2018-02-08 2:35 ` Eric Sandeen
2018-02-08 5:53 ` Darrick J. Wong
2018-02-08 8:25 ` Dave Chinner
2018-02-08 14:31 ` Eric Sandeen
2018-02-08 21:11 ` Dave Chinner
2018-02-09 1:39 ` Darrick J. Wong
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=147a1764-1988-4efd-4f02-e942a1001b4e@redhat.com \
--to=tgill@redhat.com \
--cc=linux-xfs@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).