[linux-lvm] How to build LVM2 tools for 2.6?

Charles Martin martinc at ucar.edu
Mon Dec 22 12:14:01 UTC 2003


I'm running Linux 2.6.0 on a system that
started life as Red Hat 9. I want to install
the LVM2 tools (v2.0.8) so that I can resurrect
my LVM disks.

When I attempt to build the tools (./configure; make install),
device/dev-io.c fails to compile, due to a missing definition
of BLKGETSIZE64. Clearly, the compile needs to be looking
at the headers in the 2.6.0 tree.

I've seen plenty of mention of people running LVM2 successfully
with the 2.6 test kernels. Can anyone tell me how to build the
tools?

Thanks,
Charlie





More information about the linux-lvm mailing list