linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* XFS over device mapper dm-thin device
@ 2018-02-02 21:45 Todd Gill
  2018-02-02 22:35 ` Dave Chinner
  0 siblings, 1 reply; 12+ messages in thread
From: Todd Gill @ 2018-02-02 21:45 UTC (permalink / raw)
  To: linux-xfs


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-02-09  1:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-02 21:45 XFS over device mapper dm-thin device Todd Gill
2018-02-02 22:35 ` 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

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).