Hi, it appears that I am not the only one having trubble installing RAID on the HPT370 UDNA/ATA100. Haveing failed to to install SUSE 8.0 on ABIT KT7A-RAID, with two 80GB Western Digital 7200 rpm HDDs I thought I would try software-RAID instead. It probably wouldn't be any slower, as the HPT370 seems to require quite a lot of CPU intervention.
So I am trying to configure software RAID 0 (striping). To this end I have temporely installed Linux on on old 3 GB disk. I then:
1) Configured, recompiled and installed the kernel with RAID-0 (striping) mode
2) Installed raidtools
3) Created the following /etc/raidtab file:
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
persistent-superblock 1
chunk-size 4
device /dev/hde
raid-disk 0
device /dev/hdg
raid-disk 1
4) Created a RAID-array with the command
# mkraid /dev/md0
# cat /proc/mdstat
then responds with:
Personalities: [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid0 hdg[1] hde[0]
156301312 blocks 4k chunks
unused device <none>
5) Hence, it appears that a RAID 0 array has been created. YaST, however, does not seem to recognise the RAID array. I therefore attemted to partition the array with cfdisk, which gives me the following table:
Partition Table for /dev/md0
---Starting--- ----Ending---- Start Number of
# Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors
-- ----- ---- ---- ---- ---- ---- ---- ---- -------- ---------
1 0x80 1 1 0 0x83 1 4 1023 4 31244
2 0x00 1 4 1023 0xFD 1 4 1023 31248 390624
3 0x00 1 4 1023 0x82 1 4 1023 421872 1953128
4 0x00 1 4 1023 0x05 1 4 1023 2375000 310227624
5 0x00 1 4 1023 0xFD 1 4 1023 4 390620
6 0x00 1 4 1023 0xFD 1 4 1023 4 3906244
7 0x00 1 4 1023 0xFD 1 4 1023 4 1953124
8 0x00 1 4 1023 0xFD 1 4 1023 4 1953124
9 0x00 1 4 1023 0xFD 1 4 1023 4 9765620
10 0x00 1 4 1023 0xFD 1 4 1023 4 126953124
11 0x00 1 4 1023 0xFD 1 4 1023 4 117187500
12 0x00 1 4 1023 0xFD 1 4 1023 4 48118236
or:
Partition Table for /dev/md0
First Last
# Type Sector Sector Offset Length Filesystem Type (ID) Flags
-- ------- -------- --------- ------ --------- ---------------------- ---------
1 Primary 0 31247 4 31248 Linux (83) Boot (80)
2 Primary 31248 421871 0 390624 Linux raid autode (FD) None (00)
3 Primary 421872 2374999 0 1953128 Linux swap (82) None (00)
4 Primary 2375000 312602623 0 310227624 Extended (05) None (00)
5 Logical 2375000 2765623 4 390624 Linux raid autode (FD) None (00)
6 Logical 2765624 6671871 4 3906248 Linux raid autode (FD) None (00)
7 Logical 6671872 8624999 4 1953128 Linux raid autode (FD) None (00)
8 Logical 8625000 10578127 4 1953128 Linux raid autode (FD) None (00)
9 Logical 10578128 20343751 4 9765624 Linux raid autode (FD) None (00)
10 Logical 20343752 147296879 4 126953128 Linux raid autode (FD) None (00)
11 Logical 147296880 264484383 4 117187504 Linux raid autode (FD) None (00)
12 Logical 264484384 312602623 4 48118240 Linux raid autode (FD) None (00)
So far, so god. However, I am not able to format the new partitions with mkreiserfs. Any clues anyone?
Regards
sgudvang@online.no