33

What is the GUI manager for LVM in 17.10? There is no system-config-lvm that I can see.

13
  • Can't you just run it from terminal? sudo system-config-lvm should launch it, or prompt you to install it (sudo apt-get install system-config-lvm)
    – brndn2k
    Oct 23, 2017 at 23:36
  • I think system-config-lvm is no longer in use. $ sudo system-config-lvm sudo: system-config-lvm: command not found $ sudo apt install system-config-lvm Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package system-config-lvm Oct 24, 2017 at 2:31
  • It may not be by default, but is there any reason it wouldn't work?
    – brndn2k
    Oct 24, 2017 at 2:32
  • It is not installed and there is no package. I forced an old package to install when 17.10 was in bata and found out the system-config-lvm command uses X11 so it would not run with out the X session. Oct 24, 2017 at 2:40
  • You can run 17.10 in X11 mode, which is probably fine for occasional use, although that might be a pain if you're using lvm all the time.
    – brndn2k
    Oct 24, 2017 at 2:41

5 Answers 5

24

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.

7
  • 4
    At 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
  • 2
    This package is not available in Debian 10 Buster. Also, right now, not available in Debian testing bullseye.
    – Ajeeb.K.P
    Nov 26, 2019 at 3:01
  • 2
    Not 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 the lvm2 source repository back in 2018. AFAICT that header has simply ceased to exist, making KVPM uncompilable.
    – FeRD
    May 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.)
    – FeRD
    Sep 11, 2020 at 0:52
21

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.

12
  • 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.
    – Scimonster
    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 still partitionmanager.
    – Kevin
    Jun 3, 2019 at 11:38
  • This worked just fine in Ubuntu 19.04 (Gnome).
    – Dawoodjee
    Jul 12, 2019 at 12:54
4

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

1
  • 1
    While 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.)
    – FeRD
    May 6, 2020 at 9:13
1

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.

0

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)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .