Zpool attach new disk as master / recovery

Binary.Coder

Member
Feb 1, 2020
12
2
23
37
I had a mirrored zfs pool called "wd" with two disks: sda and sdb on a proxmox. To expand the disk, I detached sdb, added a new disk, sdc. Resilvered it and detached the remaining old disk sda. Unfortunately I messed up and now I would like to have my old two disks sda and sdb running again.

Since sdc is the only remaining disk, I cannot detach it. Is there a way to attach it as a master, so it won't be overwritten by the content of sdc? Or any other idea? I tried to cut sdc from power and try a import but this does not seems possible.
 

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!