Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Software RAID 0 HOW-TO
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Moled
l33t
l33t


Joined: 09 Jul 2003
Posts: 635

PostPosted: Wed Jul 30, 2003 1:43 pm    Post subject: Reply with quote

those are two WD raptors connected to the intel raid controller in the ICH5R
for some reason they show up as scsi discs

individual drive:

Quote:
/dev/sda:
Timing buffer-cache reads: 3720 MB in 2.00 seconds = 1860.00 MB/sec
Timing buffered disk reads: 166 MB in 3.02 seconds = 54.97 MB/sec


oh and im using software raid

can't get the siimage to work just yet
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Wed Jul 30, 2003 10:09 pm    Post subject: Reply with quote

ahhh K :)

damn those raptors are nice :D

I am getting a 3Ware 8606 HARDWARE serial ata raid controller :D

and putting on 4 seagate 8mb cache hdds :D

now THAT should scream

if only I could put on 4 raptors :D
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
puddpunk
l33t
l33t


Joined: 20 Jul 2002
Posts: 681
Location: New Zealand

PostPosted: Wed Aug 13, 2003 9:44 am    Post subject: Reply with quote

taskara wrote:
hey puddpunk - what chipset are u running?


Just the standard, run-of-the-mill IDE controllers that come with my A7V-266-VM nforce motherboard. Nothing too fancy.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Wed Aug 13, 2003 1:10 pm    Post subject: Reply with quote

kk.. :)
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
mdpye
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 102
Location: Nottingham, England

PostPosted: Sat Aug 16, 2003 2:21 pm    Post subject: Reply with quote

taskara wrote:

I know this is only with UDMA2, but u seem to get such a high score there... what's your secret! ;)


Well, here's *one* secret I found when setting up my Seagate 7200.7s.

You use hde and hdg as your raid devices. If you can try swapping them to hda and hdc. On my Gigabyte GA7VXRP the raid controller has one one interrupt for both its channels. That's fine when you use the pseudo-hardware RAID cos you address the controller as one device. Use software RAID and suddenly the disks have to compete for interrupts...

Using the raid controller in ATA mode each of disks would pull up ~55MB/s, but combined, only ~65MB/s. Using the primary and secondary channels they get the same individually and combine for ~100MB/s. :)

Something for people disappointed with their results to check out...

MP
_________________
Cheers, MP
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sat Aug 16, 2003 10:34 pm    Post subject: Reply with quote

cool.. but I can't use hda or hdc because they are my primary parallel controllers and I have sata disks.

but good point tho.. thanks :)
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
equilian
n00b
n00b


Joined: 27 Apr 2002
Posts: 41
Location: Cambridge,MA

PostPosted: Fri Aug 22, 2003 9:41 pm    Post subject: Trouble with raid0 Reply with quote

So I follewed the how-to and had everything set up correctly or so I thought. However, when I rebooted, grub got to 1.5 and gave me error # 15. This means some file isn't found but I have no idea what file it's looking for. If anyone can help me here i'd be grateful.

-Abraham
_________________
"To announce there must be no criticism of the president, or that we are
to stand by the president, right or wrong, is not only unpatriotic and servile,
but is morally treasonable to the American public."

-Theodore Roosevelt
Back to top
View user's profile Send private message
Gelfling
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2003
Posts: 106
Location: Avenel, NJ

PostPosted: Sun Aug 24, 2003 7:39 pm    Post subject: Reply with quote

I also followed this howto to the letter and upon re-boot, grub gave me an error 17. Can anyone tell me what I did wrong.
_________________
Phanbox64: MSI K8N Neo2, AMD Athlon64 3500+, ATI Radeon 9800XT, Corsair TwinX1024-3200C2 1024MB SDRAM, 2 WD 74GB Raptors & 120GB SATA HD, Audigy2 ZS, Plextor PX-708A DVD-/+RW, Pioneer DVD-106S DVD-ROM, CoolerMaster WaveMaster Case
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sun Aug 24, 2003 9:31 pm    Post subject: Reply with quote

hmm... perhaps nothing.. have you tried lilo?

