Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "Graham Mitchell" <gmitch@woodlea.com>
To: 'Leslie Rhorer' <lrhorer@satx.rr.com>,
	'Mdadm' <linux-raid@vger.kernel.org>
Subject: RE: device and partition alignment
Date: Sat, 5 Jun 2010 20:19:41 -0400	[thread overview]
Message-ID: <000601cb050d$f655c140$e30143c0$@woodlea.com> (raw)
In-Reply-To: <15.FE.17309.236EA0C4@cdptpa-omtalb.mail.rr.com>

> > Then we come back to the physical disks that go to make up the RAID
> > device.
> > I guess the simplest way (or am I being too simplistic here) would be
> > to use the raw device, which would (should?) guarantee that everything
> > would be aligned? However, I want to be able to use partitions on the
> > disk to create the array, so that doesn't really help.
> 
> 	Why?  I haven't seen anything in your message which suggests they
> are necessary.  If you don't need partitions, then I suggest you don't use
> them.  None of my data arrays have partitions either above or below the
> RAID layer.  The md targets are raw disks and the filesystems are created
> directly on top of the RAID block device.



In the case of the media server, partitions aren't really needed, I'd agree.
However, one of the other projects I have in mind is a storage server with
differing requirements - I'd like to be able to make small partitions on the
disks for fast access (basically short stroke them) as a RAID 10 for
business hour use, and use the large rest of the drives as a RAID 5 array
for backup storage, which would only be used during off hours.

So I'd agree, in some cases using the raw devices makes sense, but in others
it makes sense to partition - and I'd like to have the knowledge for both
situations.


Graham


  reply	other threads:[~2010-06-06  0:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05 20:51 device and partition alignment Graham Mitchell
2010-06-05 21:51 ` Stefan /*St0fF*/ Hübner
2010-06-05 22:11   ` Wolfgang Denk
2010-06-05 23:14     ` Graham Mitchell
2010-06-06  0:05       ` Leslie Rhorer
2010-06-06  0:19         ` Graham Mitchell [this message]
2010-06-06 10:56       ` Stefan /*St0fF*/ Hübner

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='000601cb050d$f655c140$e30143c0$@woodlea.com' \
    --to=gmitch@woodlea.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=lrhorer@satx.rr.com \
    /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