[linux-lvm] hello sir

Patrick Caulfield caulfield at sistina.com
Mon Apr 8 02:18:02 UTC 2002


On Sat, Apr 06, 2002 at 06:38:00PM +0800, seaward at eyou.com wrote:
> dear sir:
>     I am a lvm user in China. I found 2 bugs when I using it.
>     One: the patches of lvm-1.0.3 for kernel-2.4.18 has a wrong definition
> in
> lvm-internal.h:
> #define lvm_sectsize(dev) get_hardblocksize(dev)
> should change to
> #define lvm_sectsize(dev) get_hardsect_size(dev)

Sounds like the patch hasn't been generated correctly. 

Make sure you configured LVM with the right kernel directory:

./configure with-kernel_dir=/your/kernel/here

Then do a "make clean" and a "make" in the PATCHES directory.

-- 

patrick





More information about the linux-lvm mailing list