Servers:Musashi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
swap = /dev/md/5 (swap) | swap = /dev/md/5 (swap) | ||
/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) | ||
/exprt/mirror = /mnt/raid4/mirror | /exprt/mirror = /mnt/raid4/mirror | ||
Revision as of 14:38, 30 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)
/mnt/raid3 = /dev/sdb1 (xfs) /mnt/raid4 = /dev/sdc1 (xfs) /mnt/holding = /dev/sda1 (xfs) /exprt/mirror = /mnt/raid4/mirror
grub grub> root (hd0,0) grub> setup (hd0) grub> root (hd1,0) grub> setup (hd1) grub> quit
To check that GRUB is properly installed:
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