Removing ZFS Pool and Preserve VMs

Technoob9

Member
Aug 10, 2023
49
1
8
I am new to Proxmox. I ended up doing a ZFS mirror for the two 1TB HDD I have, and started spinning up VMs.

Is it possible to delete the mirror (so I get my drives back) and my VMs be ok? Or do I need to move the data on the VMs to a new HDD, delete the ZFS mirror, wipe the drives, and re-do the VMs?

Thanks!
 
Hi,
you will have to move the VMs disks located on the zpool to a different storage. Same goes for all the data you want to preserve. Only after that it is safe to remove and destroy your pool. To find out which disk are located on the pool, you might run zfs list or by clicking on the zfs storage -> VM Disks / CT Volumes / ... if you prefer the WebUI. To move the disks, go to the VMs Hardware panel and select the disk. Then you can move it via Disk Action > Move Storage.

I would also recommend to have a verified backup in place.
 
Hi,
you will have to move the VMs disks located on the zpool to a different storage. Same goes for all the data you want to preserve. Only after that it is safe to remove and destroy your pool. To find out which disk are located on the pool, you might run zfs list or by clicking on the zfs storage -> VM Disks / CT Volumes / ... if you prefer the WebUI. To move the disks, go to the VMs Hardware panel and select the disk. Then you can move it via Disk Action > Move Storage.

I would also recommend to have a verified backup in place.

Thank you for the response. That's what I will do.

I am still experimenting and trying to figure out the "best" back up solution - whether that is cloud like Blackblaze, physical external HDD, or combo. Lots of options haha.
 
I am still experimenting and trying to figure out the "best" back up solution - whether that is cloud like Blackblaze, physical external HDD, or combo. Lots of options haha.
You can also try a Proxmox Backup Server online service, which is IMHO the easiest solution.