did u make a grub boot disk and then re boot, and THEN set up grub?
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Gelfling
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2003
Posts: 106
Location: Avenel, NJ

PostPosted: Mon Aug 25, 2003 4:38 am    Post subject: Reply with quote

After 4 attempts to install Gentoo 1.4 on my Raptors via raid, I'm burned out, grub keeps giving me this error #17. I'll just leave it alone until Intel releases ICH5R support for linux. I've tried following two different howtos and both end results proved unsuccessful. I've tried vanilla-sources and ac-sources, with the same results.
_________________
Phanbox64: MSI K8N Neo2, AMD Athlon64 3500+, ATI Radeon 9800XT, Corsair TwinX1024-3200C2 1024MB SDRAM, 2 WD 74GB Raptors & 120GB SATA HD, Audigy2 ZS, Plextor PX-708A DVD-/+RW, Pioneer DVD-106S DVD-ROM, CoolerMaster WaveMaster Case
Back to top
View user's profile Send private message
JSharku
Apprentice
Apprentice


Joined: 09 Feb 2003
Posts: 189
Location: Belgium

PostPosted: Mon Aug 25, 2003 11:16 am    Post subject: Reply with quote

Good tutorial. I just tried it, backed up my existing install, RAID-ified my disks and put the backup back, all went without a problem. I've noticed one little peculiarity, if you put something like:

Code:
LABEL=root    /       ext3    defaults ...
LABEL=home    /home   ext3    defaults ...


in your fstab, and you're / partition is a raid device even though you did specify the label when formatting it won't accept the label, whereas before it did. You have to specifically mention /dev/mdX or the kernel fails to remount the / partition rw after initial startup, which is of course a bad thing.

Other than that I've had no problems at all.

Sharku
Back to top
View user's profile Send private message
cosjef
n00b
n00b


Joined: 19 May 2003
Posts: 11

PostPosted: Tue Aug 26, 2003 8:07 pm    Post subject: Gelfling--your problem may be in grub.conf Reply with quote

What do you have in your /boot/grub/grub.conf file for the "root" attribute?

root (hd0,0)

or

root (hd1,0)

Could you post your grub.conf and your /etc/fstab? Maybe we can help you.
Back to top
View user's profile Send private message
Gelfling
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2003
Posts: 106
Location: Avenel, NJ

PostPosted: Tue Aug 26, 2003 9:51 pm    Post subject: Reply with quote

I gave up and went back to WinXP Pro, I even tried installing on a single 80GB SATA drive and I got a grub error #15. Installing on SATA just isn't working for me. Since I only have room for only one PC, I am in the process of putting together another machine, I'll try again on that machine after the holiday weekend, don't have anymore time to devote to getting Gentoo installed without so many headaches. I have 4 SATA HD's: 2 Raptors , a 120 and 80GB, if I can't get Gentoo installed on any of them, I'll just leave it alone. RH9, SuSe 8.2 and Mandrake 9.1 freeze up as they're booting up. Gentoo's the distro I can even get to attempt a full install. My grub.conf:

default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 1.4 (Raid 0 ac-sources)
root (hd0,0)
kernel (hd0,0)/boot/bzImage1 root=/dev/md0 vga=791 hdc=ide-scsi

my fstab:
/dev/hda1 /boot ext3 noatime 1 0
/dev/md0 / ext3 noatime,noauto 1 2
/dev/hda2 none swap defaults,pri=1 0 0
/dev/hdb2 none swap defaults,pri=1 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/fd0 /mnt/floppy autofs noauto,users,rw 0 0

following the howto didn't help me a whole lot. I appreciate all the support but I am not able to get a decent install. So maybe on Sept. 2 I'll try again on another machine.
_________________
Phanbox64: MSI K8N Neo2, AMD Athlon64 3500+, ATI Radeon 9800XT, Corsair TwinX1024-3200C2 1024MB SDRAM, 2 WD 74GB Raptors & 120GB SATA HD, Audigy2 ZS, Plextor PX-708A DVD-/+RW, Pioneer DVD-106S DVD-ROM, CoolerMaster WaveMaster Case
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Tue Aug 26, 2003 11:21 pm    Post subject: Reply with quote

HAVE you tried LILO!??????


you are insane if u give up because grub does not work properly - try lilo..

there is an answer out there somewhere - lots of other people run raid just fine.

good luck!
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
equilian
n00b
n00b


Joined: 27 Apr 2002
Posts: 41
Location: Cambridge,MA

PostPosted: Wed Aug 27, 2003 3:19 am    Post subject: Reply with quote

Gelfling wrote:
I gave up and went back to WinXP Pro, I even tried installing on a single 80GB SATA drive and I got a grub error #15. Installing on SATA just isn't working for me. Since I only have room for only one PC, I am in the process of putting together another machine, I'll try again on that machine after the holiday weekend, don't have anymore time to devote to getting Gentoo installed without so many headaches. I have 4 SATA HD's: 2 Raptors , a 120 and 80GB, if I can't get Gentoo installed on any of them, I'll just leave it alone. RH9, SuSe 8.2 and Mandrake 9.1 freeze up as they're booting up. Gentoo's the distro I can even get to attempt a full install. My grub.conf:

default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 1.4 (Raid 0 ac-sources)
root (hd0,0)
kernel (hd0,0)/boot/bzImage1 root=/dev/md0 vga=791 hdc=ide-scsi

my fstab:
/dev/hda1 /boot ext3 noatime 1 0
/dev/md0 / ext3 noatime,noauto 1 2
/dev/hda2 none swap defaults,pri=1 0 0
/dev/hdb2 none swap defaults,pri=1 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/fd0 /mnt/floppy autofs noauto,users,rw 0 0

following the howto didn't help me a whole lot. I appreciate all the support but I am not able to get a decent install. So maybe on Sept. 2 I'll try again on another machine.



So I had this some problem on my machine. In order to get Grub working I had to install it on the second disk of my RAID0 array and have it look for the files on the boot partition of the first disk. Basically just mirror your two boot partitions. I have no idea why it was looking to boot off the second disk of the array but after much frustration that's what got it working for me. Let me know if you need any more help.

-Abraham
_________________
"To announce there must be no criticism of the president, or that we are
to stand by the president, right or wrong, is not only unpatriotic and servile,
but is morally treasonable to the American public."

-Theodore Roosevelt
Back to top
View user's profile Send private message
VisualPhoenix
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2002
Posts: 135
Location: (CT v NJ)

PostPosted: Wed Aug 27, 2003 2:03 pm    Post subject: Reply with quote

hey guys... so i must be really dumb but i dont know what i did wrong... So.. i followed the whole guide... installed my system... installed grub... upon reboot grub hangs... So. I pop in the livecd for 1.4 - reboot - boom guess what...

modprobe md
cat /proc/mdstat returns nada

wtf..
/etc/init.d/md zap
/etc/init.d/evms zap
i make sure md is rmmod'ed
i remake my raidtab exactly how i made it before on the disk
restart md
try to restart evms but get "Open failed for `/dev/evms/block_device': no such file or directory"

mdstat has no mention of my md0 or md1 arrays...

WTF!? I really dont want to have to recompile this beast again.
Back to top
View user's profile Send private message
VisualPhoenix
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2002
Posts: 135
Location: (CT v NJ)

PostPosted: Wed Aug 27, 2003 2:05 pm    Post subject: Reply with quote

well i fixed the evms problem by modprobing evms and restarting the init.d service...

i get:

starting evms...
Rediscover successful.
After: Volume(s) info:
(major,minor): volume-name
devfs is running on this system
devfs will keep the evms device nodes up to date

cat /proc/mdstat still shows nothing though..
Back to top
View user's profile Send private message
VisualPhoenix
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2002
Posts: 135
Location: (CT v NJ)

PostPosted: Wed Aug 27, 2003 2:16 pm    Post subject: Reply with quote

shazam -- after a little investigatory work i found that i needed to run:

raidstart /dev/md0
raidstart /dev/md1

to restart the persistant arrays!

WOOT!

now i have to figure out why grub is hanging.
Back to top
View user's profile Send private message
Gelfling
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2003
Posts: 106
Location: Avenel, NJ

PostPosted: Wed Aug 27, 2003 3:31 pm    Post subject: Reply with quote

All I wanted to do was set up the raid 0 as 100MB - /dev/hda1 (/boot), 512MB - /dev/hda2 & /dev/hdb2 (swap), and 50+GB - /dev/hda3 & hdb3 aka /dev/md0 via mkraid ( / ). Do I need to create a /dev/md1 & /dev/md2 partition? I already have a 120GB HD to be used for file storage.
_________________
Phanbox64: MSI K8N Neo2, AMD Athlon64 3500+, ATI Radeon 9800XT, Corsair TwinX1024-3200C2 1024MB SDRAM, 2 WD 74GB Raptors & 120GB SATA HD, Audigy2 ZS, Plextor PX-708A DVD-/+RW, Pioneer DVD-106S DVD-ROM, CoolerMaster WaveMaster Case
Back to top
View user's profile Send private message
VisualPhoenix
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2002
Posts: 135
Location: (CT v NJ)

PostPosted: Wed Aug 27, 2003 6:19 pm    Post subject: Reply with quote

hey guys... so look -- grub works -- i can mount the array if i boot off of the livecd however when i try to boot normally i get a kernel panic complaining it can't find my root partition...

I've tried using /dev/md0, /dev/md/0 in both /boot/grub/grub.conf and /etc/fstab...

i have raid0 support in the kernel, lvm support, and evms support...

is evms support and devfs making my md device appear in /dev/evms/md/0? i dont know because i have no way of telling... i'm going to attempt putting /dev/evms/md/0 in grub.conf and fstab and see if it works... if someone else has an idea of what i should try let me know! THANKS!

-Vis
Back to top
View user's profile Send private message
equilian
n00b
n00b


Joined: 27 Apr 2002
Posts: 41
Location: Cambridge,MA

PostPosted: Fri Aug 29, 2003 7:26 am    Post subject: Reply with quote

VisualPhoenix wrote:
hey guys... so look -- grub works -- i can mount the array if i boot off of the livecd however when i try to boot normally i get a kernel panic complaining it can't find my root partition...

I've tried using /dev/md0, /dev/md/0 in both /boot/grub/grub.conf and /etc/fstab...

i have raid0 support in the kernel, lvm support, and evms support...

is evms support and devfs making my md device appear in /dev/evms/md/0? i dont know because i have no way of telling... i'm going to attempt putting /dev/evms/md/0 in grub.conf and fstab and see if it works... if someone else has an idea of what i should try let me know! THANKS!

-Vis


I'd have to see your grub.conf but it sounds like you have something to the effect of

Code:

kernel (hd0,0)/boot/bzImage


You'll want to remove boot the above line so it looks like this:

Code:

kernel (hd0,0)/bzImage


Hope this helps.

-Abraham
_________________
"To announce there must be no criticism of the president, or that we are
to stand by the president, right or wrong, is not only unpatriotic and servile,
but is morally treasonable to the American public."

-Theodore Roosevelt
Back to top
View user's profile Send private message
iplayfast
l33t
l33t


Joined: 08 Jul 2002
Posts: 642
Location: Cambridge On,CA

PostPosted: Sun Sep 28, 2003 4:39 am    Post subject: Can't it work in Lilo Reply with quote

I'm trying to make my root a raid device (md0).

