Proxmox – Delete Disk Image on ZFS storage

Get the list of ZFS Disk Images

root@pve13:/# zfs list

NAME                           USED  AVAIL  REFER  MOUNTPOINT
rpool                          167G  1.39T   175K  /rpool
rpool/ROOT                    1.48G  1.39T   162K  /rpool/ROOT
rpool/ROOT/pve-1              1.48G  1.39T  1.48G  /
rpool/data                     156G  1.39T   162K  /rpool/data
rpool/data/subvol-125-disk-1   578M  19.4G   578M  /rpool/data/subvol-125-disk-1
rpool/data/vm-102-disk-1      3.07G  1.39T  3.07G  -
rpool/data/vm-105-disk-1      2.77G  1.39T  2.77G  -
rpool/data/vm-106-disk-1      17.4G  1.39T  17.4G  -
rpool/data/vm-109-disk-1      11.2G  1.39T  11.2G  -
rpool/data/vm-112-disk-1      37.7G  1.39T  37.7G  -
rpool/data/vm-114-disk-1      66.2G  1.39T  66.2G  -
rpool/data/vm-118-disk-1      6.72G  1.39T  6.72G  -
rpool/data/vm-120-disk-1       253M  1.39T   253M  -
rpool/data/vm-128-disk-1      2.30G  1.39T  2.30G  -
rpool/data/vm-140-disk-1      8.35G  1.39T  8.35G  -
rpool/swap                    8.50G  1.40T  3.92G  -

Going to delete  vm-104-disk-1

Use following command to delete Disk

zfs destroy -f rpool/data/vm-104-disk-1

 

Leave a Reply

Your email address will not be published. Required fields are marked *