From: AJ Lewis <alewis@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: linux-xfs@oss.sgi.com
Subject: Re: [linux-lvm] lvcreate goes into deep-sleep while creating an xfs snapshot
Date: Thu, 9 Jun 2005 10:49:49 -0500 [thread overview]
Message-ID: <20050609154949.GA4872@null.msp.redhat.com> (raw)
In-Reply-To: <42A81719.9080801@gmx.net>
[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]
On Thu, Jun 09, 2005 at 12:16:57PM +0200, Klaus Strebel wrote:
> Sven Riedel schrieb:
> >Hi,
> >I'm creating a backup script for a database using lvm snapshots.
> >The script ran fine for a few test runs, then I added xfs_freeze -f
> >just before the lvcreate command, as per HOWTO recipe. Now
> >lvcreate went into deep-sleep and wont wake up:
> >
> >update:~/bin# ps ax | grep lvcreate
> >25053 pts/2 D<L+ 0:00 lvcreate -s -L 55M -n tables_snap
> > /dev/database_vg/tables_lv
> >
> >Running lvdisplay in a different terminal to see if lvm itself
> >is still seeing all LVs results in lvdisplay going into
> >deep-sleep mode as well. Doing an strace -p 25053
> >doesn't display anything (strace won't catch my interrupts
> >either, but according to ps it's in a regular sleep).
> >
> >dmesg doesn't say anything to this situation.
> >
> >Is there a known issue with snapshots and xfs_freeze?
> >Any way I can gather pertinent debugging info?
> >
> >I'm running lvm 2.01.04 (package from debian unstable).
>
> The HOWTO is way old, with LVM2 the XFS filesystem is 'frozen'
> automaticly on the mount -onouuid,ro ( not quite sure, but probably also
> for LVM1 ..., think it's in the XFS code ).
> So, forget xfs_freeze. It's freezing your box, not your filesystems.
I'm *slowly* working on getting the howto updated for LVM2. I should have the
xfs_freeze-related lines out today. I've been meaning to do that for a while.
Please e-mail me if you see other things that are wrong in the HowTo.
Thanks,
--
AJ Lewis Voice: 612-638-0500
Red Hat Inc. E-Mail: alewis@redhat.com
One Main Street SE, Suite 209
Minneapolis, MN 55414
Current GPG fingerprint = D9F8 EDCE 4242 855F A03D 9B63 F50C 54A8 578C 8715
Grab the key at: http://people.redhat.com/alewis/gpg.html or one of the
many keyservers out there...
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-06-09 15:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-09 9:05 [linux-lvm] lvcreate goes into deep-sleep while creating an xfs snapshot Sven Riedel
2005-06-09 10:16 ` Klaus Strebel
2005-06-09 15:49 ` AJ Lewis [this message]
2005-06-10 0:19 ` [linux-lvm] lvm2 disk replacement cwinl
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=20050609154949.GA4872@null.msp.redhat.com \
--to=alewis@redhat.com \
--cc=linux-lvm@redhat.com \
--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 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.