Resource Broker installation for WLCG

Disk layout

The disk layout has been studied extensively here. The conclusion is that the disks should be set up as RAID1 using ext3. The procedure is defined as follows

Elonex small disk server configuration (ex_06_3)

# /usr/local/sbin/fileserver-datadisk-setup.sh --prefix /data --fs ext3
Searching for accessible SCSI devices:
    /dev/sdb
    /dev/sdc
    /dev/sdd
Scanning for RAID superblocks on SCSI devices:
    /dev/sdb: none
    /dev/sdc: none
    /dev/sdd: none
Setting up /dev/sdb:
    fdisk /dev/sdb > /tmp/fdisk.sdb.log 2>&1
    dd if=/dev/zero of=/dev/sdb1 bs=1M count=8 2>/dev/null
    mkfs.ext2 -m 0 -i 262144 /dev/sdb1 >/tmp/mkfs.sdb1.log 2>&1
    # Changing filesystem label: '' -> 'data01'
    tune2fs -L data01 /dev/sdb1 > /tmp/tune2fs.sdb1.log
    tune2fs -j /dev/sdb1 >> /tmp/tune2fs.sdb1.log
    # mount point exists
    print 'LABEL=data01 /data01 ext3    defaults        1 3' >> /etc/fstab
    mount -t ext3 /dev/sdb1 /data01
Setting up /dev/sdc:
    fdisk /dev/sdc > /tmp/fdisk.sdc.log 2>&1
    dd if=/dev/zero of=/dev/sdc1 bs=1M count=8 2>/dev/null
    mkfs.ext2 -m 0 -i 262144 /dev/sdc1 >/tmp/mkfs.sdc1.log 2>&1
    # Changing filesystem label: '' -> 'data02'
    tune2fs -L data02 /dev/sdc1 > /tmp/tune2fs.sdc1.log
    tune2fs -j /dev/sdc1 >> /tmp/tune2fs.sdc1.log
    mkdir -p /data02
    print 'LABEL=data02 /data02 ext3    defaults        1 3' >> /etc/fstab
    mount -t ext3 /dev/sdc1 /data02
Setting up /dev/sdd:
    fdisk /dev/sdd > /tmp/fdisk.sdd.log 2>&1
    dd if=/dev/zero of=/dev/sdd1 bs=1M count=8 2>/dev/null
    mkfs.ext2 -m 0 -i 262144 /dev/sdd1 >/tmp/mkfs.sdd1.log 2>&1
    # Changing filesystem label: '' -> 'data03'
    tune2fs -L data03 /dev/sdd1 > /tmp/tune2fs.sdd1.log
    tune2fs -j /dev/sdd1 >> /tmp/tune2fs.sdd1.log
    mkdir -p /data03
    print 'LABEL=data03 /data03 ext3    defaults        1 3' >> /etc/fstab
    mount -t ext3 /dev/sdd1 /data03

-- TimBell - 12 Sep 2006

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2006-09-12 - TimBell
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback