diff --git a/README.md b/README.md index 156d355..9d299d8 100644 --- a/README.md +++ b/README.md @@ -72,9 +72,11 @@ online nodes' storage-managed VM and container volumes, and compares them with cluster guest configurations in `/etc/pve/nodes`, including offline guests, snapshots, pending changes, EFI/TPM disks, and detached `unusedN` entries. Shared storage IDs are scanned once; local storage remains scoped to its node. -Results are grouped by node and storage, with volume IDs and provisioned disk +Results are grouped by node and storage, with volume IDs and disk sizes in readable units (MiB, GiB, or TiB). CSV includes both `disk_size` and -`size_bytes`; unavailable sizes are displayed as `Unknown`. +`size_bytes`. When Proxmox supplies only `approximate-size`, the display and CSV +show a `~` prefix and CSV sets `size_is_approximate` to `True`. Exact sizes take +precedence; unavailable sizes are displayed as `Unknown`. Backups, ISOs, unmanaged files, and physical/passthrough disks are excluded. An **Orphan candidate** has no configuration reference. **Unused disk** means diff --git a/defaults.inc b/defaults.inc index 31dc224..3f33875 100755 --- a/defaults.inc +++ b/defaults.inc @@ -3,7 +3,7 @@ action="${1:-}" FOLDER='/opt/idssys/ta-proxmenu' -VERS='2026.9.22-7' +VERS='2026.9.22-8' noupdate=' ' diff --git a/inc/orphan-disks.py b/inc/orphan-disks.py index 3c7fa27..98319a8 100755 --- a/inc/orphan-disks.py +++ b/inc/orphan-disks.py @@ -10,7 +10,7 @@ import subprocess import sys VOLUME = re.compile(r"(?