All of lore.kernel.org
 help / color / mirror / Atom feed
From: Iordan Iordanov <iordan@cdf.toronto.edu>
To: Andrew Klaassen <clawsoon@yahoo.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Preventing a RAID device from starting until all disks are ready
Date: Mon, 18 Oct 2010 14:00:03 -0400	[thread overview]
Message-ID: <4CBC8B23.1050408@cdf.toronto.edu> (raw)
In-Reply-To: <505206.15544.qm@web65407.mail.ac4.yahoo.com>

Hi Andrew,

My apologies for the late reply, but I've been over-busy at work.

> I've never heard of that - sounds fantastic.  Does it have any performance penalties during heavy writes?

There has to be some performance penalty, since for every write on the 
array, there is an additional write in the write-intent bitmap. However, 
it can be imposed on a device other than your RAID array by keeping the 
write-intent bitmap as a file on a separate file-system. In the mdadm 
manpage, it is specified that the write-intent bitmap can either be 
"internal" - in the MD superblock, or external - in a file. We have kept 
it internal for now, since we experience significantly less writes than 
reads. However, we are keeping in mind the option to move it off to 
another file-system if this changes, or we see our write performance 
impacting our users.

> Are you doing the mdadm startup in rc.local, or in the initrd, or...?

We have disabled all of the system startup-scripts, and we have cooked 
our own startup script which does each stage of the startup. In our 
case, we need the following order of operations:

1) Start networking, and bring up a set of bonded interfaces.
2) Login over iscsi to 30 iscsi target drives.
3) Start mdadm
etc.

Cheers,
Iordan

       reply	other threads:[~2010-10-18 18:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <505206.15544.qm@web65407.mail.ac4.yahoo.com>
2010-10-18 18:00 ` Iordan Iordanov [this message]
2010-10-14 17:00 Preventing a RAID device from starting until all disks are ready Andrew Klaassen
  -- strict thread matches above, loose matches on Subject: below --
2010-10-14 15:36 Andrew Klaassen
2010-10-14 16:00 ` Iordan Iordanov
2010-10-14 19:31   ` Andrew Klaassen
2010-10-15  1:54   ` Neil Brown
2010-10-15  8:19     ` Jon Hardcastle

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=4CBC8B23.1050408@cdf.toronto.edu \
    --to=iordan@cdf.toronto.edu \
    --cc=clawsoon@yahoo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.