Proxmox VE manually deletes the virtual machine from the command line

1. First check the vmID of the virtual machine that needs to be deleted

root@matchpve02:~# qm list
      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID       
     10010 Centos01             stopped    1024               6.00 0 

2. Use the qm management command to delete the virtual machine

qm destory vmID --> qm destory 10010

3. Check whether the configuration file is deleted, if it is not deleted, manually rm delete

ls /etc/pve/qemu-server/

4. Check whether the virtual machine disk file is deleted, if it is not deleted, delete it manually with rm

ls /dev/ZFS/

//ZFS: Fill in your own storage name here

Guess you like

Origin blog.csdn.net/shoujoai/article/details/132128958