public inbox for linux-raid@vger.kernel.org
 help / color / mirror / Atom feed
* Prevent automatic reconstruction during boot/assembly (RAID 1)?
@ 2009-08-11 12:28 Sebastian Färber
  2009-08-12 23:10 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Färber @ 2009-08-11 12:28 UTC (permalink / raw)
  To: linux-raid

Hi,

i'm trying to figure out if it is possible to prevent the
automatic reconstruction that can occur during the md assembly
at boot.
I'm running Kernel 2.6.30.4 and use a RAID-1 over two SATA disks.
If the server is rebooted "hard" due to power loss etc. it often happens
that the reconstruction of my RAID-1 is automatically triggered by the kernel.
Is there any way to prevent this? I want to re-add the "out of sync"
drive myself
using mdadm only.
I'm currently using raid auto detection (partiton type fd) and the old
0.90 superblock format but if it helps i would switch
to an initrd/newer superblock.

Thanks for your help!

Regards,

Sebastian

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

* Re: Prevent automatic reconstruction during boot/assembly (RAID 1)?
  2009-08-11 12:28 Prevent automatic reconstruction during boot/assembly (RAID 1)? Sebastian Färber
@ 2009-08-12 23:10 ` Neil Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2009-08-12 23:10 UTC (permalink / raw)
  To: Sebastian Färber; +Cc: linux-raid

On Tuesday August 11, faerber@gmail.com wrote:
> Hi,
> 
> i'm trying to figure out if it is possible to prevent the
> automatic reconstruction that can occur during the md assembly
> at boot.
> I'm running Kernel 2.6.30.4 and use a RAID-1 over two SATA disks.
> If the server is rebooted "hard" due to power loss etc. it often happens
> that the reconstruction of my RAID-1 is automatically triggered by the kernel.
> Is there any way to prevent this? I want to re-add the "out of sync"
> drive myself
> using mdadm only.
> I'm currently using raid auto detection (partiton type fd) and the old
> 0.90 superblock format but if it helps i would switch
> to an initrd/newer superblock.

There isn't any simple way to do what you want.
May if you could explain why you want it, something else might be
suitable.

NeilBrown

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

end of thread, other threads:[~2009-08-12 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 12:28 Prevent automatic reconstruction during boot/assembly (RAID 1)? Sebastian Färber
2009-08-12 23:10 ` Neil Brown

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