Bug#402511: lvm-common: bogus errors during shutdown when using encrypted partition on LV

Frans Pop elendil at planet.nl
Sun Dec 10 23:13:18 CET 2006


Package: lvm-common
Version: 1.5.20
Severity: important

(Note that I personally think that this should be fixed before Etch as it 
is a recent regression and likely to cause unneeded BRs during Etch, but 
the errors are probably too harmless to warrant RC severity.)

Since very recently I'm seeing the following messages (transcribed, 
possibly not completely literal) during the last stage of shutdown:

<snip>
Stopping remaining crypto disks
Shutting down LVM Volume Groups
  /dev/dm-6: open failed, no such device or address
  /dev/dm-7: open failed, no such device or address
  Can't deactivate volume group "strider" with open LVs
Stopping early crypto disks
</snip>

I have one VG ("strider") with 6 LVs. Of those 6 LVs, two hold an 
encrypted filesystem: home and swap.

The errors for /dev/dm-[67] appeared only recently and seem bogus to me.
The "Can't deactivate volume group" message has always been there and is 
expected as I have root on an LV in VG "strider".

My dm devices are as follows:
/dev/dm-0: swap
/dev/dm-1: root
/dev/dm-2: usr
/dev/dm-3: var
/dev/dm-4: home
/dev/dm-5: srv
/dev/dm-6: home-crypt
/dev/dm-7: swap-crypt

So, it looks like the lvm init script is trying to access crypto dm 
devices that I would guess have already been disabled/removed during 
the "Stopping remaining crypto disks" phase.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages lvm-common depends on:
ii  libc6                2.3.6.ds1-8 GNU C Library: Shared libraries
ii  module-init-tools    3.3-pre3-1  tools for managing Linux kernel mo
ii  modutils             2.4.27.0-6  Linux module utilities
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20061210/a22e41e7/attachment.pgp


More information about the pkg-lvm-maintainers mailing list