[one-users] LVM volume doesn't get deleted after VM is nuked
Andrzej
andrzej at mielnet.pl
Tue Jan 8 03:57:17 PST 2013
Dear Community,
Yes, it's me again. As per a subject field, I have a weird problem when
LVM volume doesn't get deleted after VM is being nuked. It seems that
`sudo lvremove` is failing as LVM volume is still open/active. Or maybe
I'm barking on the wrong tree...
I've got two KVM hosts and both seems affected. Effectively machine gets
deleted OK but it leaves LVM volume behind so I have to login and
lvremove it manually to free up some space. Not a show-stopper but a bit
of inconvenience really.
Has anyone else experienced this issue? Here is related excerpt from the
logs:
Tue Jan 8 11:32:42 2013 [TM][D]: Message received: TRANSFER FAILURE 33
Error deleting /var/lib/one/datastores/0/33/disk.0
Tue Jan 8 11:32:42 2013 [TM][D]: Message received: LOG I 34 Command
execution fail: /var/lib/one/remotes/tm/lvm/delete superbanana01:/
var/lib/one//datastores/0/34/disk.0 34 101
Tue Jan 8 11:32:42 2013 [TM][D]: Message received: LOG E 34 delete:
Command " DEV=$(readlink /var/lib/one/datastores/0/34/disk.0)
Tue Jan 8 11:32:42 2013 [TM][D]: Message received: LOG I 34 sudo
lvremove -f $DEV" failed: Can't remove open logical volume "lv-one-4-3
4-0"
Tue Jan 8 11:32:42 2013 [TM][D]: Message received: LOG E 34 Error
deleting /var/lib/one/datastores/0/34/disk.0
Tue Jan 8 11:32:42 2013 [TM][D]: Message received: LOG I 34 ExitCode: 5
Tue Jan 8 11:32:42 2013 [TM][D]: Message received: TRANSFER FAILURE 34
Error deleting /var/lib/one/datastores/0/34/disk.0
Let me know if you need more info. Many thanks as always for your help.
Andrzej
More information about the Users
mailing list