tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: raidctl -B syntax



Edgar Fu? writes:
> I'm unsure what the "dev" argument to raidctl -B is: the spare or the original?
> 
> Suppose I have a level 1 RAID with components A and B; B failed. I add C as a 
> hot spare (raidctl -a C) and reconstruct on it (raidctl -F B) now I have A 
> "optimal", B "spared" and C "used_spare".
> Then I find that B's failure must have been a glitch; do I raidctl -B B or 
> raidctl -B C?
> I suppose that after the copyback, I'll have A and B "optimal" and C "spare", 
> right?
> What if, during the reconstruction, I get an I/O error on B. I hope the 
> reconstruction will simply stop and leave me with A "optimal", B "spared" and 
> C "used_spare", right?
> 

going on the manual, it's "raidctl -B <raiddev>".  eg, "raidctl -B raid4".
eg, compare raidctl(8) SYNOPSIS:

     raidctl [-v] -B dev
vs
     raidctl [-v] -F component dev


.mrg.


Home | Main Index | Thread Index | Old Index