From: Kristina Clair <kclair@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] snapshots and nfs
Date: Tue, 18 Jan 2005 14:54:41 -0500 [thread overview]
Message-ID: <dff3752705011811541b040c4e@mail.gmail.com> (raw)
In-Reply-To: <20050118194449.GQ26670@agk.surrey.redhat.com>
On Tue, 18 Jan 2005 19:44:49 +0000, Alasdair G Kergon <agk@redhat.com> wrote:
> On Tue, Jan 18, 2005 at 12:36:06PM -0500, Kristina Clair wrote:
> > so, is there a way to have lvcreate not suspend the volume? I'm using
> > xfs, so I should be able to freeze the filesystem.
>
> Quick question: you're not running xfs_freeze are you?
> If so, try without, as device-mapper does the equivalent of that
> internally and xfs can't handle things if it gets run twice.
No, if I run xfs_freeze first, lvcreate hangs when it tries to suspend
the volume, so I stopped doing that.
Now, if I run lvcreate shortly after the machine is booted, it runs
successfully. However, if I try to run the same command the next day,
after it's been online and the webservers have had the filesystem
mounted, it hangs when trying to suspend the volume.
So I'm wondering if the problem is that the webservers have the
filesystem mounted and in use (apache is serving pages from it), I'm
trying to find a way to keep the filesystem mounted over nfs but still
be able to create snapshots, and I was wondering if I could use
xfs_freeze and have lvcreate not try to suspend the volume.
Thanks,
Kristina
next prev parent reply other threads:[~2005-01-18 19:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-18 17:36 [linux-lvm] snapshots and nfs Kristina Clair
2005-01-18 19:44 ` Alasdair G Kergon
2005-01-18 19:54 ` Kristina Clair [this message]
2005-01-18 20:01 ` Alasdair G Kergon
2005-01-18 20:43 ` Kristina Clair
2005-01-19 17:36 ` [linux-lvm] lvcreate snapshot problems Kristina Clair
2005-01-18 20:07 ` [linux-lvm] snapshots and nfs Randall A. Jones
2005-01-18 21:10 ` Kristina Clair
2005-01-19 2:08 ` [linux-lvm] kernel bug of snapshot Chung Hsien Hu
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=dff3752705011811541b040c4e@mail.gmail.com \
--to=kclair@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox