[linux-lvm] Can't remove snapshot at first

Alexander Skwar alexanders.mailinglists+nospam at gmail.com
Wed Aug 25 08:12:02 UTC 2010


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.

Why's that so?

--($ ~)-- sudo /sbin/lvm version
  LVM version:     2.02.70(2) (2010-07-06)
  Library version: 1.02.52 (2010-07-06)
  Driver version:  4.17.0

--($ ~)-- uname -a
Linux winnb000546 2.6.35-ARCH #1 SMP PREEMPT Sat Aug 21 07:23:08 UTC 2010 i686
Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux

This is a Arch Linux system.


More information about the linux-lvm mailing list