linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Christopher Hawkins <chawkins@bplinux.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] kernel panic on lvcreate
Date: Tue, 3 Nov 2009 10:07:44 -0500 (EST)	[thread overview]
Message-ID: <29594910.781257260864226.JavaMail.javamailuser@localhost> (raw)
In-Reply-To: <21080952.761257260436402.JavaMail.javamailuser@localhost>

Hoping there's a quick answer to this issue and that I'm doing something wrong. Have verified this on 2 machines now, trying a third shortly. When I create a root snapshot on a fairly typical Centos 5.3 server:
lvcreate -s --size=500M --name=LogVol00_snapshot /dev/VolGroup00/LogVol00

then remove it:
lvremove /dev/VolGroup00/LogVol00_snapshot

then create another one later:
lvcreate -s --size=500M --name=LogVol00_snapshot /dev/VolGroup00/LogVol00

I get a kernel panic. The server reboots ok, no issues with corrupt volumes. And the snapshot does exist after the reboot, so it looks like it is getting created ok before the panic stops the machine. Interestingly, lvcreate can create a regular LV without a panic and also a snapshot of another volume, but not another snapshot of the root volume. 

BUT, if I rmeove the snapshot, reboot, and THEN create another root snapshot, it completes without errors. Any ideas on how to flush out lvm2 and manually do whatever is happening on reboot so I can create and remove snapshots without power cycling?

Thanks List!!
  
Christopher Hawkins

       reply	other threads:[~2009-11-03 15:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <21080952.761257260436402.JavaMail.javamailuser@localhost>
2009-11-03 15:07 ` Christopher Hawkins [this message]
2009-11-03 17:07   ` [linux-lvm] kernel panic on lvcreate Milan Broz
     [not found] <30507140.01257271012362.JavaMail.javamailuser@localhost>
2009-11-03 18:00 ` Christopher Hawkins
2009-11-03 18:58   ` Christopher Hawkins
2009-11-04 18:58   ` Stuart D. Gathman
2009-11-05 19:30     ` Stuart D. Gathman
     [not found] <6113890.251257449494023.JavaMail.javamailuser@localhost>
2009-11-05 19:38 ` Christopher Hawkins
2009-11-06 13:22   ` Christopher Hawkins
     [not found] <33462681.271260370580061.JavaMail.javamailuser@localhost>
2009-12-09 15:00 ` Christopher Hawkins
2009-12-09 20:18   ` Milan Broz
2009-12-10 15:08     ` Stuart D. Gathman
2009-12-10 15:00   ` Stuart D. Gathman
2009-12-10 15:04     ` Christopher Hawkins
2009-12-11 14:23       ` Christopher Hawkins

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=29594910.781257260864226.JavaMail.javamailuser@localhost \
    --to=chawkins@bplinux.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;
as well as URLs for NNTP newsgroup(s).