Re: Configuring combination of RAID-1 RAID-5

2006-02-01 Thread dean gaudet
On Tue, 31 Jan 2006, Enrique Garcia Briones wrote:

> I have read the setting-up for the raid-5 and 1, but I would like to ask you 
> if I can set-up a combined RAID configuration as mentioned above, since all 
> the examples I found upto now just talk of one RAD configuration

you can have more than one /dev/mdN device no problem...

if you've got a raid1 root disk setup on a box with raid5/6, and you want 
to use a journalling filesystem on the raid5/6 you should seriously 
consider saving space on the root disk for an external journal for the 
raid5/6 filesystem.  it really helps metadata-heavy operations to offload 
the journal writes to the raid1 spindles.

-dean
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Fw: Re: Configuring combination of RAID-1 RAID-5

2006-02-01 Thread Gordon Henderson
On Wed, 1 Feb 2006, Enrique Garcia Briones wrote:

> > I'd be tempted to remove the A1000 and install on the 2 internal
> > drives, then once that's happy, plug the A1000 back in again. It
> > might be that the OBP (Open Boot Prom) code is favouring the
> > external device to boot off, but it's been a very long time since
> > I've dabbled in that. You'd need to push Stop+A at boot time then
> > enter some runes at the OK prompt to check/reconfigure the boot device.
> >
> I already did that, and modify the boot_device to the first of the internal
> hard drives, but, when the Linux tries to came up, it shows an error... that
> I cannot remember now. :S

Oops

> > The A1000 devices I've used had an on-board RAID controller and some
> > software that ran under Solaris to configure it, so that might be
> > somethign to look into too - to make sure it's doing what you expect
> > it to be doing.
>
> The raid controler that you are mentioning is possible to configure it under
> Solaris and still have it working with debian??

There are utilities to do this under Solaris - I did this many moons ago
(but then used it under Solaris) AIUI, the box looked like one SCSI device
with the RAID units appearing as LUNs. (I had the boxes populated with 3
RAID-5 arrays running over 4 disks each) I'd hope you could set it to jsut
look like 12 disks, but as theres only one SCSI cable going into it, don't
exect stellar performance. (I recall it was dog-slow anyway, but that
might just have been Slowaris ;-)

I also recall something about the Debian servers running with one of these
devices once upon a time - maybe there's someone on the Debian lists who
can help with the device & configuring?

> I was unable to find any good enough documentation regarding the
> configuration of raid-6, under debian linux, or similar, I feel like I am
> shipwrecked, can anyone aimed me to the correct direction?

List archives :-) but setting it up is easy... You need a recent 2.6
kernel and mdadm 1.8 or greater (maybe 1.9) there is nothing fancy in the
mdadm command line:

  mdadm --create /dev/md1 --raid-disks=12 --level=6 \
/dev/sd{a,b,c,d,e,f,g,h,i,j,k,l}1

modify to suit...

Then wait.. and wait.. for it to sync..

  watch -n2 cat /proc/mdstat

Although like all the other raid levels, it's ready to use right away,
just might not survive losing a disk very well until the entire array is
synced up.

Gordon
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Fw: Re: Configuring combination of RAID-1 RAID-5

2006-02-01 Thread Enrique Garcia Briones
Hi again...

On Tue, 31 Jan 2006 17:23:35 + (GMT), Gordon Henderson wrote
> On Tue, 31 Jan 2006, Enrique Garcia Briones wrote:
> 
> > Thanks Gordon,
> >
> > I will then read and re-read the RAID-6 configuration, and something I 
miss
> > to explain, may be is not to be discussed here, is that when I installed 
the
> > Linux with the A1000 pulled out everything went out well but, when I
> > reconnect the A1000 the system didn't start up correctly... so my unique 
way
> > was to install the Linux in the first hard drive of the A1000 and it 
seems
> > to be working fine, Is that alternative functional?
> 
> I'd be tempted to remove the A1000 and install on the 2 internal 
> drives, then once that's happy, plug the A1000 back in again. It 
> might be that the OBP (Open Boot Prom) code is favouring the 
> external device to boot off, but it's been a very long time since 
> I've dabbled in that. You'd need to push Stop+A at boot time then 
> enter some runes at the OK prompt to check/reconfigure the boot device.
> 
I already did that, and modify the boot_device to the first of the internal 
hard drives, but, when the Linux tries to came up, it shows an error... that 
I cannot remember now. :S

> The A1000 devices I've used had an on-board RAID controller and some
> software that ran under Solaris to configure it, so that might be
> somethign to look into too - to make sure it's doing what you expect 
> it to be doing.
> 

The raid controler that you are mentioning is possible to configure it under 
Solaris and still have it working with debian??

I was unable to find any good enough documentation regarding the 
configuration of raid-6, under debian linux, or similar, I feel like I am 
shipwrecked, can anyone aimed me to the correct direction?

Enrique

> Gordon
> 
> >
> > thanks
> >
> > -- Forwarded Message ---
> > From: Gordon Henderson <[EMAIL PROTECTED]>
> > To: Enrique Garcia Briones <[EMAIL PROTECTED]>
> > Cc: linux-raid@vger.kernel.org
> > Sent: Tue, 31 Jan 2006 17:05:12 + (GMT)
> > Subject: Re: Configuring combination of RAID-1 RAID-5
> >
> > On Tue, 31 Jan 2006, Enrique Garcia Briones wrote:
> >
> > > Hi,
> > >
> > > Let me introduce myself.
> > >
> > > I'm newbie in linux and in RAID over linux, I have configured a RAID-0 
in a
> > > NetBSD 2.0 BOX. so, now let me explain what I'm trying to do,
> > >
> > > Antecedents/Equipment:
> > >
> > > I have a Sparc 420 with 4 processors and 4 Gb in RAM, two SCSI SEAGATE
> > > internal hard disk with an array of 12 hard disks (Storedge 1000).
> > >
> > > What we want to have:
> > >
> > > We installed Debian Linux (I think it is 3.1 with kernel 2.4), and we 
want
> > > to have the following configuration:
> > >
> > > 1 System Harddisk
> > > 1 RAID-1 Mirror Hard Drive
> > > 12 Hard drives in RAID-5, 10 working and 2 as spare disks.
> > >
> > > I have read the setting-up for the raid-5 and 1, but I would like to 
ask
> > you
> > > if I can set-up a combined RAID configuration as mentioned above, 
since all
> > > the examples I found upto now just talk of one RAD configuration, 
besides
> > > this, I would like to ask you that if the configuration I want to have 
is
> > > STRONG enough for the quantity of disk in the box, or if there must be 
any
> > > other considerations to have.
> >
> > Wow. an A1000. Ancient, but probably still OK. I'm not sure if there are
> > any management utilities for them that'll run under Linux - I've only 
ever
> > seen 2 of these and they seem to be able to run RAID themselves - might 
be
> > faster, but the ones I had were slow anyway - maybe you can re-configure
> > them to just look like 12 disks and let Linux do the RAID on them...
> >
> > Heres my suggestion:
> >
> > Install a 2.6 kernel.
> >
> > Partition both internal disks identically, then then combine all the
> > partitions with RAID-1. Boot off RAID-1, if you can - I'm not up on the
> > SLILO/whatever boot loaders for Sparc though.
> >
> > Configure the 12 external disks using RAID-6. You'll get one disk more
> > worth of storage that way and still be able to sustain a 2 disk failure.
> >
> > Gordon
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> > the body of a message to [EMAIL PROTECTED]
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

Re: Fw: Re: Configuring combination of RAID-1 RAID-5

2006-01-31 Thread Gordon Henderson
On Tue, 31 Jan 2006, Enrique Garcia Briones wrote:

> Thanks Gordon,
>
> I will then read and re-read the RAID-6 configuration, and something I miss
> to explain, may be is not to be discussed here, is that when I installed the
> Linux with the A1000 pulled out everything went out well but, when I
> reconnect the A1000 the system didn't start up correctly... so my unique way
> was to install the Linux in the first hard drive of the A1000 and it seems
> to be working fine, Is that alternative functional?

I'd be tempted to remove the A1000 and install on the 2 internal drives,
then once that's happy, plug the A1000 back in again. It might be that the
OBP (Open Boot Prom) code is favouring the external device to boot off,
but it's been a very long time since I've dabbled in that. You'd need to
push Stop+A at boot time then enter some runes at the OK prompt to
check/reconfigure the boot device.

The A1000 devices I've used had an on-board RAID controller and some
software that ran under Solaris to configure it, so that might be
somethign to look into too - to make sure it's doing what you expect it to
be doing.

Gordon



