[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

root (/) on software raid



I've managed to enable software raid on one of my systems.  Four
different arrays built as follows:

/dev/md0: (/boot)
- /dev/hda1 & /dev/hdc1

/dev/md1: (/var/log)
- /dev/hda6 & /dev/hdc6

/dev/md2: (/)
- /dev/hda7 & /dev/hdc7

/dev/md3: (/opt/backup)
- /dev/hda8 & /dev/hdc8

Three of the four come up perfectly after reboot (md0, md1, & md3).  The
problem is with md2.  After every reboot it's degraded with only hdc7 as
a member.  I can manually re-add hda7 and it syncs without error and
works fine until the next reboot.  But I'd like to correct this so this
isn't necessary.

I'm using grub as my boot loader and the following is the entry being
loaded on startup:

   title           Debian GNU/Linux, kernel 2.6.11-1-386 
   root            (hd0,0)
   kernel          /vmlinuz-2.6.11-1-386 root=/dev/md2 ro 
   initrd          /initrd.img-2.6.11-1-386
   savedefault
   boot

The system is running sarge, with the exception of the kernel.  I'd be
happy to provide any further information that may be helpful.

-- 
Jamin W. Collins

This is the typical unix way of doing things: you string together lots
of very specific tools to accomplish larger tasks. -- Vineet Kumar



Reply to: