Special Device on Existing PBS

You remove all existing data from that pool and write it back. There is no way to only move the metadata to the special device without also moving all the data. Same procedure as when trying to defrag your pool.

You could for example use "zfs send ... | zfs recv ..." to create a local copy of all datasets/zvols (in case you got enough space), destroy the original data, use the "zfs send ... | zfs recv" again to copy the copied data back to the original place. Then destroy the copy of the datasets/zvols.
In case you don't got the space you need another ZFS pool with enough space on the same or some other host. Then you do the same but sending the copy to that other pool.
 
Last edited:
How would I delete the complete zfs pool after there is data on the special devs as I want to reset everything as it was only for test purpose.

I tried zpool destroy but it didnt work and showed me this error.

could not destroy 'zpool01': could not unmount datasets
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!