Cannot get software RAID on RH 6.2 - TechRepublic
General discussion
May 23, 2000 at 12:06 AM
igor shulz

Cannot get software RAID on RH 6.2

by igor shulz . Updated 25 years, 4 months ago

I have problem with installing software RAID on my linux-box.
I have kernel 2.2.15 with compiled-in RAID-1 support and raidtools 0.90-9

Here is my /proc/mdtstat:

Personalities : [3 raid1]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive

My /etc/raidtab :

# Sample raid-1 configuration
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
device /dev/hdb1
raid-disk 0
device /dev/hdb2
raid-disk 1

My hdb partitions:

Command (m for help): p

Disk /dev/hdb: 255 heads, 63 sectors, 1047 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 100 112 104422+ 83 Linux
/dev/hdb2 500 512 104422+ 83 Linux

And at last when I issue command mkraid /dev/md0 I get the next messages:

handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hdb1, 104422kB, raid superblock at 104320kB
disk 1: /dev/hdb2, 10

This discussion is locked

All Comments