linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help with /etc/raidtab
@ 2003-07-08 21:52 Bradley D. Thornton
  2003-07-08 22:21 ` Bradley D. Thornton
  0 siblings, 1 reply; 3+ messages in thread
From: Bradley D. Thornton @ 2003-07-08 21:52 UTC (permalink / raw)
  To: linux-raid

I've been looking around for example /etc/raidtabs and only seem to find
ones that look like this:

raiddev /dev/md0
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        chunk-size     4
        persistent-superblock 1
        device          /dev/sda1
        raid-disk       0
        device          /dev/sdb1
        raid-disk       1
My question is, considering that I have multiple partitions that I want to
array and I also want to boot from my RAID 1 array, can I just do this?
        device          /dev/sda
        raid-disk       0
        device          /dev/sdb
        raid-disk       1
or do I need to do this?
        device          /dev/sda1
        raid-disk       0        device          /dev/sda3        raid-disk
0        device          /dev/sda5        raid-disk       0        device
/dev/sda6        raid-disk       0        device          /dev/sdb1
        raid-disk       1        device          /dev/sdb3        raid-disk
1        device          /dev/sdb5        raid-disk       1        device
/dev/sdb6        raid-disk       1Any assistance would be greatly
appreciated.
---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system
(http://www.grisoft.com).Version: 6.0.449 / Virus Database: 251 - Release
Date: 01/27/03




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help with /etc/raidtab
  2003-07-08 21:52 Help with /etc/raidtab Bradley D. Thornton
@ 2003-07-08 22:21 ` Bradley D. Thornton
  2003-07-08 22:32   ` Donghui Wen
  0 siblings, 1 reply; 3+ messages in thread
From: Bradley D. Thornton @ 2003-07-08 22:21 UTC (permalink / raw)
  To: linux-raid

I realize that the example below is ugly, sorry for that :(

Basically what I'm asking is, can't I just specify /dev/sdX in raidtab or do
I actually have to specify each and evry single partition on the disk for
the array to work - i.e., /dev/sdX#   ????

Please see below if you can deal with the lousy formatting.


"Bradley D. Thornton" <website.is@www.NorthTech.US> wrote in message
news:befehe$k5a$1@main.gmane.org...
> I've been looking around for example /etc/raidtabs and only seem to find
> ones that look like this:
>
> raiddev /dev/md0
>         raid-level      1
>         nr-raid-disks   2
>         nr-spare-disks  0
>         chunk-size     4
>         persistent-superblock 1
>         device          /dev/sda1
>         raid-disk       0
>         device          /dev/sdb1
>         raid-disk       1
> My question is, considering that I have multiple partitions that I want to
> array and I also want to boot from my RAID 1 array, can I just do this?
>         device          /dev/sda
>         raid-disk       0
>         device          /dev/sdb
>         raid-disk       1
> or do I need to do this?
>         device          /dev/sda1
>         raid-disk       0        device          /dev/sda3
raid-disk
> 0        device          /dev/sda5        raid-disk       0        device
> /dev/sda6        raid-disk       0        device          /dev/sdb1
>         raid-disk       1        device          /dev/sdb3
raid-disk
> 1        device          /dev/sdb5        raid-disk       1        device
> /dev/sdb6        raid-disk       1Any assistance would be greatly
> appreciated.
> ---Outgoing mail is certified Virus Free.Checked by AVG anti-virus system
> (http://www.grisoft.com).Version: 6.0.449 / Virus Database: 251 - Release
> Date: 01/27/03
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 01/27/03




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help with /etc/raidtab
  2003-07-08 22:21 ` Bradley D. Thornton
@ 2003-07-08 22:32   ` Donghui Wen
  0 siblings, 0 replies; 3+ messages in thread
From: Donghui Wen @ 2003-07-08 22:32 UTC (permalink / raw)
  To: linux-raid, Bradley D. Thornton

You have to specify each partition.

Donghui

----- Original Message -----
From: "Bradley D. Thornton" <website.is@www.NorthTech.US>
To: <linux-raid@vger.kernel.org>
Sent: Tuesday, July 08, 2003 3:21 PM
Subject: Re: Help with /etc/raidtab


> I realize that the example below is ugly, sorry for that :(
>
> Basically what I'm asking is, can't I just specify /dev/sdX in raidtab or
do
> I actually have to specify each and evry single partition on the disk for
> the array to work - i.e., /dev/sdX#   ????
>
> Please see below if you can deal with the lousy formatting.
>
>
> "Bradley D. Thornton" <website.is@www.NorthTech.US> wrote in message
> news:befehe$k5a$1@main.gmane.org...
> > I've been looking around for example /etc/raidtabs and only seem to find
> > ones that look like this:
> >
> > raiddev /dev/md0
> >         raid-level      1
> >         nr-raid-disks   2
> >         nr-spare-disks  0
> >         chunk-size     4
> >         persistent-superblock 1
> >         device          /dev/sda1
> >         raid-disk       0
> >         device          /dev/sdb1
> >         raid-disk       1
> > My question is, considering that I have multiple partitions that I want
to
> > array and I also want to boot from my RAID 1 array, can I just do this?
> >         device          /dev/sda
> >         raid-disk       0
> >         device          /dev/sdb
> >         raid-disk       1
> > or do I need to do this?
> >         device          /dev/sda1
> >         raid-disk       0        device          /dev/sda3
> raid-disk
> > 0        device          /dev/sda5        raid-disk       0
device
> > /dev/sda6        raid-disk       0        device          /dev/sdb1
> >         raid-disk       1        device          /dev/sdb3
> raid-disk
> > 1        device          /dev/sdb5        raid-disk       1
device
> > /dev/sdb6        raid-disk       1Any assistance would be greatly
> > appreciated.
> > ---Outgoing mail is certified Virus Free.Checked by AVG anti-virus
system
> > (http://www.grisoft.com).Version: 6.0.449 / Virus Database: 251 -
Release
> > Date: 01/27/03
> >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.449 / Virus Database: 251 - Release Date: 01/27/03
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-08 22:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-08 21:52 Help with /etc/raidtab Bradley D. Thornton
2003-07-08 22:21 ` Bradley D. Thornton
2003-07-08 22:32   ` Donghui Wen

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).