I started out with;
then I detached one disk because I thought it might be a bad ssd disk as sometimes it would not register and the whole system is slow to start and the pool is degraded.
resulting in;
Then I wanted to give it another try after reseating the ssd. So I used this command.
zpool add vmpool /dev/nvme2n1
resulting in
But I wanted to recreate the stripped mirror I had originally and now I can't remove the disk to try again but am getting this.
How do I reconfigure the vmpool to it's original state?
Code:
pool: vmpool
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
vmpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802523 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802590 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_20465F800961 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802025 ONLINE 0 0 0
then I detached one disk because I thought it might be a bad ssd disk as sometimes it would not register and the whole system is slow to start and the pool is degraded.
resulting in;
Code:
pool: vmpool
state: ONLINE
scan: resilvered 1.20M in 00:00:00 with 0 errors on Fri Jul 30 09:51:54 2021
config:
NAME STATE READ WRITE CKSUM
vmpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802523 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802590 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802025 ONLINE 0 0 0
Then I wanted to give it another try after reseating the ssd. So I used this command.
zpool add vmpool /dev/nvme2n1
resulting in
Code:
pool: vmpool
state: ONLINE
scan: resilvered 1.20M in 00:00:00 with 0 errors on Fri Jul 30 09:51:54 2021
config:
NAME STATE READ WRITE CKSUM
vmpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802523 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802590 ONLINE 0 0 0
nvme-WDS100T1X0E-00AFY0_204540802025 ONLINE 0 0 0
nvme2n1 ONLINE 0 0 0
errors: No known data errors
But I wanted to recreate the stripped mirror I had originally and now I can't remove the disk to try again but am getting this.
Code:
zpool detach vmpool nvme2n1
cannot detach nvme2n1: only applicable to mirror and replacing vdevs
How do I reconfigure the vmpool to it's original state?
Last edited: