23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6.1.1.2 Configuration Generation and Application<br />

1. Install the <strong>Lustre</strong> RPMS (per Installing <strong>Lustre</strong>) on all nodes that are going to be<br />

part of the <strong>Lustre</strong> filesystem. Boot the nodes in <strong>Lustre</strong> kernel, including the<br />

clients.<br />

2. Change modprobe.conf by adding the following line to it.<br />

options lnet networks=tcp<br />

3. Configuring <strong>Lustre</strong> on MGS and MDT node.<br />

$ mkfs.lustre --fsname datafs --mdt --mgs /dev/sda<br />

4. Make a mount point on MDT/MGS for the filesystem and mount it.<br />

$ mkdir -p /mnt/data/mdt<br />

$ mount -t lustre /dev/sda /mnt/data/mdt<br />

5. Configuring <strong>Lustre</strong> on all four OSTs.<br />

mkfs.lustre --fsname datafs --ost --mgsnode=mds16@tcp0 /dev/sda<br />

mkfs.lustre --fsname datafs --ost --mgsnode=mds16@tcp0 /dev/sdd<br />

mkfs.lustre --fsname datafs --ost --mgsnode=mds16@tcp0 /dev/sda1<br />

mkfs.lustre --fsname datafs --ost --mgsnode=mds16@tcp0 /dev/sdb<br />

Note – While creating the filesystem, make sure you are not using disk with the<br />

operating system.<br />

6. Make a mount point on all the OSTs for the filesystem and mount it.<br />

$ mkdir -p /mnt/data/ost0<br />

$ mount -t lustre /dev/sda /mnt/data/ost0<br />

$ mkdir -p /mnt/data/ost1<br />

$ mount -t lustre /dev/sdd /mnt/data/ost1<br />

$ mkdir -p /mnt/data/ost2<br />

$ mount -t lustre /dev/sda1 /mnt/data/ost2<br />

$ mkdir -p /mnt/data/ost3<br />

$ mount -t lustre /dev/sdb /mnt/data/ost3<br />

$ mount -t lustre mdt16@tcp0:/datafs /mnt/datafs<br />

6-2 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!