Currently trying to allocate more swap space to my system, and I need to use the command lvdisplay to do so, however when I try and run the command I am presented with this error:
WARNING: Running as a non-root user. Functionality may be unavailable.
/run/lock/lvm/P_global:aux: open failed: Permission denied
/dev/mapper/control: open failed: Permission denied
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.212 (2025-12-15) and kernel driver (unknown version).
I tried updating my system, this issue was happening in fedora version 43 but I have since updated to fedora 44 and this problem still persists. I am wondering if it is an issue with the version of “libdevmapper” but I cant find much online about it that has helped me.
Any help would be appreciated!
I was expecting something like this, I already have 7.5gb of swap space so I would expect it to say something right? Or i guess not. I tried adding more swap space using dd but I saw that may be a bad idea + it didnt work for some reason.
"# lvdisplay
— Logical volume —
LV Name /dev/vg_fed2/lv_root
VG Name vg_fed2
LV UUID XZ1Da9-1OdZ-em3Z-4Dfo-TqZl-V6WI-an3Ahq
LV Write Access read/write
LV Status available
open 1
LV Size 13.56 GiB
Current LE 434
Segments 1
Allocation inherit
Read ahead sectors auto
currently set to 256
Block device 253:0
— Logical volume —
LV Name /dev/vg_fed2/lv_swap
VG Name vg_fed2
LV UUID 94ltyQ-aGe2-271U-tiZP-Xcuo-x8wm-E0rY5Z
LV Write Access read/write
LV Status available
open 1
LV Size 1.94 GiB
Current LE 62
Segments 1
Allocation inherit
Read ahead sectors auto
I get the same output myself. Primarily because I’m not using the Logical Volume Manager disk layout.
Please post the outputs of sudo vgdisplay, sudo lvdisplay and lsblk -f so we can see your LVM and disk layout. This is what I see on my system:
I just installed a new VM with LVM and it looks like this:
$ sudo vgdisplay — Volume group — VG Name kickertest-root System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size 45.41 GiB PE Size 4.00 MiB Total PE 11625 Alloc PE / Size 8704 / 34.00 GiB Free PE / Size 2921 / 11.41 GiB VG UUID ArO9y5-aHec-26XF-dT5B-u5RN-3AEG-Se1sPK
$ sudo lvdisplay
— Logical volume —
LV Path /dev/kickertest-root/swap
LV Name swap
VG Name kickertest-root
LV UUID WXeZ2n-eGvx-rUBU-FJMi-swWG-OTwe-EzIpKi
LV Write Access read/write
LV Creation host, time kickertest.loveglide.com, 2026-06-11 20:34:23 -0400
LV Status available
open 1
LV Size 4.00 GiB
Current LE 1024
Segments 1
Allocation inherit
Read ahead sectors auto
currently set to 256
Block device 252:1
— Logical volume —
LV Path /dev/kickertest-root/root
LV Name root
VG Name kickertest-root
LV UUID Qiy3fO-ksWD-cMGX-jfBp-J5Md-xm61-0lfZPF
LV Write Access read/write
LV Creation host, time kickertest.loveglide.com, 2026-06-11 20:34:24 -0400
LV Status available
open 1
LV Size 30.00 GiB
Current LE 7680
Segments 1
Allocation inherit
Read ahead sectors auto
currently set to 256
Block device 252:0