Thanks for the comments.

Let's take the following example:

1) 2 RAID1 + 1 spare
    (A + B) + C

2) 3 RAID1
    (A + B + C)

At least in normal operation case, case 1) makes device C useless, and

 Yes.

For case 2), we can just relocate and recover the bad chunks in B.
It it should only need to copy 6G data.

 Case 2 is Wrong in the context of spare.

 Unless space usage is limited to 1/3 of total space.
 But when you do that, case 1 drawback will equally apply
 to case 2 as well.


> It it should only need to copy 6G data.

  Its true as long as you don't replace the failed B
  and bring the configuration to its original. However
  when you do that,  Data  moved will be more than case 1.
  So this is not fully correct.

Thanks, Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to