Linux RAID subsystem development
 help / color / mirror / Atom feed
* Re: Preventing a RAID device from starting until all disks are ready
@ 2010-10-14 17:00 Andrew Klaassen
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Klaassen @ 2010-10-14 17:00 UTC (permalink / raw)
  To: linux-raid

--- On Thu, 10/14/10, Iordan Iordanov <iordan@cdf.toronto.edu>  wrote:

> Have you considered enabling a write-intent bitmap on your
> array? This way, at least your rebuild will take seconds
> instead of 10 hours. Write intent bitmap support for RAID10
> was introduced in 2005, and hopefully CentOS 5.2 supports
> it.

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

> We have iscsi targets for drives in our array, and we make
> sure that we've logged into all 30 of our drives before we
> continue to enable mdadm (we literally count the number of
> iscsi sessions open). You can try counting the number of
> block devices present (in /dev/block) that match a certain
> pattern, or perhaps your fiber channel driver offers an even
> more convenient facility in /dev.

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

Andrew



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Preventing a RAID device from starting until all disks are ready
@ 2010-10-14 15:36 Andrew Klaassen
  2010-10-14 16:00 ` Iordan Iordanov
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Klaassen @ 2010-10-14 15:36 UTC (permalink / raw)
  To: linux-raid

I'm having problems with a 56-drive fibre-channel software RAID-10 array.

During boot, mdadm starts the array before one of the two fibre-channel cards has started its disk detection.  The array comes up, but with only 28 of 56 drives, and I have to manually re-add the drives and cross my fingers that nothing will go wrong during the 10-hour rebuild.

Is there any way to tell mdadm to wait longer, or to not attempt to start the array if not all devices are present, or... (any other solution you can think of)?

I'm on Centos 5.2.

Thanks.

Andrew





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-10-18 18:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <505206.15544.qm@web65407.mail.ac4.yahoo.com>
2010-10-18 18:00 ` Preventing a RAID device from starting until all disks are ready Iordan Iordanov
2010-10-14 17:00 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox