Hello -- there is a lot of confusing and incorrect howto's, etc. out there.
I was using raid0 with kernel 2.2.5 just fine. I have upgraded the
kernel to 2.2.12 in an effort to solve a SMP kernel gen problem, and I can
not get raid0 to work at all.. Any advice, including rtm is fine if
given the real manual or doc.
Kenny
fdisk -----
Disk /dev/sdb: 255 heads, 63 sectors, 527 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 527 4233096 fd Unknown
Disk /dev/sdc: 255 heads, 63 sectors, 527 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 527 4233096 fd Unknown
Config:
Redhat 6.0 with adapetic scsi. I have the partitions defined
as type fd (fdisk indicates unknown type).
/proc/mdstat indicates:
Personalities : [1 linear] [2 raid0] [3 raid1]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
mkraid (raidtools 0.90) gives me:
# ./mkraid --really-force -c /etc/raidtab /dev/md1
DESTROYING the contents of /dev/md1 in 5 seconds, Ctrl-C if unsure!
handling MD device /dev/md1
analyzing super-block
disk 0: /dev/sdb1, 4233096kB, raid superblock at 4233024kB
disk 1: /dev/sdc1, 4233096kB, raid superblock at 4233024kB
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
My raidtab follows:
raiddev /dev/md0
raid-level 0 #
nr-raid-disks 2 #
persistent-superblock 1 # set this to 1 if you want autostart
chunk-size 8
device /dev/hdb1
raid-disk 0
device /dev/sda1
raid-disk 1
raiddev /dev/md1
raid-level 0 #
nr-raid-disks 2 #
persistent-superblock 1 # set this to 1 if you want autostart
chunk-size 8
device /dev/sdb1
raid-disk 0
device /dev/sdc1
raid-disk 1