Mailinglist Archive: opensuse-bugs (4691 mails)

< Previous Next >
[Bug 581590] New: lvm2 lvremove on snapshots works only sometimes
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sat, 20 Feb 2010 15:51:20 +0000
  • Message-id: <bug-581590-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=581590

http://bugzilla.novell.com/show_bug.cgi?id=581590#c0


Summary: lvm2 lvremove on snapshots works only sometimes
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: gleixner@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7)
Gecko/20091222 SUSE/3.5.7-1.1.1 Firefox/3.5.7

while trying to remove a lvm2 snapshot it works sometimes, and sometimes not.
Probably related to bug #556177

Reproducible: Sometimes

Steps to Reproduce:
1. create
lvcreate -s -L 5g -n test-snap /dev/vg_system/testvol

(shows actually bug #556177 )

2. check

lvs |grep test-snap
test-snap vg_system swi-a- 5.00G encrypted 0.00
lvdisplay /dev/vg_system/test-snap
--- Logical volume ---
LV Name /dev/vg_system/test-snap
VG Name vg_system
LV UUID 7Mk7e9-Qifn-WBS0-jA0G-z8AF-0H6g-gyUXdS
LV Write Access read/write
LV snapshot status active destination for /dev/vg_system/encrypted
LV Status available
# open 0
LV Size 32.00 GB
Current LE 8192
COW-table size 5.00 GB
COW-table LE 1280
Allocated to snapshot 0.00%
Snapshot chunk size 4.00 KB
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:25


3. try to remove
willie:~ # lvremove /dev/vg_system/test-snap
Can't remove open logical volume "test-snap"
willie:~ # lvremove /dev/vg_system/test-snap
Can't remove open logical volume "test-snap"
willie:~ # lvremove /dev/vg_system/test-snap
Can't remove open logical volume "test-snap"
willie:~ # lvremove /dev/vg_system/test-snap
Can't remove open logical volume "test-snap"
willie:~ # lvremove /dev/vg_system/test-snap
Can't remove open logical volume "test-snap"
willie:~ # lvremove /dev/vg_system/test-snap
Can't remove open logical volume "test-snap"
willie:~ # lvremove /dev/vg_system/test-snap
Can't remove open logical volume "test-snap"
willie:~ # lvremove /dev/vg_system/test-snap
Can't remove open logical volume "test-snap"
willie:~ # lvremove /dev/vg_system/test-snap
Do you really want to remove active logical volume "test-snap"? [y/n]: y
Logical volume "test-snap" successfully removed

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups