CHI Disks

Mounting:

The eSATA disks are mounted on hovsi and cdvsi

  1. Use dmesg to work out which disks they are. Look for:

    sd 5:0:0:0: Attached scsi generic sg3 type 0
    Vendor: ATA Model: WDC WD7500AACS-0 Rev: 01.0
    Type: Direct-Access ANSI SCSI revision: 05
    SCSI device sdd: 1465149168 512-byte hdwr sectors (750156 MB)
    sdd: Write Protect is off
    sdd: Mode Sense: 00 3a 00 00
    SCSI device sdd: drive cache: write back
    SCSI device sdd: 1465149168 512-byte hdwr sectors (750156 MB)
    sdd: Write Protect is off
    sdd: Mode Sense: 00 3a 00 00
    SCSI device sdd: drive cache: write back
    sdd: sdd1
    sd 6:0:0:0: Attached scsi disk sdd
  2. If the disks have been formatted all you need to do is attach them:
    mdadm -A /dev/md2 /dev/sdc1 /dev/sdd1

OTHERWISE:

  1. Create the RAID0 device. Replace /dev/sdc1 and /dev/sdd1 as appropriate. You may need to change md2 to something else too. Check using df
    mdadm -Cv /dev/md2 -l0 -n2 /dev/sdc1 /dev/sdd1
  2. Format it:
    mkfs.ext3 /dev/md2/
  3. Mount it
    mount /dev/md2 /data/glast_agn

Unmounting

  1. umount /data/glast_agn
  2. mdadm --stop /dev/md2