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.

22.3.6 Changing Parameters<br />

You can set the following parameters at the mkfs time, on a non-running target disk,<br />

via tunefs.lustre or via a live MGS using lctl.<br />

With mkfs.lustre<br />

While you are using the mkfs command and creating the filesystem, you can add<br />

parameters with the --param option:<br />

$ mkfs.lustre --mdt --param="sys.timeout=50" /dev/sda<br />

With tunefs.lustre<br />

If a server is stopped, you can add the parameters via tunefs.lustre with the<br />

same --param option:<br />

$ tunefs.lustre --param="failover.node=192.168.0.13@tcp0" /dev/sda<br />

With tunefs.lustre, parameters are "additive" -- to erase all old parameters and just<br />

use the newly-specified parameters, use tunefs.lustre --erase-params --<br />

param=....<br />

With lctl<br />

While a server is running, you can change many parameters via lctl conf_param:<br />

$ mgs> lctl conf_param testfs-MDT0000.sys.timeout=40<br />

$ anynode> cat /proc/sys/lustre/timeout<br />

Note – The lctl conf_param command permanently sets parameters in the<br />

filesystem configuration.<br />

22-8 <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!