https://github.com/shieldowskyy/lvm-manager
Simple graphical GUI for managing LVM snapshots!
https://github.com/shieldowskyy/lvm-manager
gui linux lvm lvm-snapshot lvm2 python python3 qt6
Last synced: 3 months ago
JSON representation
Simple graphical GUI for managing LVM snapshots!
- Host: GitHub
- URL: https://github.com/shieldowskyy/lvm-manager
- Owner: Shieldowskyy
- License: mit
- Created: 2025-06-21T06:31:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-21T06:50:36.000Z (about 1 year ago)
- Last Synced: 2025-06-21T07:32:13.701Z (about 1 year ago)
- Topics: gui, linux, lvm, lvm-snapshot, lvm2, python, python3, qt6
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LVM Snapshot Manager (PyQt6)
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)*
## Features
- 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
## Requirements
- Python 3.8+
- PyQt6
- LVM command line tools available (`lvs`, `lvcreate`, `lvremove`, `vgs`) on Linux
- Proper permissions to manage LVM (usually root or sudo)
## Installation
```bash
pip install -r requirements.txt
````
## Usage
```bash
sudo python lvm_manager.py
```
1. Select a logical volume from the list.
2. If it’s not a snapshot, you can create a snapshot by entering a name and selecting size, then clicking "Create Snapshot".
3. If it’s a snapshot, you can delete it by clicking "Delete Snapshot".
4. Below the list, snapshot usage or VG free space is displayed.
## Notes
* 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!!!