{"action":"created","issue":{"url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/228","repository_url":"https://api.github.com/repos/Entware-ng/Entware-ng","labels_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/228/comments","events_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/228/events","html_url":"https://github.com/Entware-ng/Entware-ng/issues/228","id":144035574,"number":228,"title":"lvm and devmapper","user":{"login":"PabloCamp0s","id":12640509,"avatar_url":"https://avatars.githubusercontent.com/u/12640509?v=3","gravatar_id":"","url":"https://api.github.com/users/PabloCamp0s","html_url":"https://github.com/PabloCamp0s","followers_url":"https://api.github.com/users/PabloCamp0s/followers","following_url":"https://api.github.com/users/PabloCamp0s/following{/other_user}","gists_url":"https://api.github.com/users/PabloCamp0s/gists{/gist_id}","starred_url":"https://api.github.com/users/PabloCamp0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PabloCamp0s/subscriptions","organizations_url":"https://api.github.com/users/PabloCamp0s/orgs","repos_url":"https://api.github.com/users/PabloCamp0s/repos","events_url":"https://api.github.com/users/PabloCamp0s/events{/privacy}","received_events_url":"https://api.github.com/users/PabloCamp0s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-28T17:42:30Z","updated_at":"2016-03-30T08:47:17Z","closed_at":null,"body":"First of all thanks to @zyxmon for fixing my previous issue. Now I'm not sure it's entware-ng error but Tomato Shibby's build 132. Using lvm2 package I get this:\r\n\r\n```\r\nroot@R7000:/tmp/home/root# pvs\r\n  PV         VG        Fmt  Attr PSize   PFree  \r\n  /dev/md0   test      lvm2 a--  363.00g 363.00g\r\n  /dev/sda7  storage   lvm2 a--  250.00g      0 \r\n  /dev/sda8  redundant lvm2 a--  255.00g  25.12g\r\n  /dev/sda9  backup    lvm2 a--   46.50g      0 \r\n  /dev/sdb7  storage   lvm2 a--  250.00g      0 \r\n  /dev/sdb8  backup    lvm2 a--   46.50g      0 \r\nroot@R7000:/tmp/home/root# vgs\r\n  VG        #PV #LV #SN Attr   VSize   VFree  \r\n  backup      2   1   0 wz--n-  93.01g      0 \r\n  redundant   1   3   0 wz--n- 255.00g  25.12g\r\n  storage     2   1   0 wz--n- 499.99g      0 \r\n  test        1   0   0 wz--n- 363.00g 363.00g\r\nroot@R7000:/tmp/home/root# lvs\r\n  /dev/mapper/control: open failed: No such device\r\n  Failure to communicate with kernel device-mapper driver.\r\n  Check that device-mapper is available in the kernel.\r\n  Incompatible libdevmapper (unknown version) and kernel driver (unknown version).\r\n  LV        VG        Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert\r\n  ninja     backup    -wi-XX----  93.01g                                                    \r\n  documents redundant -wi-XX----  45.00g                                                    \r\n  music     redundant -wi-XX----  30.00g                                                    \r\n  pictures  redundant -wi-XX---- 154.87g                                                    \r\n  main      storage   -wi-XX---- 499.99g                                                    \r\nroot@R7000:/tmp/home/root# l /dev/mapper/\r\ncrw-------    1 root     root       10, 236 Jan  1  1970 control\r\nroot@R7000:/tmp/home/root# /opt/etc/init.d/S06lvm2 status\r\nPID of lvm is \r\nroot@R7000:/tmp/home/root# /opt/etc/init.d/S06lvm2 stop\r\nstopping lvm...\r\n  /dev/mapper/control: open failed: No such device\r\n  Failure to communicate with kernel device-mapper driver.\r\n  Check that device-mapper is available in the kernel.\r\n  Incompatible libdevmapper (unknown version) and kernel driver (unknown version).\r\n  0 logical volume(s) in volume group \"backup\" now active\r\n  0 logical volume(s) in volume group \"redundant\" now active\r\n  0 logical volume(s) in volume group \"storage\" now active\r\n  0 logical volume(s) in volume group \"test\" now active\r\n...failed\r\nroot@R7000:/tmp/home/root# /opt/etc/init.d/S06lvm2 start\r\nstarting lvm...\r\n  Reading all physical volumes.  This may take a while...\r\n  Found volume group \"backup\" using metadata type lvm2\r\n  Found volume group \"redundant\" using metadata type lvm2\r\n  Found volume group \"storage\" using metadata type lvm2\r\n  Found volume group \"test\" using metadata type lvm2\r\n  /dev/mapper/control: open failed: No such device\r\n  Failure to communicate with kernel device-mapper driver.\r\n  Check that device-mapper is available in the kernel.\r\n  Incompatible libdevmapper (unknown version) and kernel driver (unknown version).\r\n  /dev/mapper/control: open failed: No such device\r\n  Failure to communicate with kernel device-mapper driver.\r\n  Check that device-mapper is available in the kernel.\r\n  Incompatible libdevmapper (unknown version) and kernel driver (unknown version).\r\n  0 logical volume(s) in volume group \"backup\" now active\r\n  0 logical volume(s) in volume group \"redundant\" now active\r\n  0 logical volume(s) in volume group \"storage\" now active\r\n  0 logical volume(s) in volume group \"test\" now active\r\n...failed\r\nroot@R7000:/tmp/home/root# \r\n```\r\n\r\nIt seems that something is wrong with the device-mapper but I'm not sure if it's somehow related with the kernel or libdevmapper (I have libdevmapper_2.02.138-1_armv7soft.ipk, same release as lvm2 to avoid any issue).\r\n\r\nThanks in advance for your support."},"comment":{"url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/comments/203326067","html_url":"https://github.com/Entware-ng/Entware-ng/issues/228#issuecomment-203326067","issue_url":"https://api.github.com/repos/Entware-ng/Entware-ng/issues/228","id":203326067,"user":{"login":"zyxmon","id":6533749,"avatar_url":"https://avatars.githubusercontent.com/u/6533749?v=3","gravatar_id":"","url":"https://api.github.com/users/zyxmon","html_url":"https://github.com/zyxmon","followers_url":"https://api.github.com/users/zyxmon/followers","following_url":"https://api.github.com/users/zyxmon/following{/other_user}","gists_url":"https://api.github.com/users/zyxmon/gists{/gist_id}","starred_url":"https://api.github.com/users/zyxmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyxmon/subscriptions","organizations_url":"https://api.github.com/users/zyxmon/orgs","repos_url":"https://api.github.com/users/zyxmon/repos","events_url":"https://api.github.com/users/zyxmon/events{/privacy}","received_events_url":"https://api.github.com/users/zyxmon/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T08:47:17Z","updated_at":"2016-03-30T08:47:17Z","body":"No, it is impossible. Kernel modules are device dependent and require device kernel sources and configuration.\r\nBTW dm-mod.ko can be compiled as a part of the kernel, not as a separate module."}}