G grillotron Renowned Member Mar 20, 2013 1 0 66 Jun 29, 2022 #1 I need to delete an LXC container that has an associated hard drive, which no longer exists
bbgeek17 Distinguished Member Nov 20, 2020 6,479 2,490 278 Blockbridge www.blockbridge.com Jun 29, 2022 #2 if the container already stopped, you can edit /etc/pve/lxc/[id] and remove the disk reference. Then use regular commands/UI. Or you can just remove the config file "rm /etc/pve/lxc/[id]". There may be other disks, ie rootfs left behind to clean up. Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
if the container already stopped, you can edit /etc/pve/lxc/[id] and remove the disk reference. Then use regular commands/UI. Or you can just remove the config file "rm /etc/pve/lxc/[id]". There may be other disks, ie rootfs left behind to clean up. Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox