Servers:Musashi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
Drive mapping: | Drive mapping: | ||
swap = /dev/hda9 | swap = /dev/hda9 | ||
/ = /dev/hda5 | / = /dev/hda5 | ||
/boot = /dev/hda1 | /boot = /dev/hda1 | ||
/usr = /dev/hda6 | /usr = /dev/hda6 | ||
/var = /dev/hda7 | /var = /dev/hda7 | ||
Software-RAID (RAID-1, mirror) mappings: | Software-RAID (RAID-1, mirror) mappings: | ||
/boot = /dev/md/0 (ext2) | /boot = /dev/md/0 (ext2) | ||
/ = /dev/md/1 (ext3) | / = /dev/md/1 (ext3) | ||
/usr/ = /dev/md/2 (ext3) | /usr/ = /dev/md/2 (ext3) | ||
/var/ = /dev/md/3 (ext3) | /var/ = /dev/md/3 (ext3) | ||
/tmp = /dev/md/4 (ext3) | /tmp = /dev/md/4 (ext3) | ||
swap = /dev/md/5 (swap) | swap = /dev/md/5 (swap) | ||
Hardware-RAID (Arena EX3) mappings: | Hardware-RAID (Arena EX3) mappings: | ||
/mnt/raid3 = /dev/sdb1 (xfs) | /mnt/raid3 = /dev/sdb1 (xfs) | ||
/mnt/raid4 = /dev/sdc1 (xfs) | /mnt/raid4 = /dev/sdc1 (xfs) | ||
/mnt/holding = /dev/sda1 (xfs) | /mnt/holding = /dev/sda1 (xfs) | ||
/ | /export/mirror = /mnt/raid4/mirror | ||
Line 32: | Line 32: | ||
grub> setup (hd1) | grub> setup (hd1) | ||
grub> quit | 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 |
Revision as of 13:51, 31 August 2007
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