PVE Clean Orphaned LVM

PVE Clean Orphaned LVM is a Proxmox Virtual Environment (PVE) script that scans logical volume manager (LVM) volumes, finds storage no longer attached to any…

  • Infrastructure
  • Tools & Utilities
PVE Clean Orphaned LVM is a Proxmox Virtual Environment (PVE) script that scans logical volume manager (LVM) volumes, finds storage no longer attached to any virtual machine (VM) or Linux container (LXC), and prompts users to safely delete unused volumes while excluding system-critical volumes.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score

Not enough data yet for a health score. It needs at least 2 of 4 factors: maintenance, popularity, ease of install, resource needs.

No GitHub repository data collected yet.

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Set the driver version before installing Choose the Proxmox VE (PVE) node-driver release you want and set PVE_NODE_DRIVER_VERSION before running the download commands. This keeps the driver binary and Rancher UI extension files from getting mixed up, which can leave Rancher without a working Proxmox node option. source
  • Point air-gapped installs at local files If your Rancher server cannot reach the internet, replace the download addresses in the install values (nodeDriver.url and uiPlugin.endpoint) with places it can reach. Without local copies, Rancher cannot fetch the Proxmox driver and UI files, so it cannot create or manage Proxmox VMs. source

Fetched 43 days ago - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

What does the script detect before offering deletion?

It detects LVM volumes that are no longer associated with any VM or LXC container.

Which volumes are excluded from deletion?

System-critical volumes such as root, swap, and data are excluded.

Does it prompt before deleting detected orphaned volumes?

Yes, it provides an interactive prompt before deletion.

Can the script report a volume as orphaned when it is not?

A reported issue says it can show a non-orphan volume as an orphan on Proxmox 8.4.

Answers sourced from community-scripts.org, github.com, proxmox-scripts.com

Community

Collected 48 days ago - public community threads