Package: system-config-lvm Version: 1.1.4-2 Severity: normal I get the following error when I try to remove a snapshot: lvchange command failed. Command attempted: "/sbin/lvchange -an /dev/wd500/testA1" - System Error Message: Can't change snapshot logical volume "testA1"
Step to reproduce the error: * Create a logical volume (don't even mount it). * Create a snapshot of that LV. * Select the snapshot * Click on "Remove logical volume" Workaround: use the command "lvremove VolumeGroupName/Snapshotname" from the command-line. Note: running the command "lvchange -an /dev/wd500/testA1" fails too. running the command "lvremove wd500/testA1" works. I am not completely sure who should be blamed: - lvm2's lvchange because it shouldn't fail. - system-config-lvm beacause it shouldn't try to "lvchange -an" Regards, Franklin $lvchange -vvvv -an /dev/wd500/testA1 #lvmcmdline.c:914 Processing: lvchange -vvvv -an /dev/wd500/testA1 #lvmcmdline.c:917 O_DIRECT will be used #config/config.c:950 Setting global/locking_type to 1 #locking/locking.c:223 File-based locking selected. #config/config.c:927 Setting global/locking_dir to /var/lock/lvm #toollib.c:247 Using logical volume(s) on command line #locking/file_locking.c:164 Locking /var/lock/lvm/V_wd500 WB [..] #label/label.c:270 Using cached label for /dev/sda5 #label/label.c:270 Using cached label for /dev/sda5 #format_text/format-text.c:476 Read wd500 metadata (20) from /dev/sda5 at 41984 size 2304 #cache/lvmcache.c:90 Metadata cache: VG wd500 stored (2304 bytes). #metadata/pv_manip.c:272 /dev/sda5 0: 0 4768: solid-root-under(0:0) #metadata/pv_manip.c:272 /dev/sda5 1: 4768 2384: solid-usr(0:0) #metadata/pv_manip.c:272 /dev/sda5 2: 7152 476: solid-swap(0:0) #metadata/pv_manip.c:272 /dev/sda5 3: 7628 46080: solid-srv(0:0) #metadata/pv_manip.c:272 /dev/sda5 4: 53708 256: testA(0:0) #metadata/pv_manip.c:272 /dev/sda5 5: 53964 256: testA1(0:0) #metadata/pv_manip.c:272 /dev/sda5 6: 54220 5384: NULL(0:0) #lvchange.c:571 Can't change snapshot logical volume "testA1" #cache/lvmcache.c:71 Metadata cache: VG wd500 wiped. #locking/file_locking.c:59 Unlocking /var/lock/lvm/V_wd500 #device/dev-io.c:485 Closed /dev/sda5 -- System Information: Debian Release: 5.0.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages system-config-lvm depends on: ii gettext 0.17-4 GNU Internationalization utilities ii gsfonts 1:8.11+urwcyr1.0.7~pre44-3 Fonts for the Ghostscript interpre ii lvm2 2.02.39-7 The Linux Logical Volume Manager ii menu 2.1.41 generates programs menu for all me ii python 2.5.2-3 An interactive high-level object-o ii python-glade2 2.12.1-6 GTK+ bindings: Glade support ii python-gnome2 2.22.0-1 Python bindings for the GNOME desk ii python-gtk2 2.12.1-6 Python bindings for the GTK+ widge ii python-suppor 0.8.4 automated rebuilding support for P system-config-lvm recommends no packages. system-config-lvm suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org