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

Bug#229328: lvmcfg not installing lvm10 et al



Hi Andrew,


Apart from lvmcfg not installing lvm-common + lvm10 or similar,
there is one more thing to check for:

If a "standard" 2.4 or 2.6 Debian Kernel is installed/used (which
is what d-i does), it will have "CONFIG_DEVFS_FS=y" or in other
words: devfs support built in. In that case lvm expects devfs
being mounted (!) on /dev (!!). See below.

This means that devfs must be installed as well AND activated
(/etc/default/devfs) --- the default is MOUNT=no.

I stumbled into this again today ...


Hope this helps.
Erich



----------------------------------------------------------------------
from installing lvm10 seperately, debconf screen:

 lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu [!!] LVM tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk  
 x                                                                           x  
 x LVM interaction with devfs                                                x  
 x                                                                           x  
 x LVM does work with Linux 2.4 kernels that have devfs in them, however     x  
 x there are some important things you need to know.                         x  
 x                                                                           x  
 x if devfs is compiled into the kernel then it MUST be mounted on /dev      x  
 x Otherwise LVM will not be able to locate your Physical Volumes. You must  x  
 x also use the full devfs device names in LVM commands rather than the      x  
 x shortened devfsd names.                                                   x  
 x                                                                           x  
 x This is particularly important because the default Debian 2.4 Linux       x  
 x kernels are built in this way. So, if you plan to stick with a default    x  
 x kernel and want to use lvm you should also install the devfsd package.    x  
 x                                                                           x  
 x                                  <Ok>                                     x  
 x                                                                           x  
 mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj  
                                                                                

cat /etc/default/devfsd 
# mount point for devfs
MOUNTPOINT=/dev

# mount on boot?
MOUNT=yes




Reply to: