View previous topic :: View next topic |
Author |
Message |
pow n00b
Joined: 21 Oct 2003 Posts: 22 Location: Essen, Germany
|
Posted: Tue Mar 30, 2004 3:02 pm Post subject: some problems |
|
|
Hello,
I have some problems with my new amd64 system. The sata raid controllers of my board are making problems. The kernel is not detecting the hardware raid. I have googled a bit around it seems that it is not supported at the moment. I need hardware raid because I have a dual boot system or is there a way to use software raid and windows ? The next thing is the the disc performance is really bad about 20 MB/s with both sata drivers sata_promise and sata_via . thx for help
Here are some hardware information:
board: asus k8v se
kernel: 2.6.4-gentoo-r1
lscpi:
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
0000:00:08.0 RAID bus controller: Promise Technology, Inc.: Unknown device 3373 (rev 02)
0000:00:0a.0 Ethernet controller: Marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (rev 13)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc.: Unknown device 3149 (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)
.config:
http://unigate.homeip.net/files/config.gz _________________ Jan
JID: thalamus@amessage.de |
|
Back to top |
|
|
pow n00b
Joined: 21 Oct 2003 Posts: 22 Location: Essen, Germany
|
Posted: Wed Mar 31, 2004 12:06 pm Post subject: |
|
|
I have managed to get ist working with md and the generic ide driver but it's a bit slow i think(25-35MB/s) but with the live cd i get 50 MB/s per disc. At the moment i'm using 2.6.5-rc3-mm2 and the newest libata patch. The live cd has 2.6.3-gentoo-r2-up as kernel. Any ideas how to tune it a bit ? _________________ Jan
JID: thalamus@amessage.de |
|
Back to top |
|
|
Corona688 Veteran
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Wed Mar 31, 2004 1:40 pm Post subject: |
|
|
You're not going to get hardware raid with an onboard raid controller, pretty much by definition, you'll only get software raid. _________________ Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html |
|
Back to top |
|
|
Little Nemo l33t
Joined: 29 Mar 2004 Posts: 623 Location: Berlin, Germany
|
Posted: Wed Mar 31, 2004 4:38 pm Post subject: |
|
|
pow wrote: | I have managed to get ist working with md and the generic ide driver but it's a bit slow i think(25-35MB/s) but with the live cd i get 50 MB/s per disc. At the moment i'm using 2.6.5-rc3-mm2 and the newest libata patch. The live cd has 2.6.3-gentoo-r2-up as kernel. Any ideas how to tune it a bit ? |
Wise decision. All this onboard RAID controller stuff is basically cheating. Unlike with true RAID controllers, you need software to make it work. md has the advantage of being independent from controllers. You can combine SATA, ATA, SCSI disks that are connected through several controllers (which may also increase speed, depending on the setup).
Which RAID level are you using? In order to improve performance you should read the Software RAID HOWTO first. |
|
Back to top |
|
|
pow n00b
Joined: 21 Oct 2003 Posts: 22 Location: Essen, Germany
|
Posted: Wed Mar 31, 2004 7:28 pm Post subject: |
|
|
I'm using raid0 with two 160 GB Hitachi discs but I have some problems because I want to use the raid as boot drive together with windows. At the moment it's hard to configure it and the performance is more badly than the single drives and partition magic says me a error about the partition but I see no errors maybe the chunk size is bogus in the bios I have set the chunk size to 64. Here is my dmsetup configuration:
fdisk -l:
Code: |
Disk /dev/mapper/raid0: 329.3 GB, 329393111040 bytes
255 heads, 63 sectors/track, 40046 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/raid0p1 2 12751 102414375 f W95 Ext'd (LBA)
/dev/mapper/raid0p2 12752 40046 219247087+ 83 Linux
/dev/mapper/raid0p5 2 5101 40965718+ b W95 FAT32
/dev/mapper/raid0p6 5102 10201 40965718+ 7 HPFS/NTFS
/dev/mapper/raid0p7 10202 12749 20466778+ 7 HPFS/NTFS
|
[code]
echo -ne '0 643345920 striped 2 128 /dev/hde 0 /dev/hdg 0' | dmsetup create raid0
echo -ne '0 438494175 linear /dev/mapper/raid0 204844815' | dmsetup create raid0p2
echo -ne '0 81931437 linear /dev/mapper/raid0 16128' | dmsetup create raid0p5
echo -ne '0 81931437 linear /dev/mapper/raid0 81947628' | dmsetup create raid0p6
echo -ne '0 40965687 linear /dev/mapper/raid0 163879128' | dmsetup create raid0p7
[code] _________________ Jan
JID: thalamus@amessage.de |
|
Back to top |
|
|
Little Nemo l33t
Joined: 29 Mar 2004 Posts: 623 Location: Berlin, Germany
|
Posted: Wed Mar 31, 2004 7:41 pm Post subject: |
|
|
Oops, the RAID code seems to have changed a lot since kernel 2.4.16 (which is when I last set up an md RAID). I'm afraid I won't be of much help.
But how do you intend to use the same RAID 0 under Linux and Windows? You'd have to have a Software RAID under Windows, too? If you really need this kind of think, it might be easier to get a true RAID controller in hardware. |
|
Back to top |
|
|
linux_on_the_brain Tux's lil' helper
Joined: 24 Feb 2004 Posts: 136
|
Posted: Fri Apr 02, 2004 5:50 am Post subject: |
|
|
pow wrote: | I'm using raid0 with two 160 GB Hitachi discs but I have some problems because I want to use the raid as boot drive together with windows. At the moment it's hard to configure it and the performance is more badly than the single drives and partition magic says me a error about the partition but I see no errors maybe the chunk size is bogus in the bios I have set the chunk size to 64. Here is my dmsetup configuration:
fdisk -l:
Code: |
Disk /dev/mapper/raid0: 329.3 GB, 329393111040 bytes
255 heads, 63 sectors/track, 40046 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mapper/raid0p1 2 12751 102414375 f W95 Ext'd (LBA)
/dev/mapper/raid0p2 12752 40046 219247087+ 83 Linux
/dev/mapper/raid0p5 2 5101 40965718+ b W95 FAT32
/dev/mapper/raid0p6 5102 10201 40965718+ 7 HPFS/NTFS
/dev/mapper/raid0p7 10202 12749 20466778+ 7 HPFS/NTFS
|
[code]
echo -ne '0 643345920 striped 2 128 /dev/hde 0 /dev/hdg 0' | dmsetup create raid0
echo -ne '0 438494175 linear /dev/mapper/raid0 204844815' | dmsetup create raid0p2
echo -ne '0 81931437 linear /dev/mapper/raid0 16128' | dmsetup create raid0p5
echo -ne '0 81931437 linear /dev/mapper/raid0 81947628' | dmsetup create raid0p6
echo -ne '0 40965687 linear /dev/mapper/raid0 163879128' | dmsetup create raid0p7
[code] |
Pow, How/Where did you come up with the numbers in your echo statements? THis is the only part that is holding me up from finishing.
Thanks |
|
Back to top |
|
|
pow n00b
Joined: 21 Oct 2003 Posts: 22 Location: Essen, Germany
|
|
Back to top |
|
|
linux_on_the_brain Tux's lil' helper
Joined: 24 Feb 2004 Posts: 136
|
Posted: Fri Apr 02, 2004 6:22 pm Post subject: |
|
|
I am also following the step from the topic you posted, but I'm lost at the creation of the map file for each one of the new partitions.
For example,
echo -ne '0 438494175 linear /dev/mapper/raid0 204844815' | dmsetup create raid0p2
where did you these numbers from? From my eyes these numbers in no way match the output of your fdisk -l.
If you could, please clarify this for me.
Thanks |
|
Back to top |
|
|
pow n00b
Joined: 21 Oct 2003 Posts: 22 Location: Essen, Germany
|
Posted: Fri Apr 02, 2004 6:54 pm Post subject: |
|
|
use sfdisk -d /dev/mapper/raid0 and you get what you need. _________________ Jan
JID: thalamus@amessage.de |
|
Back to top |
|
|
|