TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RH 6.0 and Linear RAID
I am trying to set RH 6.0 and linear RAID. I had this working fine under RH
5.0, but 6.0 makes some changes and I cannot get things to work.
First, it does not look like the kernel detects my raid disks. According to
the HOWTO I need to have all RAID partitions have a type of "fd".
1. fdisk does not allow my to set my partition type to "fd".
2. I used cfdisk and this got me through the problem.
Anyone know why fdisk does not support type "fd"?
So, I have 3 partitions of type fd ready to make into a RAID array.
/dev/sda5 18 239 1783183+ fd Unknown
/dev/sdb1 1 1106 8883913+ fd Unknown
/dev/sdc2 34 1115 8691165 fd Unknown
I rebooted to make sure.
Here is my /etc/raidtab:
raiddev /dev/md0
raid-level linear
nr-raid-disks 3
persistent-superblock 1
device /dev/sdc2
raid-disk 0
device /dev/sdb1
raid-disk 1
device /dev/sda5
raid-disk 2
I make sure the kernel knows about RAID:
# cat /proc/mdstat
Personalities :
read_ahead not set
unused devices: <none>
Activate the RAID array:
# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sdc2, 8691165kB, raid superblock at 8691072kB
disk 1: /dev/sdb1, 8883913kB, raid superblock at 8883840kB
disk 2: /dev/sda5, 1783183kB, raid superblock at 1783104kB
/dev/md0: Invalid argument
Any ideas why this is not working?
I thought the cat /proc/mdstat would give me a value for Personalities : , but
it doesn't.
--
Bob Tanner <tanner@real-time.com> | Phone : (612)943-8700
http://www.real-time.com | Fax : (612)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9