Skip to main content

2. Deleting a ZFS Pool in Proxmox

Sometimes you want to delete a zfs pool because you have new drives or decided that you want to make an LVM or directory pool instead. For instance if you choose to host Truenas VM or PBS VM with virtual drives it is better to let PVE be an LVM pool and let the VM's handle the ZFS portion. This is because ZFS on top of ZFS is not recommended since it creates unnecessary overhead. 

So to delete a zfs pool in proxmox you need to execute the following commands in the PVE shell

zfspool destroy POOLNAME

Then once it is destroyed you should also remove the zfspool entry located in /etc/pve/storage.cfg

nano /etc/pve/storage.cfg

Then remove the zfspool lines that include the pool you want to destroy. However, to create a new pool or lvm/directory you still need to wipe the disk clean for proxmox to recognize it as a drive that has not been assigned yet. 

For this go to pve > Disks > and then select the disks that were part of the zfspool that you just destoryed.

Then hit Wipe Disk and you are all set. 

After that you can refresh the page and if all went well your zfspool should be gone by now.