23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10.3 Creating an External Journal<br />

While writing large sequential data, small I/O writes are done to update metadata.<br />

This small-sized I/O can affect performance of large sequential I/O with disk seeks.<br />

To avoid metadata operations impacting data throughput, it is advisable to create an<br />

external journal for each OST.<br />

The journal itself is mostly written linearly. As the journal size is almost equal to the<br />

RAM usage, we do not recommend making it large unless there is enough RAM for<br />

the backup.<br />

To create an external journal:<br />

1. On the MDS, perform these steps:<br />

a. Create a 400 MB (or larger) journal partition.<br />

$ sfdisk -uC /dev/sdc ,50,L<br />

> EOF<br />

b. Create a journal device.<br />

$ mke2fs -b 4096 -O journal_dev /dev/sdc1<br />

c. Create the MDT.<br />

$ mkfs.lustre --mdt --mgs --fsname lustre \<br />

--mkfsoptions="-J device=/dev/sdc1" /dev/sdd<br />

d. Mount the MDT.<br />

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

Chapter 10 RAID 10-13

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

Saved successfully!

Ooh no, something went wrong!