Servers:Musashi: Difference between revisions

From Research
Jump to navigation Jump to search
No edit summary
Jjaythomas (talk | contribs)
No edit summary
 
(3 intermediate revisions by one other user not shown)
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)
 
 
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:
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)
/exprt/mirror = /mnt/raid4/mirror
/export/mirror = /mnt/raid4/mirror




Line 32: Line 58:
   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
==Machine info== 
dual Xeon 2.6GHz, 1GB, SCSI-attached 1TB RAID,
SCSI-attached 100GB tape-drive, 3 x GigE, software OS-RAID,
36GB SCSI holding-disk
Running Gentoo Linux
Secondary file- and home-dir-server for Research
Into service July 2003

Latest revision as of 03:13, 8 February 2008

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


Machine info

dual Xeon 2.6GHz, 1GB, SCSI-attached 1TB RAID,

SCSI-attached 100GB tape-drive, 3 x GigE, software OS-RAID,

36GB SCSI holding-disk

Running Gentoo Linux

Secondary file- and home-dir-server for Research

Into service July 2003