All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Brown <lvm@davidb.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Help, lvm2 snapshot and XFS ,	using xfs_freeze to do this, but then lvcreate hang.
Date: Tue, 26 Sep 2006 22:32:51 -0700	[thread overview]
Message-ID: <451A0D03.9000204@davidb.org> (raw)
In-Reply-To: <625ccb870609262203m400d149ax47ef5396dd96236@mail.gmail.com>

bowen zheng wrote:

> Help, lvm2 snapshot and XFS , using xfs_freeze to do this, but then
> lvcreate hang.

The lvcreate does the xfs_freeze for you, so if you run xfs_freeze, then
the lcreate will hang.  Running it with '-u' should allow the lvcreate to
hang.

> I use lvm2 and xfs both.  If I do not use xfs_freeze before, I can use
> lvcreate snapshot the lv. And it work fine for some static files or
> lv, but not for running system such as / (root) which will generate a
> log of I/O error.

What kind of errors are you getting.  I've done this on active filesystems
for backup purposes, and not had any problems.

Dave

  reply	other threads:[~2006-09-27  5:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27  5:03 [linux-lvm] Help, lvm2 snapshot and XFS , using xfs_freeze to do this, but then lvcreate hang bowen zheng
2006-09-27  5:32 ` David Brown [this message]
2006-09-27 13:33   ` Steve Feehan
2006-09-27 16:49     ` David Brown

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=451A0D03.9000204@davidb.org \
    --to=lvm@davidb.org \
    --cc=linux-lvm@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.