delete datastore

Oct 9, 2024
145
3
18
Hi everyone, could someone tell me how to delete a datastore with a zfs pool, I can't figure out how to delete it and then make a new one with other HDDs, if I go to the datastore item I can't find the delete button, Backup Server 3.4.1
 
Hi,
to do this via the Web UI you have to select the datastore, navigate to the Options tab and click the Remove datastore button in the top right. There is also the proxmox-backup-manager datastore remove <datastore> cli command to achieve this. See also the corresponding section in man proxmox-backup-manager for details.
 
This you will have to do via the cli, e.g. zpool destroy <pool>. Also, to re-use the disks for a new pool you will have to wipe them before creating the pool with them. Please make sure that you have no other datasets on the zpool and truly want to destroy it.