I'm afraid this is a newbie problem, but I can't find any archive for this here list.
I'm trying to install some mirroring (raid1 personality) on a PC running RedHat Linux
6.0 (kernel 2.2.5).
I've compiled the kernel with the raid1 personality integrated (no loadable modules).
I got a /proc/mdstat file that looks OK by me :
Personalities : [3 raid1]
read_ahead not set
md0 : inactive
md1 : inactive
md2 : inactive
md3 : inactive
I then installed the raidtools-0.90-3.i386.rpm package from the distribution CD, and
created a /etc/raidtab file like this :
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 1
device /dev/hda3
raid-disk 0
device /dev/hdb3
raid-disk 1
hda3 and hdb3 are 2 partitions of equal size, not mounted at the time of my
experiment, but formerly mounted with ext2
filesystems.
When I try a mkraid /dev/md0 command, I get the following result :
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda3, 2562367kB, raid superblock at 2562240kB
/dev/hda3 appears to contain an ext2 filesystem -- use -f to override
mkraid: aborted
When I try to override this with mkraid --really-force /dev/md0, I 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/hda3, 2562367kB, raid superblock at 2562240kB
disk 1: /dev/hdb3, 2562367kB, raid superblock at 2562240kB
mkraid: aborted
I can see no changes in the /proc/mdstat file, and nothing is logged into
/var/log/messages.
I can't find out where I've gone wrong, and would sure apreciate some advice.
TIA
Marc Barrot
[EMAIL PROTECTED]