linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Greaves <david@dgreaves.com>
To: andy liebman <andyliebman@aol.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Simulating Drive Failure on Mirrored OS drive
Date: Mon, 02 Oct 2006 09:02:13 +0100	[thread overview]
Message-ID: <4520C785.8010709@dgreaves.com> (raw)
In-Reply-To: <4520555B.4080000@aol.com>

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

  reply	other threads:[~2006-10-02  8:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-01 23:55 Simulating Drive Failure on Mirrored OS drive andy liebman
2006-10-02  8:02 ` David Greaves [this message]
2006-10-02 17:54   ` andy liebman
2006-10-02 20:20     ` Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4520C785.8010709@dgreaves.com \
    --to=david@dgreaves.com \
    --cc=andyliebman@aol.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).