Bug#692605: "Can't deactivate volume group" at shutdown (root filesystem on lvm)

A. Hegerfeld debianbugreports_296714 at hegerfeld.org
Wed Nov 7 19:57:15 UTC 2012


Package: lvm2
Version: 2.02.66-5
Severity: normal


Hello there,

I'm using lvm2 inside of my virtual machines (created with kvm) and my 
setup looks like this:

# lvs
   LV   VG     Attr   LSize Origin Snap%  Move Log Copy%  Convert
   home system -wi-ao 4.66g
   root system -wi-ao 1.86g
   var  system -wi-ao 3.00g


/etc/fstab

UUID=xxx                                           /boot ext3    
noatime         0       2
/dev/mapper/system-root                   / ext4    
noatime,errors=remount-ro 0       1
/dev/mapper/system-home                /home          ext4 
noatime         0       2
/dev/mapper/system-var                    /var              ext4 
noatime         0       2


The system is running fine, but when I power off the machine I get this 
error every time just after the (successfull) unmouting of the local 
filesystems:

"Shutting down LVM Volume Groups  Can't deactivate volume group "system" 
with 1 open logical volume(s) failed!"

This error message is reproducible, I got it on several machines. The 
LVM was set up by the debian installer.

There is (as far as I can see) no loss of data, but other distributions 
don't got this problem.

Please let me know if you need any further information.

Regards,
A.



-- System Information:
Debian Release: 6.0.6
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ii  dmsetup                 2:1.02.48-5      The Linux Kernel Device 
Mapper use
ii  libc6                   2.11.3-4         Embedded GNU C Library: 
Shared lib
ii  libdevmapper1.02.1      2:1.02.48-5      The Linux Kernel Device 
Mapper use
ii  libreadline5            5.2-7            GNU readline and history 
libraries
ii  libudev0                164-3            libudev shared library
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 
init scrip

lvm2 recommends no packages.

lvm2 suggests no packages.

-- no debconf information



More information about the pkg-lvm-maintainers mailing list