Basic Logical Volume Management (LVM) support was added to KDE Partition Manager this summer. So LVM consists of 3 ingredients:
- LVM Physical Volumes. These are partitions on disk devices that are allocated for LVM. The union of LVM PVs is LVM Volume Group.
- LVM Volume Groups. These are more or less equivalent to devices that can be partitioned into LVM Logical Volumes.
- LVM Logical Volumes. These are similar to like your normal partitions but stored in LVM Volume Group instead of normal disk.
We can have a few different operations on a given LVM Volume Group, e.g. resize (add or remove LVM PVs), deactivate or remove that LVM VG:
These 3 LVM VG operations are hidden in the menu of normal disk devices.
However, there is one more operation: creating LVM VG. At the moment it is listed with the other 3 operations but it is slightly different. It does not act on selected device. So we also can’t hide it for normal devices. So we have two choices:
- Keep “New Volume” in the Device menu and show it for all devices.
- Move “New Volume” operation into the context menu of LVM PV partition (e.g. where operations like mount, unmount, resize partitions are located) and only make it visible for LVM PV file systems but not other types.
Option 2 will have LVM VG operations split over 2 places, but on the other hand it seems to me that option 2 might make more sense logically. Also, I’m a bit scared that creation of new LVM VG group might be a bit hidden.
I would be very grateful for any feedback (especially from Visual Design Group). E.g. which option would you prefer.
Also, do you think we need another icon for LVM devices? At the moment we are using drive-harddisk but having some other icon for virtual devices might be nice.