Comment by nyc_pizzadev
4 years ago
I’m actually interested in testing this scenario, a drive getting power loss. Is there a thing which will cut power to a server device on command? Or do you just pull the drive out of its bay?
4 years ago
I’m actually interested in testing this scenario, a drive getting power loss. Is there a thing which will cut power to a server device on command? Or do you just pull the drive out of its bay?
If your server has IPMI or similar, you can use that to cut power (not to the BMC though), otherwise, network PDUs or many UPSes or consumer level networked outlets or something fun with a relay (be careful with mains voltages).
Pulling the drive is also worth testing though; you might get different results. Requires more human involvement though.
I don’t know of a way on most systems to cut the power directly. It seems fairly straightforward to wire up a relay though.