linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Dave Broudy <dave@broudy.net>
To: linux-lvm@redhat.com
Subject: [linux-lvm] lvrename hanging on snapshots
Date: Mon, 04 Dec 2006 22:45:14 -0700	[thread overview]
Message-ID: <4575076A.8010505@broudy.net> (raw)

When I try to run "lvrename vg00 usr_p0 usr_p1" the command hangs, the 
CPU goes to 100% utilization in wait state, and the whole system pretty 
much hangs (not completely, but enough that I can't do a clean shutdown 
and have to power cycle).

Prior to running this command vg00/usr_p0 exists and is a snapshot. 
vg00/usr_p1 does not exist.

All the other LVM operations I try work fine, including creating and 
removing snapshots. lvrename -t works, but obviously doesn't do anything.

I have managed to capture a strace as well as run lvm_dump.sh -a, and 
the results are here: http://www.broudy.net/lvrename/. The lvm_dump is 
not from when the system is hung.

The last thing in the strace is a couple of ioctls on 
/dev/mapper/control, DM_DEV_SUSPEND being the last.

Kernel is stock Debian Sarge 2.6.8-2-k7

LVM VERSION:
  LVM version:     2.01.04 (2005-02-09)
  Library version: 1.01.00-ioctl (2005-01-17)
  Driver version:  4.1.0
DEVICE MAPPER VERSION:
Library version:   1.01.00-ioctl (2005-01-17)
Driver version:    4.1.0

I'm more that will to debug this problem, try patches, etc, I reproduced 
this on a machine that isn't very critical. But I'm not sure what steps 
to take.

Thanks,
Dave

-- 
Dave Broudy
dave@broudy.net
Phone: 303.278.0908      Mobile: 703.401.5955        Fax: 303.674.6840
http://www.broudy.net/
AIM/YIM: dbroudy

                 reply	other threads:[~2006-12-05  5:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4575076A.8010505@broudy.net \
    --to=dave@broudy.net \
    --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;
as well as URLs for NNTP newsgroup(s).