Servers:Musashi

From Research
Revision as of 13:51, 31 August 2007 by Gordp (talk | contribs)
Jump to navigation Jump to search

GRUB sometimes screws up :-(


Drive mapping:

swap = /dev/hda9
/ = /dev/hda5
/boot = /dev/hda1
/usr = /dev/hda6
/var = /dev/hda7


Software-RAID (RAID-1, mirror) mappings:

/boot = /dev/md/0 (ext2)
/ = /dev/md/1 (ext3)
/usr/ = /dev/md/2 (ext3)
/var/ = /dev/md/3 (ext3)
/tmp = /dev/md/4 (ext3)
swap = /dev/md/5 (swap)

Hardware-RAID (Arena EX3) mappings:

/mnt/raid3 = /dev/sdb1 (xfs)
/mnt/raid4 = /dev/sdc1 (xfs)
/mnt/holding = /dev/sda1 (xfs)
/export/mirror = /mnt/raid4/mirror


grub
  grub> root (hd0,0)
  grub> setup (hd0)
  grub> root (hd1,0)
  grub> setup (hd1)
  grub> quit

To verify GRUB installation:

grub
  grub> find /boot/grub/stage1
   (hd0,0)
   (hd1,0)
  grub>

Note well - in /boot/grub/grub.conf we point to the software-RAID root, not each individual drive

real_root=/dev/md1