RE: [newbie] Help me please.............Software Raid on linux for Newies Instructions. 10 easy steps.

2001-10-21 Thread Franki



Hi, 
These instructions are brief, and 7.2 tested, but should work much the same way 
with 8 and 8.1. your question was about mirroring which is slightly slower then 
a single drive, but you will have data redundency (same info on two 
drives.)
RAID0 - splits data on to two drives for 
inproved performance. 
RAID1 - Mirror data on more then one drive to 
create redundancy. (slower)
RAID2 onwards, mixes 
mirroring and striping to give benefits of both in different mixes, usually 
needs 3 or more drives.

I will 
concentraite on the first two RAID inplimentations.
1. 
Hook both your drives up.
2. 
Boot from MDK CDROM and select Expert install.
3. 
Choose Diskdrake when you get asked.
4. 
Create a 20MB partition of EXT2 on drive1, and point it to /boot. (boot is tiny 
and doesn't benefit from Raid.)
5. 
Find the area on disk one that you want to be the first Raid-0 array, and select 
"Add to Raid" It will be called md0 by default (md means multiple 
disk)
you 
can then set what level of RAID you want. leave the chunksize of 64k. (its the 
size of strips accross the drives. 64k is a good default for large and small 
files.)
6. 
Select equal size partition on drive 2. and "Add to Raid" select md0 for 
target.
7. Do 
the same on both drives with the swap, (ie create equal swap partitions on each 
drive creating md1 for both..
8. 
Click the RAID tab in diskdrake click on the RAID arrays free space 
(md0)and choose REISERFS, (or whatever FS you want.) then do the same for 
md1 except select linux Swap..
9. Set 
the mount point for md0 to / (ie the root partition). I think 
the swap will be allocated automatically.
10 
Install linux as per normal from that point, MDK should do the rest for 
you.

Thats 
it, when finished you will have your linux box booting in software RAID, if you 
chose mirroring it will be a tiny bit slower then one drive (because its writing 
data twice), but if you chose striping it will be probably 10-60% faster then a 
single drive.

Hope 
that helps someone, I have written that as generic as I can in the hope that it 
will help more then one person.


rgds

Frank







Frank HauptleNetwork Payment Solutions.


To correct all M$ Windows problems, only one small command is 
necessary:format C:(then press y.) Bingo! Your windows computer 
is now secure, stable, and just as useful.For Perth Peoples:http://www.gshop.com.auFor 
Australian e-businesshttp://www.e-pay.net.auhttp://networkpaymentsolutions.com

  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Tuan TranSent: Sunday, 21 October 2001 12:47 
  PMTo: [EMAIL PROTECTED]Subject: [newbie] Help me 
  please.
  
  Could anyone please show me how to 
  setup IDE RAID 1. I have 2 60GB HD and want to setup RAID1 
  but I dont know how. Do I have to partition both HD exactly same siez(s)? If 
  you can please show me how to setup via Webmin or other 
  GUI.
  Thank 
  you
  Tuan


RE: [newbie] Help me please.............Software Raid on linux for Newies Instructions. 10 easy steps.

2001-10-21 Thread Tuan Tran

Frank,
Thanks a lot. I will try to do like you said this afternoon.
Tuan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Franki
Sent: Sunday, October 21, 2001 2:28 AM
To: [EMAIL PROTECTED]
Subject: RE: [newbie] Help me please.Software Raid on linux
for Newies Instructions. 10 easy steps.

Hi, These instructions are brief, and 7.2 tested, but should work much
the same way with 8 and 8.1. your question was about mirroring which is
slightly slower then a single drive, but you will have data redundency
(same info on two drives.)
RAID0  - splits data on to two drives for inproved performance.   
RAID1  - Mirror data on more then one drive to create redundancy.
(slower)
RAID2  onwards, mixes mirroring and striping to give benefits of both in
different mixes, usually needs 3 or more drives.
 
I will concentraite on the first two RAID inplimentations.
1. Hook both your drives up.
2. Boot from MDK CDROM and select Expert install.
3. Choose Diskdrake when you get asked.
4. Create a 20MB partition of EXT2 on drive1, and point it to /boot.
(boot is tiny and doesn't benefit from Raid.)
5. Find the area on disk one that you want to be the first Raid-0 array,
and select Add to Raid It will be called md0 by default (md means
multiple disk)
you can then set what level of RAID you want. leave the chunksize of
64k. (its the size of strips accross the drives. 64k is a good default
for large and small files.)
6. Select equal size partition on drive 2. and Add to Raid select md0
for target.
7. Do the same on both drives with the swap, (ie create equal swap
partitions on each drive creating md1 for both..
8. Click the RAID tab in diskdrake click on  the RAID arrays free space
(md0) and choose REISERFS, (or whatever FS you want.) then do the same
for md1 except select linux Swap..
9. Set the mount point for md0 to / (ie the root partition).    I think
the swap will be allocated automatically.
10 Install linux as per normal from that point, MDK should do the rest
for you.
 
Thats it, when finished you will have your linux box booting in software
RAID, if you chose mirroring it will be a tiny bit slower then one drive
(because its writing data twice), but if you chose striping it will be
probably 10-60% faster then a single drive.
 
Hope that helps someone, I have written that as generic as I can in the
hope that it will help more then one person.
 
 
rgds
 
Frank
 
 
 
 
 
 
 
Frank Hauptle
Network Payment Solutions.
 
 


To correct all M$ Windows problems, only one small command is necessary:

format C:

(then press y.) Bingo! Your windows computer is now secure, stable, and
just as useful.

For Perth Peoples:
http://www.gshop.com.au

For Australian e-business
http://www.e-pay.net.au
http://networkpaymentsolutions.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tuan Tran
Sent: Sunday, 21 October 2001 12:47 PM
To: [EMAIL PROTECTED]
Subject: [newbie] Help me please.
Could anyone please show me how to setup IDE RAID 1. I have 2  60GB HD
and want to setup RAID1 but I don’t know how. Do I have to partition
both HD exactly same siez(s)? If you can please show me how to setup via
Webmin or other GUI.
Thank you
Tuan


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com