>
> thanks
>
> -- Forwarded Message ---
> From: Gordon Henderson <[EMAIL PROTECTED]>
> To: Enrique Garcia Briones <[EMAIL PROTECTED]>
> Cc: linux-raid@vger.kernel.org
> Sent: Tue, 31 Jan 2006 17:05:12 + (GMT)
> Subject: Re: Configuring combination of RAID-1 RAID-5
>
> On Tue, 31 Jan 2006, Enrique Garcia Briones wrote:
>
> > Hi,
> >
> > Let me introduce myself.
> >
> > I'm newbie in linux and in RAID over linux, I have configured a RAID-0 in a
> > NetBSD 2.0 BOX. so, now let me explain what I'm trying to do,
> >
> > Antecedents/Equipment:
> >
> > I have a Sparc 420 with 4 processors and 4 Gb in RAM, two SCSI SEAGATE
> > internal hard disk with an array of 12 hard disks (Storedge 1000).
> >
> > What we want to have:
> >
> > We installed Debian Linux (I think it is 3.1 with kernel 2.4), and we want
> > to have the following configuration:
> >
> > 1 System Harddisk
> > 1 RAID-1 Mirror Hard Drive
> > 12 Hard drives in RAID-5, 10 working and 2 as spare disks.
> >
> > I have read the setting-up for the raid-5 and 1, but I would like to ask
> you
> > if I can set-up a combined RAID configuration as mentioned above, since all
> > the examples I found upto now just talk of one RAD configuration, besides
> > this, I would like to ask you that if the configuration I want to have is
> > STRONG enough for the quantity of disk in the box, or if there must be any
> > other considerations to have.
>
> Wow. an A1000. Ancient, but probably still OK. I'm not sure if there are
> any management utilities for them that'll run under Linux - I've only ever
> seen 2 of these and they seem to be able to run RAID themselves - might be
> faster, but the ones I had were slow anyway - maybe you can re-configure
> them to just look like 12 disks and let Linux do the RAID on them...
>
> Heres my suggestion:
>
> Install a 2.6 kernel.
>
> Partition both internal disks identically, then then combine all the
> partitions with RAID-1. Boot off RAID-1, if you can - I'm not up on the
> SLILO/whatever boot loaders for Sparc though.
>
> Configure the 12 external disks using RAID-6. You'll get one disk more
> worth of storage that way and still be able to sustain a 2 disk failure.
>
> Gordon
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --- End of Forwarded Message ---
>
>
> --
> UAdeC
> En el Bien fincamos el Saber
> Open WebMail Project (http://openwebmail.org)
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Fw: Re: Configuring combination of RAID-1 RAID-5

2006-01-31 Thread Enrique Garcia Briones
Thanks Gordon,

I will then read and re-read the RAID-6 configuration, and something I miss 
to explain, may be is not to be discussed here, is that when I installed the 
Linux with the A1000 pulled out everything went out well but, when I 
reconnect the A1000 the system didn't start up correctly... so my unique way 
was to install the Linux in the first hard drive of the A1000 and it seems 
to be working fine, Is that alternative functional?

thanks

-- Forwarded Message ---
From: Gordon Henderson <[EMAIL PROTECTED]>
To: Enrique Garcia Briones <[EMAIL PROTECTED]>
Cc: linux-raid@vger.kernel.org
Sent: Tue, 31 Jan 2006 17:05:12 + (GMT)
Subject: Re: Configuring combination of RAID-1 RAID-5

On Tue, 31 Jan 2006, Enrique Garcia Briones wrote:

> Hi,
>
> Let me introduce myself.
>
> I'm newbie in linux and in RAID over linux, I have configured a RAID-0 in a
> NetBSD 2.0 BOX. so, now let me explain what I'm trying to do,
>
> Antecedents/Equipment:
>
> I have a Sparc 420 with 4 processors and 4 Gb in RAM, two SCSI SEAGATE
> internal hard disk with an array of 12 hard disks (Storedge 1000).
>
> What we want to have:
>
> We installed Debian Linux (I think it is 3.1 with kernel 2.4), and we want
> to have the following configuration:
>
> 1 System Harddisk
> 1 RAID-1 Mirror Hard Drive
> 12 Hard drives in RAID-5, 10 working and 2 as spare disks.
>
> I have read the setting-up for the raid-5 and 1, but I would like to ask 
you
> if I can set-up a combined RAID configuration as mentioned above, since all
> the examples I found upto now just talk of one RAD configuration, besides
> this, I would like to ask you that if the configuration I want to have is
> STRONG enough for the quantity of disk in the box, or if there must be any
> other considerations to have.

Wow. an A1000. Ancient, but probably still OK. I'm not sure if there are
any management utilities for them that'll run under Linux - I've only ever
seen 2 of these and they seem to be able to run RAID themselves - might be
faster, but the ones I had were slow anyway - maybe you can re-configure
them to just look like 12 disks and let Linux do the RAID on them...

Heres my suggestion:

Install a 2.6 kernel.

Partition both internal disks identically, then then combine all the
partitions with RAID-1. Boot off RAID-1, if you can - I'm not up on the
SLILO/whatever boot loaders for Sparc though.

Configure the 12 external disks using RAID-6. You'll get one disk more
worth of storage that way and still be able to sustain a 2 disk failure.

Gordon

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--- End of Forwarded Message ---


--
UAdeC
En el Bien fincamos el Saber
Open WebMail Project (http://openwebmail.org)

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Configuring combination of RAID-1 RAID-5

2006-01-31 Thread Gordon Henderson
On Tue, 31 Jan 2006, Enrique Garcia Briones wrote:

> Hi,
>
> Let me introduce myself.
>
> I'm newbie in linux and in RAID over linux, I have configured a RAID-0 in a
> NetBSD 2.0 BOX. so, now let me explain what I'm trying to do,
>
> Antecedents/Equipment:
>
> I have a Sparc 420 with 4 processors and 4 Gb in RAM, two SCSI SEAGATE
> internal hard disk with an array of 12 hard disks (Storedge 1000).
>
> What we want to have:
>
> We installed Debian Linux (I think it is 3.1 with kernel 2.4), and we want
> to have the following configuration:
>
> 1 System Harddisk
> 1 RAID-1 Mirror Hard Drive
> 12 Hard drives in RAID-5, 10 working and 2 as spare disks.
>
> I have read the setting-up for the raid-5 and 1, but I would like to ask you
> if I can set-up a combined RAID configuration as mentioned above, since all
> the examples I found upto now just talk of one RAD configuration, besides
> this, I would like to ask you that if the configuration I want to have is
> STRONG enough for the quantity of disk in the box, or if there must be any
> other considerations to have.

Wow. an A1000. Ancient, but probably still OK. I'm not sure if there are
any management utilities for them that'll run under Linux - I've only ever
seen 2 of these and they seem to be able to run RAID themselves - might be
faster, but the ones I had were slow anyway - maybe you can re-configure
them to just look like 12 disks and let Linux do the RAID on them...

Heres my suggestion:

Install a 2.6 kernel.

Partition both internal disks identically, then then combine all the
partitions with RAID-1. Boot off RAID-1, if you can - I'm not up on the
SLILO/whatever boot loaders for Sparc though.

Configure the 12 external disks using RAID-6. You'll get one disk more
worth of storage that way and still be able to sustain a 2 disk failure.

Gordon

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Configuring combination of RAID-1 RAID-5

2006-01-31 Thread Enrique Garcia Briones
Hi,

Let me introduce myself.

I'm newbie in linux and in RAID over linux, I have configured a RAID-0 in a 
NetBSD 2.0 BOX. so, now let me explain what I'm trying to do,

Antecedents/Equipment:

I have a Sparc 420 with 4 processors and 4 Gb in RAM, two SCSI SEAGATE 
internal hard disk with an array of 12 hard disks (Storedge 1000).

What we want to have:

We installed Debian Linux (I think it is 3.1 with kernel 2.4), and we want 
to have the following configuration:

1 System Harddisk
1 RAID-1 Mirror Hard Drive
12 Hard drives in RAID-5, 10 working and 2 as spare disks.

I have read the setting-up for the raid-5 and 1, but I would like to ask you 
if I can set-up a combined RAID configuration as mentioned above, since all 
the examples I found upto now just talk of one RAD configuration, besides 
this, I would like to ask you that if the configuration I want to have is 
STRONG enough for the quantity of disk in the box, or if there must be any 
other considerations to have.

I really don't expect you to gave me all the answers, just to aimed me to 
the right direction would be really appreciated.

Thanks in Advance

Enrique Garcia Briones

--
UAdeC http://www.uadec.mx
En el Bien fincamos el Saber
Open WebMail Project (http://openwebmail.org)

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html