# SLES11 SP2 LVM BUG

**URL:** <https://forums.suse.com/t/sles11-sp2-lvm-bug/22491>\
**Category:** SLES Configure-Administer\
**Created:** [April 9, 2012, 10:25am UTC](https://forums.suse.com/t/sles11-sp2-lvm-bug/22491 "2012-04-09T10:25:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy\_s](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@andy\_s](https://forums.suse.com/u/andy_s)\
**Post date:** [April 9, 2012, 10:25am UTC](https://forums.suse.com/t/sles11-sp2-lvm-bug/22491/1 "2012-04-09T10:25:18Z")

</div>

On SLES11 SP1 Xen server I used LVM snapsots to backup VM’s.  
My script successfully did the following:

1. shutdown VM
2. run lvcreate to make a snapshot
3. start VM
4. backup the snapshot
5. run lvremove to remove the snapshot

After upgrade to SLES11 SP2 lvremove brings an error:  
“Can’t remove open logical volume…”

There is a workaround:

dmsetup remove \<volume\_group\>-\<snapshot\_volume\>  
dmsetup remove \<volume\_group\>-\<snapshot\_volume\>-cow  
lvremove \<volume\_group\>/\<snapshot\_volume\>

But I hope this workaround is only temporary till next patch for LVM:(

---

<div class="post-metadata">

**Author:** ![KEVIN1](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@KEVIN1](https://forums.suse.com/u/KEVIN1)\
**Post date:** [April 9, 2012, 9:56pm UTC](https://forums.suse.com/t/sles11-sp2-lvm-bug/22491/2 "2012-04-09T21:56:03Z")

</div>

andy s wrote:  
[color=blue]

> But I hope this workaround is only temporary till next patch for LVM[/color]

Forum visitors will appreciate your warning and workaround, but  
Novell/SUSE do not monitor these forums and may not be aware of the  
issue.

There are a couple of open bugs involving lvremove but they aren’t  
necessarily the same as the one you have encountered. The best way to  
ensure the issue is resolved is to report it to Novell/SUSE.

It is always a good idea to open a Service Request to make sure the  
issue is logged. Each additional SR involving an open bug will only  
raise the visibility of that bug and improve the chances of an early  
resolution.

–  
Kevin Boyle - Knowledge Partner  
If you find this post helpful and are using the web interface,  
show your appreciation and click on the star below…
