From: "François Valenduc" <francois.valenduc@tvcablenet.be>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Problem to remove LVM snaphots
Date: Sun, 18 Apr 2010 10:54:10 +0200 [thread overview]
Message-ID: <4BCAC8B2.7090505@tvcablenet.be> (raw)
Hello everybody,
I am using gentoo and I use LVM snapshots to make backups of my system.
Unfortunately, I always have a problem to remove these. LVM always
complains that it can't remove an open logical volume. However, the
snapshot is unmounted when I try to remove it. It seems it's only
possible to remove the snapshot if the corresponding volume is
deactivated. So, I am forced to boot on a live cd to remove the snapshot
of my root partition. Is this really normal ?
I already had that problem a long time ago and I thought it was solved
if a do a sync before removing the snapshot. It seems it's no more
sufficient. I am using LVM 2.02.56-r2, udev 149 and kernel 2.6.33.2
What is even more strange is that I can't even remove snapshot of
logical volumes which I have never mount. In fact, I do the following steps:
lvcreate -L5G -n test gentoo
lvcreate -n test1 -L1G -s /dev/gentoo/test
lvremove gentoo/test1
And, I always get this error: Can't remove open logical volume "test1"
Am I forgetting something ? Until 2 month agos, this worked without any
error. Does anybody have an idea about this problem ?
Thanks in advance for your help,
Fran�ois Valenduc
next reply other threads:[~2010-04-18 8:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-18 8:54 François Valenduc [this message]
2010-04-18 23:04 ` [linux-lvm] Problem to remove LVM snaphots Phillip Susi
2010-04-19 16:47 ` François Valenduc
2010-04-20 5:48 ` Luca Berra
2010-04-26 9:56 ` Zdenek Kabelac
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=4BCAC8B2.7090505@tvcablenet.be \
--to=francois.valenduc@tvcablenet.be \
--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 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.