Hi,
I have a difficult RAID problem.
I was building a system with debian 2.1 using RAID 1 on hdb and hdc
(leaving hda for boot). I managed to get the raid working just fine
but was having to many problems with Oracle and ColdFusion, so I
decided to switch over to RH 6.0 as both products are verified against
those releases.
Anyway, I switched over to RH6.0 and I can't get the RAID disks t
work. I upgraded the kernel to 2.1.15 and compiled in the RAID stuff.
And a cat on /proc/mdstat show md0 to md4 are there.
When I was using debian the raid commands used mdcreate, mdadd, mdrun,
etc. Under RH the comands consist of raidstart, raidstop, etc.
Following is what I have done and tried.
Created a /etc/raidtab with the following ( I use md0 to md4)
# /u01
# NB chunksize and persistent-superblock added for new raid tools
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/hdb3
raid-disk 0
device /dev/hdc3
raid-disk 1
# /u02 etc...
Ran: raidstart -a
Got: /dev/md0: Invalid argument
Ran: mkraid -u /dev/md0
Got: handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdb3, 2097648kB, raid superblock at 2097536kB
array needs no upgrade
mkraid: aborted
Ran: mkraid --really-force /dev/md0
Get: DESTROYING the contents of /dev/md0 in 5 seconds, Ctrl-C if
unsure!
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdb3, 2097648kB, raid superblock at 2097536kB
disk 1: /dev/hdc3, 2097648kB, raid superblock at 2097536kB
mkraid: aborted
I have also downloaded the recommended vesion of the raittools 0.50
beta3 and I can't compile then for some reason.
Could someone help please.
PS.
The only problem was having with Oracle was that su under debian was
not working properly. Ie: "su - oracle -c dbstart" didn't work as su
was not giving me oracle's environment. ColdFusion was the real
problem as it wanted versions of libraries that I coldn't find on the
debian release an the installation process wouldn't work wih all typed
of errors.