Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: noppes on February 09, 2005, 10:31:33 PM
-
Hello,
A few days ago, after a power outage, one of our drives in a raid1 array gave up the ghost. Perhaps altogether not directly related to this event, after some fiddling with cables and the sort, the drive was kicked to life again. But now the array was out of sync (we noticed the anomaly only after a few days). I read something about mdadm in the raidHowTo, but as far as I can see SME server uses raidtools. Could someone give me a pointer as to how I can reassemble the array ?
We use the default SME server raid config:
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
#nr-spare-disks 0
device /dev/hda5
raid-disk 0
device /dev/hdc5
raid-disk 1
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
raiddev /dev/md2
raid-level 1
nr-raid-disks 2
chunk-size 64k
persistent-superblock 1
#nr-spare-disks 0
device /dev/hda1
raid-disk 0
device /dev/hdc1
raid-disk 1
/dev/hda is the encumbered drive, /dev/hdc is the working one.
Thanks in advance,
Et
-
Et
The contents of /etc/raidtab is (almost) useless here.
Post cat /proc/mdstat and fdisk -l if you want to give much needed information.
Search, read and execute
http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/5.x/contrib/raidmonitor/raid-recovery-howto.html
you won't have most of the information but from your post I'd think you "know the rest".
Regards
Reinhold
-
Et
The contents of /etc/raidtab is (almost) useless here.
Post cat /proc/mdstat and fdisk -l if you want to give much needed information.
Search, read and execute
http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/5.x/contrib/raidmonitor/raid-recovery-howto.html
you won't have most of the information but from your post I'd think you "know the rest".
Regards
Reinhold
Ok, thanks. Someone pointed out to me that 'raidhotadd /dev/mdX /dev/hdaY' should work, since hda isn't part of the array at the moment. I'll first read the howto though :o).
Thanks again,
Et