LVM

Rudy Gevaert Rudy.Gevaert at UGent.be
Tue Sep 13 11:45:22 CEST 2005


Hello,

I'm trying to write a script that sets up LVM.

First I partition a partition the normal way, and mount it onto /lvm.

In my script I then umount /lvm. Then I initialize it for LVM

`$rootcmd pvcreate -f /dev/hda6`;

Then I create my volume group:
`$rootcmd vgcreate ldisk /dev/hda6`;

So far, so good:

Then I just need to make my logical volumes:
`$rootcmd lvcreate -L2000 -nlvol1 ldisk`;

But this doesn't work:
   /proc/misc: No entry for device-mapper found
   Is device-mapper driver missing from kernel?
   Failure to communicate with kernel device-mapper driver.
   /proc/misc: No entry for device-mapper found
   Is device-mapper driver missing from kernel?
   Failure to communicate with kernel device-mapper driver.
   Incompatible libdevmapper 1.01.00-ioctl (2005-01-17)(compat) and 
kernel driver
   striped: Required device-mapper target(s) not detected in your kernel
   lvcreate: Create a logical volume


Does anyone have any ideas?

Thanks in advance,

Rudy



-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert                             e-mail: Rudy.Gevaert at UGent.be
Directie ICT, Afdeling Infrastructuur
Groep Systemen                                      tel: +32 9 264 4734
Universiteit Gent                                   fax: +32 9 264 4994
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --




More information about the linux-fai mailing list