On Wed, 2004-11-03 at 15:00 -0600, Yuhard Ngun wrote: > Hi, > > Does anybody encounter problem configuring software RAID 1 with FC2? > > I have 2 identical HDDs, the 1st one where I install FC2 and the 2nd HDD is > unformatted. Here is the error messages I got: > > # mkraid /dev/md0 > handling MD device /dev/md0 > analyzing super-block > disk 0: /dev/hda, 29316672kB, raid superblock at 29316608kB > disk 1: /dev/hdc, 29316672kB, raid superblock at 29316608kB > mkraid: aborted. > (In addition to the above messages, see the syslog and /proc/mdstat as well > for potential clues.) > # > > Here is error from log file: > > kernel: md: could not lock hda. > kernel: md: error, md_import_device() returned -16 > > # cat /proc/mdstat > Personalities : > md0 : inactive > unused devices: <none> > > # cat /etc/raidtab > raiddev /dev/md0 > raid-level 1 > nr-raid-disks 2 > nr-spare-disks 0 > chunk-size 4 > persistent-superblock 1 > device /dev/hda > raid-disk 0 > device /dev/hdc > raid-disk 1 > # > > Any comments and help would be appreciated. Thanks. > > -Yuhard > Needs to be /dev/hdaX and /dev/hdcY where X and Y are partitions. You need to partition hda and hdc using fdisk or cfdisk. Create partitions of type fd (Linux RAID autodetect). So it might look like this: /dev/hda1 ext3 (/boot) 100MB /dev/hda2 swap (swap) 500MB /dev/hda3 fd (RAID partition) 6GB /dev/hdc1 fd (RAID partition) 6GB then your /etc/raidtab would look like this: device /dev/hda3 raid-disk 0 device /dev/hdc1 raid-disk 1 Make sense? Thomas