Your message dated Mon, 23 Feb 2009 23:03:51 +0100
with message-id <[email protected]>
and subject line This is not a bug
has caused the Debian Bug report #466141,
regarding lvm2: error message during shutdown (Can't deactivate volume group...)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
466141: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466141
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lvm2
Version: 2.02.29-1
Severity: normal
My root fs is on lvm and each time I shutdown, I get this message:
Can't deactivate volume group "vg-main" with 1 open logical volume(s)
It seems it is annoyed by the fact that lvm must be deactivated, but root fs
has not been
unmounted...
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (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/bash
Versions of packages lvm2 depends on:
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.24-3 The Linux Kernel Device Mapper use
ii libreadline5 5.2-3 GNU readline and history libraries
lvm2 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Christian Gogolin <[email protected]> wrote:
> The volume group lvm is unable to deactivate on shutdown contains the
> root, home and swap partition.
>
> Although this does not seem to produce any additional problems on my
> machines, it would be nice if someone could make a comment on whether
> it is dangerous in any way to power off while there are still active
> volume groups.
If a volume group contains mounted (even ro) logical volumes, it can't
be deactivated. On the other hand, deactivating a volume group does
not entail writing to the disk, so powering off with an active volume
group isn't bad in itself, if all of its logical volumes are "clean"
(eg. mounted read-only). If root is on a logical volume, you will
always get a warning about its logical volume being in use during
shutdown.
--
Feri.
--- End Message ---