linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robin Hill <robin@robinhill.me.uk>
To: linux-raid@vger.kernel.org
Subject: Re: RAID 5 build time optimization question and experiments.
Date: Fri, 11 Dec 2009 15:29:38 +0000	[thread overview]
Message-ID: <20091211152938.GA5857@cthulhu.home.robinhill.me.uk> (raw)
In-Reply-To: <ad15b8920912110655k62c8b6ber8b366731cf1e85f3@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]

On Fri Dec 11, 2009 at 02:55:31PM +0000, Cat'Killer wrote:

> I found a way using Doug Gilbert's great sg3utils to zero all these
> disks in a very efficient manner, using sgp_dd, at near drive
> bandwidth, and proceeded to zero all the disks fully in about 4 hours!
> 
> Once done, I then created a RAID 5 on 10 disks, waited for the rebuild
> to complete, stopped the array using mdadm, and dumped each of the
> RAID's components superblocks to files.
> 
<-snip->
> The create worked fine and I waited for the rebuild to be complete
> before stopping the array and dumping the SBs.
> 
> I then proceeded to write these same superblocks to 10 new similar
> disks in a different system.
>
You could just do the create with --assume-clean, which should take very
little time at all.  If the drives were zeroed initially then this will
give you valid parity data.

Cheers,
    Robin

-- 
     ___        
    ( ' }     |       Robin Hill        <robin@robinhill.me.uk> |
   / / )      | Little Jim says ....                            |
  // !!       |      "He fallen in de water !!"                 |

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-12-11 15:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-11 14:55 RAID 5 build time optimization question and experiments Cat'Killer
2009-12-11 15:29 ` Robin Hill [this message]
2009-12-11 15:44   ` Joe Landman
     [not found] <4B227932.80503@mpstor.com>
2009-12-11 16:57 ` Cat'Killer
2009-12-11 22:35   ` Michael Evans

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=20091211152938.GA5857@cthulhu.home.robinhill.me.uk \
    --to=robin@robinhill.me.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).