Specifically "zpool replace" is there. The normal use of this command I can do in the webgui. The Command Line Instruction (CLI) is as follows, if pool=pool1, device from=/dev/ada1 and device to=/dev/ada4.eli then the format is:
Code: Select all
zpool replace pool1 /dev/ada1 /dev/ada4.eliWell and good but if you have replace the HDD (my case was slightly different but it's a similar situation, see below*) with the same HDD because it's connected to the same SATA plug, then the zpool command is slightly smaller eliminating the "device to" part. The CLI is as follows, if pool=pool1 and device to/from=/dev/ada4.eli then the format is:
Code: Select all
zpool replace pool1 /dev/ada4.eliMy question is how do I do the smaller zpool command in the webgui, do I not populate the "Select Data Device" radio button? I thought of trying it but only after I used the CLI and now it is going to take over two days to resilver. And after taking two days to resilver I am not looking to do scrubs often. Just curious.
*In my case the HDD went loopy and then came back degrading the pool so I cleared it's error (not a SMART error) and suddenly it's available again. I suspect a SATA cable issue as I was moving the system around a bit and will troubleshoot later once the pool is resilvered.

