LVM known problems, 07/01/98 Known problems with then LVM 0.4 alpha release. 1. With the 2.0 kernel, the lvm.c does not compile. The patch below below fixes this. lxmike:/usr/src/LVM/0.4alpha/kernel $ diff -u lvm.c.save lvm.c|less --- lvm.c.save Mon Jun 29 08:25:49 1998 +++ lvm.c Mon Jun 29 08:26:31 1998 @@ -389,7 +389,7 @@ while( lock && lock != current->pid ) { printk ( "lvm_chr_open: %s is locked by pid %d ...\n", lvm_name, lock); interruptible_sleep_on ( &lvm_wait); - if ( current->signal &~ current-blocked) { + if ( current->signal & ~current->blocked) { MOD_DEC_USE_COUNT; return -EINTR; } 2. When compiling the lvm.o module for SMP you need to fix the compiler options manually (you need to add at least a -D__DMP__ in the kernel/Makefile). 3. An initial vgscan is required before pvcreate can be used for the first time. pvcreate checks for /etc/lvmtab and /etc/lvmtab.d which do not exist. vgscan will create an empty one. 4. The installation process as documented in INSTALL only works with kernel versions 2.0.33, 2.1.98, 2.1.101, 2.1.102 and 2.1.105. Separate patches of the kernel modifications are available (this affects the files ksyms.c and ll_rw_blk.c). You can obtain them at ftp://ftp.msede.com/pub/linux/lvm/