lkml.org 
[lkml]   [2009]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Raid not shutting down when disks are lost?
From
On Sat, Nov 21, 2009 at 12:36 PM, Pierre Ossman <pierre-list@ossman.eu> wrote:
> Or is there perhaps some magic mdadm command to add a lost disk and get
> it up to speed without a complete sync?

If you care about resync speed then look into adding a write intent
bitmap to your configuration; otherwise, look into the --assume-clean
option to recreate the array.

Quoting from the man page:
--assume-clean
Tell mdadm that the array pre-existed and is known to be clean.
It can be useful when trying to recover from a major failure as you
can be sure that no data will be affected unless you actually write to
the array. It can also be used when creating a RAID1 or RAID10 if you
want to avoid the initial resync, however this practice, while
normally safe, is not recommended. Use this only if you really know
what you are doing.

--
Dan


\
 
 \ /
  Last update: 2009-11-21 22:05    [W:0.033 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site