I recently made a mistake because with one of my zpools on my proxmox server. I added the drive as a stripe instead of a mirror. Now, because of a bug in zfs (https://github.com/openzfs/zfs/pull/11409) i can't remove the drive from the pool. So now I have to delete and recreate the pool.
I can back it up easily with zfs send/receive to another temp zpool, so I can easily delete the only pool. My question is there a way to me to recreate the pool with without removing and creating all the associated VMs. I ask this because the zpool is the main pool for all my VMs base OSes.
I was thinking about it this way:
How would I update proxmox to use the new zpool UUID after I recreate my fixed pool?
I can back it up easily with zfs send/receive to another temp zpool, so I can easily delete the only pool. My question is there a way to me to recreate the pool with without removing and creating all the associated VMs. I ask this because the zpool is the main pool for all my VMs base OSes.
I was thinking about it this way:
- Going into single-user/rescue mode.
- Backing up the zpool.
- deleting the bad zpool.
- Creating a zpool of the same name.
How would I update proxmox to use the new zpool UUID after I recreate my fixed pool?