13

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

  • 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 '17 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 – bill whittaker Oct 24 '17 at 2:31
  • It may not be by default, but is there any reason it wouldn't work? – brndn2k Oct 24 '17 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. – bill whittaker Oct 24 '17 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 '17 at 2:41
17

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-get 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.

  • 1
    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. – Scott Dudley May 22 at 15:36
4

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 +".

  • 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 '17 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. – Andrius Štikonas Oct 25 '17 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. – Andrius Štikonas Oct 28 '17 at 1:55
  • Fedora 28 calls the package kde-partitionmanager, but the runtime is still partitionmanager. – Kevin Jun 3 at 11:38
  • This worked just fine in Ubuntu 19.04 (Gnome). – Dawoodjee Jul 12 at 12:54
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.