Re: Simulating Drive Failure on Mirrored OS drive

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

 



andy liebman wrote:
> I tried simply unplugging one drive from its power and from its SATA
> connector. The OS didn't like that at all. My KDE session kept running,
> but I could no longer open any new terminals. I couldn't become root in
> an existing terminal that was already running. And I couldn't SSH into
> the machine.
That's likely to be because sata hotswap isn't supported (yet).
dmesg should give you more info.

 > I know that simply unplugging a drive is not the same as a drive failing
> or timing out. But is there a more realistic way to simulate a failure
> so that I can know that the mirror will work when it's needed?

Read up on the md-faulty device.

Also, FWIW, md works just fine :)
(Lots of other things can go wrong so testing your setup is a food idea though)

David
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux