From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Duplicate identical Hard Disk
Date: Fri, 2 Apr 2010 10:38:33 -0700 [thread overview]
Message-ID: <t2k5bdc1c8b1004021038i29c0ae65j1658f98002138ecd@mail.gmail.com> (raw)
In-Reply-To: <hp56gm$82p$1@dough.gmane.org>
On Fri, Apr 2, 2010 at 9:37 AM, walt <w41ter@gmail.com> wrote:
> On 04/02/2010 07:59 AM, Mark Knecht wrote:
>
>>
>> 1) Yes, you can RAID partitions of drives. That's what I'm doing. You
>> can look at the Gentoo RAID/LVM Install guide to see an example of
>> using RAID0 and RAID1 on a single drive.
>>
>> http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
>
> Very useful post, thanks. I'm just nitpicking here about the use of
> RAID0 on a single physical drive, which doesn't seem useful IIUC.
>
> RAID0 alternates stripes between two physical drives so that one disk
> can be reading/writing while the other disk's heads are seeking, no?
>
> If that is the case, then single-disk RAID0 will just be thrashing the
> heads back and forth between stripes on different partitions, making
> more work for itself than necessary.
>
> If I'm wrong about this, someone please correct me.
No, you are correct, RAID0 on a single drive makes no sense. If I
suggested that then I apologize for the confusion. I was only saying
that you can do RAID on one partition but do non-RAID on another. For
instance, /boot is non-RAID and then other partitions are RAID. I may
be wrong but I think that's only possible with software RAID. Not sure
you could do this behind a hardware RAID controller.
sda1 = /boot - non-RAID
sda2, sdb2, sdc2 = swap, but not RAID. The kernel binds them.
sda3, sdb3, sdc3 = RAID /home
or something like that.
In case even that's not clear, I don't think mdadm supports a RAID
array of any type with all the partitions on a single drive. For
instance:
mdadm --create /dev/md1 --level=1 --raid-devices=3 /dev/sda1 /dev/sda2 /dev/sda3
doesn't make any sense to me even if it is supported.
Hope that helps clear things up. ;-)
- Mark
next prev parent reply other threads:[~2010-04-02 17:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 22:48 [gentoo-user] Duplicate identical Hard Disk Joseph
2010-04-01 23:02 ` Paul Hartman
2010-04-02 0:43 ` Mark Knecht
2010-04-02 1:40 ` Joseph
2010-04-02 2:09 ` Mark Knecht
2010-04-02 12:02 ` Dan Cowsill
2010-04-02 14:59 ` Mark Knecht
2010-04-02 16:23 ` Joseph
2010-04-02 16:37 ` [gentoo-user] " walt
2010-04-02 17:38 ` Mark Knecht [this message]
2010-04-02 2:47 ` walt
2010-04-02 8:42 ` Neil Bothwick
2010-04-02 15:46 ` Joseph
2010-04-02 16:47 ` walt
2010-04-02 18:01 ` Joseph
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=t2k5bdc1c8b1004021038i29c0ae65j1658f98002138ecd@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.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