Servers:Musashi: Difference between revisions

From Research
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)


Software-RAID constituents:


  musashi proc # cat mdstat  
  musashi proc # cat mdstat  

Revision as of 13:58, 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)


Software-RAID constituents:

musashi proc # cat mdstat 
Personalities : [raid1] 
md0 : active raid1 hdc1[1] hda1[0]
      64192 blocks [2/2] [UU]
      
md2 : active raid1 hdc6[1] hda6[0]
      10000320 blocks [2/2] [UU]
      
md3 : active raid1 hdc7[1] hda7[0]
      10000320 blocks [2/2] [UU]
      
md4 : active raid1 hdc8[1] hda8[0]
      10000320 blocks [2/2] [UU]
      
md5 : active raid1 hdc9[1] hda9[0]
      995904 blocks [2/2] [UU]
      
md1 : active raid1 hdc5[1] hda5[0]
      8056448 blocks [2/2] [UU]
      
unused devices: <none>


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