ZFS Pool with a broken mirror drive, simple question about Solaris/napp-it commands

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Eduard

New Member
Jun 16, 2014
11
0
1
36
I just removed a broken mirror drive from my pool (RAID-10). I always use the "replace" command in napp-it to replace a faulty drive but this time I accidentally "removed" the broken drive in the mirror set and added the new one using the "add" command. Now my mirror set is back as it was before and the pool is already resilvering. There is any difference replacing a faulty drive VS removing it and adding a new one to the pool?
Thanks in advance.
 

gea

Well-Known Member
Dec 31, 2010
3,190
1,204
113
DE
The result is the same.

If the disk that you want to replace is faulted, it does not matter.
If you want to replace a working disk, you should use replace
as this does not reduce redundancy during replace (in contrast to remove+add)
 
  • Like
Reactions: Eduard

Eduard

New Member
Jun 16, 2014
11
0
1
36
The result is the same.

If the disk that you want to replace is faulted, it does not matter.
If you want to replace a working disk, you should use replace
as this does not reduce redundancy during replace (in contrast to remove+add)
Thanks a lot for the quick reply gea and thanks for napp-it, it's really an amazing tool.