All of lore.kernel.org
 help / color / mirror / Atom feed
From: Klaus Strebel <klaus.strebel@gmx.net>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	linux-xfs@oss.sgi.com
Subject: Re: [linux-lvm] lvcreate goes into deep-sleep while creating an xfs snapshot
Date: Thu, 09 Jun 2005 12:16:57 +0200	[thread overview]
Message-ID: <42A81719.9080801@gmx.net> (raw)
In-Reply-To: <6A58CFF91886D54BBDA1FE988C4DF79D025065@bagex01.baghus-lan.net>

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.

XFS-Guys: shouldn't xfs_freeze be removed from xfs_cmds? It's doing more 
harm than use ( if any use at all ), so ...
-- 
Mit freundlichen Gr�ssen / best regards

Klaus Strebel, Dipl.-Inform. (FH), mailto:klaus.strebel@gmx.net

/"\
\ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
/ \

  reply	other threads:[~2005-06-09 10:17 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 [this message]
2005-06-09 15:49   ` AJ Lewis
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=42A81719.9080801@gmx.net \
    --to=klaus.strebel@gmx.net \
    --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.