Bug#416160: Should remove logical volumes when physical volumes
disappear
Joachim Breitner
nomeata at debian.org
Sun Mar 25 12:54:39 UTC 2007
Package: lvm2
Version: 2.02.06-4
Severity: normal
Hi,
I guess this is an upstream issue or filed against the kernel, or against device mapper,
and a debateables well. Anyways, I trust you to know what to do with it:
When no LVM is used and a physical device (e.g. USB disk) is removed,
then the device disappears and, depending on the mount options it seems,
the file system gets unmounted or re-mounted read-only.
But when there is a layer of LVM between the filesystem and the physical
device, the FS does not seem to notice about this and does not unmount.
I think that if any of the physical devices a logical volume is on
disappears, the lv should disappear as well, to make things consistent.
Maybe the whole volume group should disappear, I’m not sure about that.
Greetings,
Joachim
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.otto
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages lvm2 depends on:
ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libdevmapper1.02 2:1.02.12-1 The Linux Kernel Device Mapper use
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libreadline5 5.2-2 GNU readline and history libraries
ii libselinux1 1.32-3 SELinux shared libraries
ii libsepol1 1.14-3 Security Enhanced Linux policy lib
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