This is my current pool configuration:
root@ubuntuzfs:~# zpool status tank
pool: tank
state: ONLINE
scan: scrub repaired 0B in 13:19:59 with 0 errors on Mon Oct 16 21:20:01 2023
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
wwn-0x50014ee2664cd53e ONLINE 0 0 0
wwn-0x50014ee2649ac8b8 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
wwn-0x50014ee212d29757 ONLINE 0 0 0
wwn-0x5000c500f1e4b1eb ONLINE 0 0 0
errors: No known data errors
Unfortunately I did not discover the incompatibility of SMR drives with zfs until after I created the pool.
Now I want to convert this pool to a two drive mirrored pool with SSD’s.
The existing HDD’s are 2GB each. The SSD’s are 8GB.
Should I
zfs replace tank wwn-0x50014ee2649ac8b8 [the SSD]
then
zfs replace tank wwn-0x50014ee2664cd53e [the SSD]
then
zpool remove tank mirror wwn-0x50014ee212d29757 wwn-0x5000c500f1e4b1eb
Will that remove the mirror and convert the pool to a single mirror pool?