Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Server has a software RAID 1 (sda+sdb) configured as /dev/md0 device.

Later system upgrade was launched and grub updated. Now it promped to select grub unstall devices from the list to finish update: - /dev/sda - /dev/sdb - /dev/md0

What items should be selected in case of RAID 1?

Update. fdisk tells:

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1           59343       60801    11719417+  fd  Linux raid autodetect
/dev/sda2   *           1       59342   476664583+  fd  Linux raid autodetect

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1           59343       60801    11719417+  fd  Linux raid autodetect
/dev/sdb2   *           1       59342   476664583+  fd  Linux raid autodetect
share|improve this question

2 Answers 2

up vote 1 down vote accepted

You should install GRUB to both /dev/sda and /dev/sdb, so that both devices are bootable. You want this so that the system will still boot if the first drive which the BIOS boots off fails.

share|improve this answer

You should install it on /dev/md0, so mirroring can occur.

share|improve this answer
    
This won't install to the MBR, which is most likely needed. –  mgorven Jul 30 '12 at 0:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.