* [linux-lvm] can't remove snapshots
@ 2009-08-09 23:31 Florian Pritz
2009-08-09 23:36 ` Alasdair G Kergon
0 siblings, 1 reply; 3+ messages in thread
From: Florian Pritz @ 2009-08-09 23:31 UTC (permalink / raw)
To: linux-lvm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I want to use snapshots for my backup script, but I have a strange problem:
# lvremove -f /dev/VG0/homesnap
Can't remove open logical volume "homesnap"
lsof/fuser don't show anything and it's not mounted. This happens if
roughly 50% of the cases and after that the creation of snapshots
sometimes also fails. If you have any idea what could be wrong please
tell me. Thanks.
Distro: Archlinux
Kernel: 2.6.30.4
LVM version: 2.02.48 (2009-06-30)
Library version: 1.02.33 (2009-06-30)
Driver version: 4.14.0
- --
Thanks
Florian Pritz -- {flo,bluewind}@server-speed.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIcBAEBAgAGBQJKf1xcAAoJEG0WVcFM4cE+BHwP/0s6vj2p87AuUxkWbgbGfowX
a6pa5Z+0DdU+cqjDJ9wIDfRadtIdBZi0MKfslPxci8dopSOTEiEsrRMNQGyaUdk3
np5NSBDAmI7/tzUVJ5d+eA4hk4f3VMFgMv/l4vx5xsVrZxdGAB8ACcFJ4n4tikVz
e557ajALBxrQDoVu9xotTqSGB/iI4zpY0iFM/dvamqPn8eJLp40NIK5JjGBAMCxA
99U+xBPx9zgSNrhQTEOo/yWovx1TCn5JmDRJwhErKzQoqCuuKoe1ZnFmmLf+vWeP
zVX6GOYG/eF8KG+v32UHknMkcQjBMhytT8LmePpZ2LekBziNZMhVjZLfgegUEl1v
9Xst5Fm1IZn6gTPza27hdcQJhqxLfVB5LJtZjromlFFKux8J6YyQoUW+b0BJZ+A+
Hvi096tmcM5TjjMdz0yAgBk+ZE6LxLHOKzLyFb7jyQ4Zl5cmK3TJw+poMgp3T+pw
pvb4hoakoidLGVNO6tR9Ukes82fctp7fNNtRNpMdOdruU9+KllBYm1ZRubAZZyLV
tPckfEFGaNPUJltxqu/xSJZnZfUnb8yppmNi5EvL+fY26WHrUgDdZ3+lJS0ec5jh
HLPLTYeGPkRDyKogJgamP2Sk+pXfGjYcZYwLjDC44Zbjsj2mmwfFqvX9fu5WiWCX
/AQK29m5OC6P0FFRRyvw
=OxPD
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] can't remove snapshots
2009-08-09 23:31 [linux-lvm] can't remove snapshots Florian Pritz
@ 2009-08-09 23:36 ` Alasdair G Kergon
2009-08-09 23:42 ` Florian Pritz
0 siblings, 1 reply; 3+ messages in thread
From: Alasdair G Kergon @ 2009-08-09 23:36 UTC (permalink / raw)
To: LVM general discussion and development
On Mon, Aug 10, 2009 at 01:31:40AM +0200, Florian Pritz wrote:
> lsof/fuser don't show anything and it's not mounted. This happens if
> roughly 50% of the cases and after that the creation of snapshots
Then check your udev rules - wouldn't be the first time udev
tried to use a device lvm wanted to remove...
[Quick test is to stop udev processing events temporarily and see if the
problem disappears.]
Alasdair
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] can't remove snapshots
2009-08-09 23:36 ` Alasdair G Kergon
@ 2009-08-09 23:42 ` Florian Pritz
0 siblings, 0 replies; 3+ messages in thread
From: Florian Pritz @ 2009-08-09 23:42 UTC (permalink / raw)
To: LVM general discussion and development
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alasdair G Kergon wrote:
> On Mon, Aug 10, 2009 at 01:31:40AM +0200, Florian Pritz wrote:
>> lsof/fuser don't show anything and it's not mounted. This happens if
>> roughly 50% of the cases and after that the creation of snapshots
>
> Then check your udev rules - wouldn't be the first time udev
> tried to use a device lvm wanted to remove...
>
> [Quick test is to stop udev processing events temporarily and see if the
> problem disappears.]
Hey cool that seems to help. Gonna try to find the offending rule.
Thanks.
- --
Florian Pritz -- {flo,bluewind}@server-speed.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIcBAEBAgAGBQJKf17zAAoJEG0WVcFM4cE+uRAQANcFSYRvP5EE//QeaNaaytb1
1hjHcvsplD9zsHfkYL/AvIbw2vdzIzYHFlMnBNZHIJXNgLt8g1NinKI2Wl2JXHsy
YZ37aqnRBSXXN8Q2X5zrKOgRTuKmK8j037fKVm79Hv8eIUTIbu6NnW2KQgss+izb
p6syRAxLA1JBMccyhFZeWglNInvfHSHwpGP+fGOxnI0DrJiE1BunTb35hUNjaeS1
lj4nTbg7gBctL4KR0YW4OHqNz8/35oM+T+jccY1Cec2G3qNFkQ+Q7j3z7ObJCBFx
gZM5Y4GOiZWH1Z1q+fN/SkNYE2p+sXWUM0mpf8ERURE14n4NgMtm8DVIhmVYCUJH
cSyCfmFIADL749mzo/hmWv6hPkCKWqHxAxNdVWyJMnPLQ4StpcK3PwLoh2VWCX8w
O6GvvLHOU//pB2p86v0sHqs6+J7jcdum39EMkaj7ubiqszRWj3iFEM/QNrpAjIqy
ClOI1RQZHh4S9kWxea0lMs78tF+hvY4/u+tKTo2MpAxoNuunXd9vY0X4h971sRVT
OZiB93qed1d0R7aPfhLEjX7/Qje0KEeDyQbQdcTATbL0ccy/WTLu3l9Y6RJTWiIA
r7Wfswl/i7fl85xY/tQU1Eluy+h1J//P0ZrGjGvzN+QSVSGEWEBJLFruHlH4YYkj
uhlJzprwbaDR+3IZUn3s
=XAST
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-09 23:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-09 23:31 [linux-lvm] can't remove snapshots Florian Pritz
2009-08-09 23:36 ` Alasdair G Kergon
2009-08-09 23:42 ` Florian Pritz
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).