I have a OK1046A-C from Forlinx, it has a NXP LS1046A cpu. I am trying to make lvm work on release 19.07.3.
I have a working PCIe SATA controller. I managed to mount partition from a hard drive. My hard drive have two partitions, sda1 (regular partition) and sda2 (lvm partition).
# ls -l /dev/sd*
brw------- 1 root root 8, 0 May 23 12:56 /dev/sda
brw------- 1 root root 8, 1 May 23 12:56 /dev/sda1
brw------- 1 root root 8, 2 May 23 12:56 /dev/sda2
# block info | grep "/dev/sd"
/dev/sda1: UUID="c9e3435a-30af-4cdc-8bfa-c49a60518f8d" TYPE="btrfs"
/dev/sda2: UUID="jHynce-tDaI-47wJ-ebuH-fZ2V-Knk3-tjbC5o" TYPE="LVM2_member"
so far so good. However, all lv are inactive and I cannot activate them.
# lvchange -a y /dev/server/root
Failed to set up async io, using sync io.
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
Incompatible libdevmapper 1.02.155 (2018-12-18) and kernel driver (unknown version).
# lvscan
Failed to set up async io, using sync io.
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
Incompatible libdevmapper 1.02.155 (2018-12-18) and kernel driver (unknown version).
inactive '/dev/server/swap' [8.00 GiB] inherit
inactive '/dev/server/tmp' [2.00 GiB] inherit
inactive '/dev/server/root' [50.00 GiB] inherit
inactive '/dev/server/var' [100.00 GiB] inherit
inactive '/dev/server/home' [50.00 GiB] inherit
inactive '/dev/server/lxd_backup' [500.00 GiB] inherit
Any help will be appreciated