Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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.

    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
    Any thoughts?
    How do I mkreiserfs on this logical volume? there appears to be no /dev/vg0/lv0

  2. #2
    Just 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.
    Code:
    # mknod /dev/mapper/control c 63 $number
    I found out later that I was looking at an 'unofficial' lvm howto.
    The real LVM howto tells you to issue this command
    Code:
    # mknod /dev/mapper/control c 10 $number
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •