What is the GUI manager for LVM in 17.10? There is no system-config-lvm that I can see.
5 Answers
Until Ubuntu 18.04 (included), you can install KVPM, but you have to install some KDE dependencies it has; they're not many as they said in their page. If you use some QT software it is very probable you already have the dependencies already on the system.
sudo apt install kvpm
system-config-lvm is outdated and can't manage some new features of LVM (as reported by itself) so don't bother trying to install it.
-
4At least on 18.04, remember to go to Software & Updates and enable additional package sources in order to get access to the kvpm package. When booting from the recovery disk, this is not the default. May 22, 2019 at 15:36
-
2This package is not available in Debian 10 Buster. Also, right now, not available in
Debian testing bullseye
. Nov 26, 2019 at 3:01 -
2Not only has KVPM not released in almost 4 years, and appears not to be packaged anywhere, but building it on a modern Linux system appears to have become impossible since its
lvm2app.h
dependency was dropped from thelvm2
source repository back in 2018. AFAICT that header has simply ceased to exist, making KVPM uncompilable.– FeRDMay 6, 2020 at 5:11 -
1@FeRD it is working very well on 20.04, I just installed the 18.04 packages: unix.stackexchange.com/a/608708/30352 Sep 10, 2020 at 23:33
-
@AquariusPower Since this is askubuntu that's a workable solution for the question posed here. However, I'm actually running Fedora 32. KVPM hasn't been packaged for Fedora in... well, actually I'm not sure it was EVER packaged for Fedora. And if it wasn't, we've missed our chance due to the lack of an available
lvm2app.h
in any recent/supported release. (Despite its age I was considering packaging it if it proved useful, until I discovered I can't even build it.)– FeRDSep 11, 2020 at 0:52
You can use KDE Partition Manager
sudo apt install partitionmanager
At the moment it does not work under Gnome Wayland session. So you have to use either X11 or Plasma Wayland. In the near future, KDE Partition Manager will be able to run without using root privileges (I already have most of the functionality working), then it will work much better under Wayland.
You can also allow running XWayland root GUI apps if you first run "xhost +".
EDIT: Ubuntu 20.04 has KDE Partition 4.0 which works well on Wayland.
-
When i start it (from the dash) it complains about not having root privileges, but when i try
sudo partitionmanager
, it says it can't connect to the display. Oct 25, 2017 at 8:24 -
@Scimonster If you use Wayland, you probably need to setup some environmental variables. KDE Partition Manager works either on X11 (so you can temporary switch to X11) or as Wayland client on Wayland. I don't think it works as XWayland client on Wayland. Unfortunately Gnome developers don't define required environmental variables in their Wayland session... Try "QT_QPA_PLATFORM=wayland partitionmanager". By the way, don't run sudo yourself, KPM should restart itself as root. We are slowly working on making KPM work without root privileges but it's not ready yet. Oct 25, 2017 at 18:25
-
Ok, I had a chance to try Gnome Wayland briefly. For some reason it didn't work... So you'll have to switch to either X11 or Plasma Wayland session if you want to use KDE Partition Manager to edit LVM partitions. Oct 28, 2017 at 1:55
-
Fedora 28 calls the package
kde-partitionmanager
, but the runtime is stillpartitionmanager
.– KevinJun 3, 2019 at 11:38 -
Blivet-gui is a graphical tool for storage management that uses Blivet library
https://github.com/storaged-project/blivet-gui
The installation instructions are here : https://github.com/storaged-project/blivet-gui#installation
-
1While this is true, Blivet is virtually identical to GNOME Disks except that it actually seems to lack some of Disks' functionality (like benchmarking). The only functionality I noticed in Blivet that Disks lacks is the ability to assign PVs into and out of VGs. (That's all it can do with PVs, though. The author reports that even display of extent mappings is currently unsupportable, due to its libblockdev backend lacking the necessary APIs.)– FeRDMay 6, 2020 at 9:13
This answer is based on comments above.
I installed an old version of system-config-lvm
from reposcope. Then i had to make sure to run on Xorg, not Wayland -- log out and choose "Ubuntu on Xorg" from the gear menu, then log in. After that i could start it just fine from the dash or command line.
If you try it on Wayland (the default), it will crash and not open.
If you are using any later than 18.04 by now,
you can actually use the old GUI from 18.04 as described here:
how to manage mirror legs and stripes in graphical way now w/o KVPM on 20.04?
by just installing these 2 packages:
https://launchpad.net/ubuntu/bionic/amd64/liblvm2app2.2/2.02.176-4.1ubuntu3.18.04.3
https://launchpad.net/ubuntu/bionic/amd64/kvpm/0.9.10-1.1
manually (or with gdebi-gtk)
sudo system-config-lvm
should launch it, or prompt you to install it (sudo apt-get install system-config-lvm
)