From: Milan Broz <mbroz@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Alexander Skwar <alexanders.mailinglists+nospam@gmail.com>
Subject: Re: [linux-lvm] Can't remove snapshot at first
Date: Wed, 25 Aug 2010 13:30:24 +0200 [thread overview]
Message-ID: <4C74FED0.5000603@redhat.com> (raw)
In-Reply-To: <loom.20100825T100856-592@post.gmane.org>
On 08/25/2010 10:12 AM, Alexander Skwar wrote:
> I noticed, that rather often, I'm unable to remove an unused
> snapshot volume at first command execution. See this:
>
> --($ ~)-- sudo /sbin/lvremove /dev/Sys/Home-Backup_Snapshot
> Can't remove open logical volume "Home-Backup_Snapshot"
>
> --($ ~)-- sudo /sbin/lvremove /dev/Sys/Home-Backup_Snapshot
> Do you really want to remove active logical volume Home-Backup_Snapshot? [y/n]:
>
> Between those two commands, I did not do anything at all! I ran the
> commands directly after each other in like 5 seconds or so.
I t is possible that udev run some async scan in reaction to even (during snap manipulation).
Distro maintainers should probably update lvm udev rules
(and possibly udisks rules etc) to work relieably.
Upstream lvm2 with combination of recent udev and udisks package
should have this fixed (hopefully).
Milan
next prev parent reply other threads:[~2010-08-25 11:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 8:12 [linux-lvm] Can't remove snapshot at first Alexander Skwar
2010-08-25 11:21 ` Peter Rajnoha
2010-08-25 12:08 ` Alexander Skwar
2010-08-25 11:30 ` Milan Broz [this message]
2010-08-25 12:14 ` Alexander Skwar
2010-08-25 12:19 ` Peter Rajnoha
2010-08-25 12:36 ` Alexander Skwar
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=4C74FED0.5000603@redhat.com \
--to=mbroz@redhat.com \
--cc=alexanders.mailinglists+nospam@gmail.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).