I've got fstab with md/0, and lilo with root=/dev/md
(it won't accept /dev/md0, or /dev/md/0)
I've also got raid modules configured into the kernel (built in). And it looks like it's running MD stuff on the kernel boot. But it can't seem to find the root file system.

I'm not being very clear here, but I'm hoping the answer springs out to someone. How to add raid0 to the root partition with lilo.
Back to top
View user's profile Send private message
NicholasDWolfwood
Apprentice
Apprentice


Joined: 19 Jan 2003
Posts: 235

PostPosted: Mon Sep 29, 2003 4:26 am    Post subject: Reply with quote

Will this work in my setup?

I've got a situation.

Abit mobo, with an onboard HPT370 (Highpoint 370) ATA100 "RAID" controller. I believe the mobo is a KT7-RAID.

I've got this harddrive setup:

2x40GB Western Digital Caviars in RAID0 config - NTFS - 74.9GB virtually
1x45GB Western Digital Caviar - partitioned
1x80GB Western Digital Caviar - 74.9GB virtual - NTFS

/dev/hda

1 - Physical - /boot (64MB, Ext3)
2 - Physical - / (10GB, Ext3)
3 - Physical - Swap (768MB, Swap)
4 - Extended
5 - Logical - /home (5GB, Ext2)
6 - Logical - /var (5GB, Ext2)
7 - Logical - /hdb stuff (Fat32, 10GB)

/dev/hdb

1 - Physical - /mnt/hdb1 (74.9GB, NTFS)

/dev/hdc

1 - CD-RW Drive (8x4x32 Panasonic, SCSI emulation)

/dev/hdd

1 - Zip 250 Internal IDE drive

/dev/ataraid/disc1/part1

This was our RAID in hardware RAID setup on 2.4.21 kernel



I'm of course using /dev/hda as the Linux drive...the RAID of the 2 40GB HDs has multiple downloads on it, a useless Windows 2000 Adv. Server install, and other things. I'd like to be able to use it in Linux 2.6 kernels over the home network (through Samba)

Will the software RAID instructions on the first page work in my particular situation?

-NDW
_________________
AMD Athlon XP 1700+
Abit KG7-RAID
512MB PC2100 DDR266 Corsair/Kingston
40GB WD 7200RPM (37.1GB)
120GB WD 8MB 7200RPM (111GB)
160GB WD 8MB 7200RPM (149GB)
40GB WD 7200RPM (37.1GB)
Pioneer DVR-A06 4x DVD±RW
HP CD-RW 9500i (12x8x32x)
Back to top
View user's profile Send private message
NicholasDWolfwood
Apprentice
Apprentice


Joined: 19 Jan 2003
Posts: 235

PostPosted: Wed Oct 01, 2003 10:35 pm    Post subject: Reply with quote

Does anybody know if these instructions will work in my case?

I'd like to switch to the 2.6 kernels and backup the data on the RAID before the two drives die (they're getting ready to die)
_________________
AMD Athlon XP 1700+
Abit KG7-RAID
512MB PC2100 DDR266 Corsair/Kingston
40GB WD 7200RPM (37.1GB)
120GB WD 8MB 7200RPM (111GB)
160GB WD 8MB 7200RPM (149GB)
40GB WD 7200RPM (37.1GB)
Pioneer DVR-A06 4x DVD±RW
HP CD-RW 9500i (12x8x32x)
Back to top
View user's profile Send private message
Heretic
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 114
Location: Austin, TX USA

PostPosted: Thu Oct 16, 2003 10:18 am    Post subject: Reply with quote

Moled wrote:
those are two WD raptors connected to the intel raid controller in the ICH5R
for some reason they show up as scsi discs

individual drive:

Quote:
/dev/sda:
Timing buffer-cache reads: 3720 MB in 2.00 seconds = 1860.00 MB/sec
Timing buffered disk reads: 166 MB in 3.02 seconds = 54.97 MB/sec


oh and im using software raid

can't get the siimage to work just yet


You don't want the siimage setup. You have the optimal configuration. You're getting a ~2x increase in throughput, this is as best as can be expected. By using SATA in the ICH5R southbridge, you're completely bypassing any shared PCI bottles necks.

This is a quick solution. I was looking at exactly this for a gigabit hosted, high-speed caching network device/internet gateway/firewall/network monitoring device/streamomg audio and video server/WLAN authentication server for a 150 user network. Gigabit ethernet pushes nearly 125MB/s, these two raptors are very close to being able to saturate that in one direction. If you get Intel's GigE link, which bypasses PCI as well, you have no I/O restrictions what so ever.

My question is, what do you have to do for hotplug support with SATA? Drivers and the standard are supposed to support it. Can you just unplug while running? Do you have to prep with some commmands?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum