Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RAID 1

Status
Not open for further replies.

kubla

Programmer
Feb 7, 2002
50
IT
I'm not sure if anyone can help me with this...

I've been following the instructions on:


quite closely for creating a RAID 1 mirror of hda on a server on hdc.

I'm running kernel 2.4.18 on a Debian box with the appropriate bits built into the kernel.

cat /proc/mdstat returns:

Personalities : [raid1]
read_ahead not set
unused devices: <none>

/etc/raidtab is configured as:

raiddev /dev/md0
raid-level 1
nr-raid-disks 2
chunk-size 32
nr-spare-disks 0
persistant-superblock 1
device /dev/hdc1
raid-disk 0
device /dev/hda1
failed-disk 1

raiddev /dev/md1
raid-level 1
nr-raid-disks 2
chunk-size 32
nr-spare-disks 0
persistant-superblock 1
device /dev/hdc2
raid-disk 0
device /dev/hda2
failed-disk 1

raiddev /dev/md2
raid-level 1
nr-raid-disks 2
chunk-size 32
nr-spare-disks 0
persistant-superblock 1
device /dev/hdc4
raid-disk 0
device /dev/hda4
failed-disk 1

the hda partitions are purposefully set to &quot;failed-disk&quot; at this stage while I set up the mirroring.

However, in what should be an easy step (at least every faq I've read suggests it's a piece of cake), when I run:

mkraid /etc/md0

I get:

mkraid version 0.36.4
parsing configuration file
mkraid: aborted

I can't figure out why it's aborting. I've tried it with the --force tag as well as the -c tag to point it to /etc/raidtab for its configuration.

Anyone have any ideas at all?

Many thanks in advance,

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top