I am attempting to repair a software mirror (SME 5.1.2) without success. (Logged in as root). The errors arose after a power failure where I has to run fsck manually on dev/hda6 to be able to restart the server.
cat /etc/raidtab gives the following information
.......raiddev /dev/md1
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
#nr-spare-disks 0
device /dev/hda6
raid-disk 0
device /dev/hdc6
raid-disk 1.......
fstab
.....
/dev/md1 / ext2 usrquota,grpquota 1 1
.....
cat/proc/mdstat reports
Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 hdc1[1] hda1[0] 264960 blocks [2/2] [UU]
md0 : active raid1 hdc5[1] hda5[0] 15936 blocks [2/2] [UU]
md1 : active raid1 hda6[0] 19783936 blocks [2/1] [U_]
unused devices:
If I try to raidhotadd I get an error message ie
[root@LinuxServer /root]# raidhotadd /dev/hdc6 /dev/md1
/dev/hdc6: not an MD device!
I must be doing something wrong Any ideas ?
By the way does this mean /dev/hdc6 is not mounted and may be damaged. perhaps I should be doing a fsck -f /dev/hdc6 before trying this ? If I try to run fsck on hdc6 it results in a warning of the damage that will occur it you try to fsck a mounted drive. For this reason I did not proceed.
Cheers
Mike