Linux RAID subsystem development
 help / color / mirror / Atom feed
* Resync raid array problem
@ 2013-05-20  1:57 Tarak
  2013-05-20  2:53 ` Keith Keller
  2013-05-20  3:43 ` Sam Bingner
  0 siblings, 2 replies; 5+ messages in thread
From: Tarak @ 2013-05-20  1:57 UTC (permalink / raw)
  To: linux-raid

Hi 
We sucessfully created a Raid array of 8 harddisks.
On power failure situation, the resync of raid array 
is taking too much of time almost equal to 
the time taken for creating the raid array of hard disks.
Anyone is having an idea about this..
Please help me on this.

Regards
Tarak



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

* Re: Resync raid array problem
  2013-05-20  1:57 Resync raid array problem Tarak
@ 2013-05-20  2:53 ` Keith Keller
  2013-05-20  3:46   ` Brad Campbell
  2013-05-20  3:43 ` Sam Bingner
  1 sibling, 1 reply; 5+ messages in thread
From: Keith Keller @ 2013-05-20  2:53 UTC (permalink / raw)
  To: linux-raid

On 2013-05-20, Tarak <tarakramgopal@gmail.com> wrote:
> We sucessfully created a Raid array of 8 harddisks.
> On power failure situation,

You should probably have some sort of redundant power for such an
array--either a UPS or backup power provided by a building generator.

> the resync of raid array 
> is taking too much of time almost equal to 
> the time taken for creating the raid array of hard disks.

IIRC, a RAID5 is created by making the array in degraded mode and
resyncing the array.  So "create" and "resync" are basically equal in
duration in this scenario.  (I think creating a RAID6 works differently,
but it's possible that create and resync times are comparable as well.)

--keith


-- 
kkeller@wombat.san-francisco.ca.us



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

* Re: Resync raid array problem
  2013-05-20  1:57 Resync raid array problem Tarak
  2013-05-20  2:53 ` Keith Keller
@ 2013-05-20  3:43 ` Sam Bingner
  1 sibling, 0 replies; 5+ messages in thread
From: Sam Bingner @ 2013-05-20  3:43 UTC (permalink / raw)
  To: Tarak; +Cc: <linux-raid@vger.kernel.org>

On May 19, 2013, at 3:57 PM, Tarak <tarakramgopal@gmail.com> wrote:

> Hi 
> We sucessfully created a Raid array of 8 harddisks.
> On power failure situation, the resync of raid array 
> is taking too much of time almost equal to 
> the time taken for creating the raid array of hard disks.
> Anyone is having an idea about this..
> Please help me on this.
> 
> Regards
> Tarak

If you enable a bitmap on the device it should significantly lower the resync times.... but of curse this should not be a normal occurrence, or you have bigger problems...

Sam


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

* Re: Resync raid array problem
  2013-05-20  2:53 ` Keith Keller
@ 2013-05-20  3:46   ` Brad Campbell
  2013-05-20 13:45     ` Roy Sigurd Karlsbakk
  0 siblings, 1 reply; 5+ messages in thread
From: Brad Campbell @ 2013-05-20  3:46 UTC (permalink / raw)
  To: linux-raid

On 20/05/13 10:53, Keith Keller wrote:
> On 2013-05-20, Tarak <tarakramgopal@gmail.com> wrote:
>> We sucessfully created a Raid array of 8 harddisks.
>> On power failure situation,
>
> You should probably have some sort of redundant power for such an
> array--either a UPS or backup power provided by a building generator.
>

Can't agree with this strongly enough. Grab the best UPS you can afford 
(and often that means getting a 10 year old one second hand and 
replacing the batteries). Best investment I _ever_ made was a 2000 
vintage APC SmartUPS 2200 and it cost all of about $200 second hand, 
plus another $100 for new batteries.

Also, look at adding a bitmap to your array. Then it will only resync 
what it suspects might be dirty.



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

* Re: Resync raid array problem
  2013-05-20  3:46   ` Brad Campbell
@ 2013-05-20 13:45     ` Roy Sigurd Karlsbakk
  0 siblings, 0 replies; 5+ messages in thread
From: Roy Sigurd Karlsbakk @ 2013-05-20 13:45 UTC (permalink / raw)
  To: Brad Campbell; +Cc: linux-raid

> On 20/05/13 10:53, Keith Keller wrote:
> > On 2013-05-20, Tarak <tarakramgopal@gmail.com> wrote:
> >> We sucessfully created a Raid array of 8 harddisks.
> >> On power failure situation,
> >
> > You should probably have some sort of redundant power for such an
> > array--either a UPS or backup power provided by a building
> > generator.
> >
> 
> Can't agree with this strongly enough. Grab the best UPS you can
> afford
> (and often that means getting a 10 year old one second hand and
> replacing the batteries). Best investment I _ever_ made was a 2000
> vintage APC SmartUPS 2200 and it cost all of about $200 second hand,
> plus another $100 for new batteries.
> 
> Also, look at adding a bitmap to your array. Then it will only resync
> what it suspects might be dirty.

oh - and if this is a raid-5 array, better get a new disk and change to raid-6. 8 drives in raid-5 is rather a lot…

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
roy@karlsbakk.net
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2013-05-20 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-20  1:57 Resync raid array problem Tarak
2013-05-20  2:53 ` Keith Keller
2013-05-20  3:46   ` Brad Campbell
2013-05-20 13:45     ` Roy Sigurd Karlsbakk
2013-05-20  3:43 ` Sam Bingner

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