From: Mario Becroft <mb@gem.win.co.nz>
To: linux-xfs@oss.sgi.com
Subject: Proper method of snapshotting XFS with external log using LVM2
Date: Mon, 30 Jul 2007 07:32:18 +1200 [thread overview]
Message-ID: <1185737538.12064.44.camel@server.ak.quickcircuit.co.nz> (raw)
I am using XFS and LVM2 under Linux. My XFS filesystems have an external
log.
What is the correct method of creating an LVM2 snapshot of volumes
containing an XFS filesystem with external log?
Do I need to snapshot the main filesystem volume and the log volume?
Should I be using xfs_freeze to ensure that the filesystem is not
modified between when I create the filesystem snapshot and the log
snapshot?
Or is there a special procedure for atomically creating both snapshots?
Or should I not be using an external log? If not, won't this decrease
performance?
In the past I have successfully used xfs_freeze and created separate
snapshots of the filesystem and log volumes. However, I am not sure
whether this is the recommended approach.
Thanks for any help.
--
Mario Becroft <mb@gem.win.co.nz>
next reply other threads:[~2007-07-29 20:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-29 19:32 Mario Becroft [this message]
2007-08-01 12:17 ` Proper method of snapshotting XFS with external log using LVM2 David Chinner
2007-08-01 12:23 ` Mario Becroft
2007-08-01 14:09 ` David Chinner
2007-08-01 15:02 ` Mario Becroft
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=1185737538.12064.44.camel@server.ak.quickcircuit.co.nz \
--to=mb@gem.win.co.nz \
--cc=linux-xfs@oss.sgi.com \
/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