Re: Can't remove snapshot at first

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux