Bug#565676: lvm2: initrd script could be extended beyond what it currently supports.

Mike Mestnik cheako at visi.com
Sun Jan 17 21:27:33 UTC 2010

Package: lvm2
Version: 2.02.39-7
Severity: normal

I believe that a lot can be done to extend the usefulness of the 
local-top/lvm2 script.  Currently the script supports a number of
formats for root and swap filesystem names, but it's vary limited.


This leaves UUID file systems and a whole lot more.  I suggest that
a handful of kernel command line parameters are added.  There is
specifying the vg of the root and swap partitions and perhaps it
should just allow the mounting of any number of lvms, including "".

Would there be any objection to carrying out this task and attaching
the new script to this bug?

There is also the version of lvm to use, I feel the user should be
able to force this with a nolvm2 and/or a uselvm1.

The script provided by this package and the one provided by
initramfs-tools(lvm) are vary similar, perhaps a join and
removing lvm2 from this package and having the initramfs-tools
pkg have one script that covers both.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages lvm2 depends on:
ii  libc6                        2.10.2-2    GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.27-4 The Linux Kernel Device Mapper use
ii  libreadline5                 5.2-3.1     GNU readline and history libraries
ii  lsb-base                     3.2-20      Linux Standard Base 3.2 init scrip

Versions of packages lvm2 recommends:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device Mapper use

lvm2 suggests no packages.

-- debconf information:

More information about the pkg-lvm-maintainers mailing list