Aller au contenu
Se connecter

PVE Clean Orphaned LVM

Outil pour le nœud Community Scripts

Accès par défaut

Compte et mot de passe
Aucun identifiant fixe publié par la source : ils se créent à l'installation ou à la première connexion.
Console et SSH
Agit sur le nœud Proxmox lui-même : aucun nouvel accès n'est créé.

This script helps Proxmox users identify and remove orphaned LVM volumes that are no longer associated with any VM or LXC container. It scans all LVM volumes, detects unused ones, and provides an interactive prompt to delete them safely. System-critical volumes like root, swap, and data are excluded to prevent accidental deletion.

Voir le code du script ↗

Installer

Système
Debian 13
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/clean-orphaned-lvm.sh)"

Dans le shell du nœud Proxmox. Exécutez cette commande dans le shell du nœud Proxmox, pas dans une VM. Lisez le script d'abord.

Tutoriel pas à pas

De l'interface de Proxmox jusqu'à la première connexion, pour PVE Clean Orphaned LVM.

  1. Ouvrez l'interface de Proxmox dans votre navigateur et connectez-vous.

  2. Dans l'arbre de gauche, cliquez sur le nœud à modifier, puis sur « Shell ».

  3. Lisez d'abord le code du script : il agit directement sur le nœud, avec tous les droits.

  4. Copiez cette commande, collez-la dans le shell et appuyez sur Entrée.

    bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/clean-orphaned-lvm.sh)"
  5. Répondez aux questions du script. Aucune machine n'est créée : c'est le nœud lui-même qui est modifié.

  6. Vérifiez le résultat dans l'interface de Proxmox avant de passer au nœud suivant.

À savoir

  • Execute within the Proxmox shell
Dans la même catégorie

All Templates

Complément

A script designed to allow for the creation of one of the many free LXC templates. Great for creating system LXCs. The script creates a `*.creds` file in the Proxmox ro…

PVE Netdata

Complément

Netdata is an open-source, real-time performance monitoring tool designed to provide insights into the performance and health of systems and applications. It is often us…

Port 19999

PVE Post Install

Outil pour le nœud

This script provides options for managing Proxmox VE repositories, including disabling the Enterprise Repo, adding or correcting PVE sources, enabling the No-Subscriptio…

Proxmox Backup Server (PBS)

Conteneur LXC

Proxmox Backup Server is an enterprise backup solution, for backing up and restoring VMs, containers, and physical hosts. By supporting incremental, fully deduplicated b…

Mise à jour Port 8007 Accès par défaut

Cockpit

Conteneur LXC

Cockpit is a web-based graphical interface for managing Linux servers. It allows users to perform tasks like configuring networks, managing storage, and monitoring syste…

Mise à jour Port 9090

CronMaster

Complément

Self-hosted cron job scheduler with web UI, live logs, auth and prebuilt binaries provided upstream.

Mise à jour Port 3000