Can't get LVM to work.
Posted: Tue Jun 08, 2021 12:42 pm
I think I need to upgrade the kernel.
Got the NanoPi NEO-LTS 512M one with the UNO Dock V2.0 for NanoPi NEO and NanoHat OLED for NanoPi NEO/NEO2/NEO Plus2 and a NanoHat PCM5102A for audio.
I got two SSD's on it but 1TB and want them to look like a 2TB. I did this command:
So do I need to upgrade the kernel to get it to work? If so how?
Thank you.
-Raymond Day
Got the NanoPi NEO-LTS 512M one with the UNO Dock V2.0 for NanoPi NEO and NanoHat OLED for NanoPi NEO/NEO2/NEO Plus2 and a NanoHat PCM5102A for audio.
I got two SSD's on it but 1TB and want them to look like a 2TB. I did this command:
Code: Select all
root@NEO-doc2:~# lvdisplay
/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 (unknown version) and kernel driver (unknown version).
--- Logical volume ---
LV Path /dev/2-1TB-as-2TB/2TB-SSD
LV Name 2TB-SSD
VG Name 2-1TB-as-2TB
LV UUID xzqKJC-L4Ux-2bZu-CbMo-Fpi0-DVfA-i0N9uo
LV Write Access read/write
LV Creation host, time NanoPi-NEO, 2021-06-01 06:35:10 -0400
LV Status NOT available
LV Size 1.82 TiB
Current LE 476917
Segments 2
Allocation inherit
Read ahead sectors auto
root@NEO-doc2:~# mount /dev/2-1TB-as-2TB/2TB-SSD /media/2TB-SSD/ mount: special device /dev/2-1TB-as-2TB/2TB-SSD does not exist
root@NEO-doc2:~#
So do I need to upgrade the kernel to get it to work? If so how?
Thank you.
-Raymond Day