[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#335315: yaird: vgchange does not find logical volumes on a dm-crypt device



Package: yaird
Version: 0.0.11-6
Severity: normal

Hi,

my root partition is located in a LVM2 on a dm-crypt device. vgchage
doesn't find any VGs during boot.

The reason is that vgchange doesn't look for VGs on other device mapper devices per default. To enable this, this line has to be added to /etc/lvm/lvm.conf:

types = [ "device-mapper", 1 ]

I modified /etc/yaird/Templates.cfg and added the line

FILE "/etc/lvm/lvm.conf"

which contains the types option above, and now the initrd finds the VG.
However, it bails out later with "usr/lib/yaird/exec/run_init: opening
console: No such file or directory", but that's another story.

Regards,
Tino

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.11-swsusp2.1.9
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages yaird depends on:
ii  dash                         0.5.2-8     The Debian Almquist Shell
ii  libc6                        2.3.5-7     GNU C Library: Shared libraries an
ii  libhtml-template-perl        2.6-2       HTML::Template : A module for usin
ii  libparse-recdescent-perl     1.94.free-1 Generates recursive-descent parser
ii  perl                         5.8.7-7     Larry Wall's Practical Extraction 

yaird recommends no packages.

-- no debconf information



Reply to: