Results 1 to 2 of 2
I'm using slackware current/2.6.9 kernel, and I'm trying to merge two disks into one using lvm2. I was able to create pv's and vg. When I issue the command to ...
- 12-18-2004 #1Just Joined!
- Join Date
- Dec 2004
- Posts
- 5
LVM2 library incompatibility?
I'm using slackware current/2.6.9 kernel, and I'm trying to merge two disks into one using lvm2. I was able to create pv's and vg. When I issue the command to create a logical volume, I get a libdevmapper incompatibility error, and I can't go any farther.
device mapper is compiled into the kernel. Here is the output of lvdisplay after I issued lvcreate.
Any thoughts?Code:/dev/mapper/control: open failed: No such device or address Is device-mapper driver missing from kernel? /dev/mapper/control: open failed: No such device or address Is device-mapper driver missing from kernel? Incompatible libdevmapper 1.00.17-ioctl (2004-04-19)(compat) and kernel driver --- Logical volume --- LV Name /dev/vg0/lv0 VG Name vg0 LV UUID Z0NTuu-5H67-aP8M-aNVn-67G0-ph2G-YeJypU LV Write Access read/write LV Status NOT available LV Size 26.64 GB Current LE 6821 Segments 2 Allocation next free (default) Read ahead sectors 0
How do I mkreiserfs on this logical volume? there appears to be no /dev/vg0/lv0
- 12-19-2004 #2Just Joined!
- Join Date
- Dec 2004
- Posts
- 5
I fixed it myself.
It seems the FAQ on the first howto I was reading gave this command.
I found out later that I was looking at an 'unofficial' lvm howto.Code:# mknod /dev/mapper/control c 63 $number
The real LVM howto tells you to issue this command
Which worked. I had to issue an lvremove and recreate my logical volume in order to get the proper /dev/volume_group/logical_volume device.Code:# mknod /dev/mapper/control c 10 $number


Reply With Quote