Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: Mikael Abrahamsson <swmike@swm.pp.se>
Cc: Pol Hallen <polhallen@fuckaround.org>,
	linux-raid <linux-raid@vger.kernel.org>
Subject: Re: mdadm striped parity RAID with Advanced Format drives
Date: Thu, 21 Jul 2011 06:18:07 -0500	[thread overview]
Message-ID: <4E280AEF.4020801@hardwarefreak.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1107211226540.20159@uplift.swm.pp.se>

On 7/21/2011 5:27 AM, Mikael Abrahamsson wrote:
> On Thu, 21 Jul 2011, Stan Hoeppner wrote:
> 
>> 1. Can one create a RAID5 from bare (partition-less) AF drives and
>> avoid the read-modify-write problem?
> 
> Yes, that's what I always do.

Ok, good.

>> 2. Or is one required to assemble the array from properly aligned
>> partitions created on each drive?
> 
> No.

Great.

Ok. Pol, keep in mind that all drives must be identical size when
creating an array on raw disks.  You said you're now working with 6
identical WD drives so this shouldn't be an issue.

After you shutdown and delete the current array, wipe all existing
partitions and partition tables from these drives before creating the
raw disk array.  Use:

~$ dd if=/dev/zero of=/dev/sdX bs=512 count=1

Do this once for each drive, replacing 'X' with the proper letter.  Then
create your new RAID5 array using sd[a,b,c,d,e,f].

Good luck.

-- 
Stan

  reply	other threads:[~2011-07-21 11:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201107211011.40151.polhallen@fuckaround.org>
2011-07-21 10:26 ` mdadm striped parity RAID with Advanced Format drives Stan Hoeppner
2011-07-21 10:27   ` Mikael Abrahamsson
2011-07-21 11:18     ` Stan Hoeppner [this message]
2011-07-21 11:23       ` Mikael Abrahamsson
2011-07-23  3:31       ` maurice
2011-07-23  7:11         ` Michael Tokarev
2011-07-23 15:38           ` maurice
2011-07-23 15:58             ` Mikael Abrahamsson
2011-07-23 18:03               ` maurice
2011-07-25  8:41                 ` Nikolay Kichukov
2011-07-25 18:57                   ` Michael Tokarev
2011-07-21 10:46   ` Pol Hallen
2011-07-22  7:13   ` Luca Berra

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=4E280AEF.4020801@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=polhallen@fuckaround.org \
    --cc=swmike@swm.pp.se \
    /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