I have a running Raid1 with the mingo patches on the 2.2.14 kernel. I
got everything working, so I decided to turn off the machine and remove
one of the disks. I deleted the contents of the disk one, and then I 
restarted the machine. It successfully started in degraded mode. I am running
root raid. I then took the removed disk, and I recreated the partitions on it. 
I tried sticking it back in and doing a raidhotadd, but it complains. 

everest:~# raidhotadd  /dev/md5 /dev/hda5
trying to hot-add hda5 to md5 ...
/dev/md5: can not hot-add disk: disk busy!
everest:~# raidhotadd   /dev/md6 /dev/hda6
trying to hot-add hda6 to md6 ...
/dev/md6: can not hot-add disk: disk busy!


Here is a snippet of the /etc/raidtab.

raiddev /dev/md5
  raid-level     1
  nr-raid-disks  2
  nr-spare-disks 0
  chunk-size     4
  persistent-superblock 1

  device         /dev/hde5
  raid-disk      0

  device         /dev/hda5
  raid-disk      1

raiddev /dev/md6
  raid-level     1
  nr-raid-disks  2
  nr-spare-disks 0
  chunk-size     4
  persistent-superblock 1

  device         /dev/hde6
  raid-disk      0

  device         /dev/hda6
  raid-disk      1

Section from /var/log/syslog

Mar 19 02:30:06 everest kernel: md6: no spare disk to reconstruct array! -- continuing 
in degraded mode
Mar 19 02:30:06 everest kernel: md5: no spare disk to reconstruct array! -- continuing 
in degraded mode

-- 
Brian Lavender
http://www.brie.com/brian/

Reply via email to