Bug#331342: lvm2: lvs fails to display snapshot volumes
Barasz Mihaly
klao at cs.elte.hu
Mon Oct 3 02:12:19 UTC 2005
Package: lvm2
Version: 2.01.14-3
Severity: important
After a recent upgrade lvs and lvdisplay stopped to display snapshot
volumes. Example:
# lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
data vg0 -wi-ao 84.00G
home vg0 owi-ao 50.00G
#
One can see that "home" is an origin for some snapshot, but can't see
the snapshot volume.
It may be interesting, that the snapshot can be used, it appears in
/dev/vg0:
# ls -l /dev/vg0
total 0
lrwxrwxrwx 1 root root 20 Oct 3 03:32 data -> /dev/mapper/vg0-data
lrwxrwxrwx 1 root root 20 Oct 3 03:32 home -> /dev/mapper/vg0-home
lrwxrwxrwx 1 root root 22 Oct 3 03:32 tegnap -> /dev/mapper/vg0-tegnap
#
(the one named "tegnap" is the snapshot.)
Snapshots still can be created/removed/used, the only problem that they are
"invisible" now.
I've checked the vanilla versions from
ftp://sources.redhat.com/pub/lvm2/ and neither 2.01.13 nor 2.01.14
works, so the bug is probably in the upstream.
The last version that works for me is 2.01.09.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-ac12
Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2)
Versions of packages lvm2 depends on:
ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy
ii libc6 2.3.5-6 GNU C Library: Shared libraries an
ii libdevmapper1.01 2:1.01.05-1 The Linux Kernel Device Mapper use
ii libncurses5 5.4-9 Shared libraries for terminal hand
ii libreadline5 5.0-11 GNU readline and history libraries
ii libselinux1 1.26-1 SELinux shared libraries
ii lvm-common 1.5.20 The Logical Volume Manager for Lin
lvm2 recommends no packages.
-- debconf information:
lvm2/snapshots:
More information about the pkg-lvm-maintainers
mailing list