Simple graphical GUI for managing LVM snapshots: create, delete, view usage (in % and MB), and see free space in volume groups.
Screenshot of the LVM Snapshot Manager GUI on Fedora 42 KDE Plasma (with aerothemeplasma theme)
- List logical volumes (LVs) with snapshots marked
- Create snapshots (select snapshot size)
- Delete snapshots (with confirmation)
- Mount snapshots (in specified mount point)
- Show snapshot usage in percent and MB
- Show free and used space in volume group (for LVs that are not snapshots)
- "Delete Snapshot" button enabled only for snapshots
- Tooltips and simple, intuitive interface
- Python 3.8+
- PyQt6
- LVM command line tools available (
lvs
,lvcreate
,lvremove
,vgs
) on Linux - Proper permissions to manage LVM (usually root or sudo)
pip install -r requirements.txt
sudo python lvm_manager.py
- Select a logical volume from the list.
- If it’s not a snapshot, you can create a snapshot by entering a name and selecting size, then clicking "Create Snapshot".
- If it’s a snapshot, you can delete it by clicking "Delete Snapshot".
- Below the list, snapshot usage or VG free space is displayed.
- The app calls system LVM tools and needs appropriate permissions (run as root or with sudo).
- The GUI is minimal but functional. Feel free to extend it.
- Not production ready - needs testing!!!