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.

Filesystem refuses to mount because of UUID mismatch<br />

When <strong>Lustre</strong> exports a device for the first time on a target (MDS or OST), it writes a<br />

randomly-generated unique identifier (UUID) to the disk from the .xml<br />

configuration file. On subsequent exports of that device, the <strong>Lustre</strong> code verifies that<br />

the UUID on disk matches the UUID in the .xml configuration file.<br />

This is a safety feature which avoids many potential configuration errors, such as<br />

devices being renamed after the addition of new disks or controller cards to the<br />

system, cabling errors, etc. This results in messages, such as the following, appearing<br />

on the system console, which normally indicates a system configuration error:<br />

af0ac_mds_scratch_2b27fc413e does not match last_rcvd UUID<br />

8a9c5_mds_scratch_8d2422aa88<br />

In some cases, it is possible to get the incorrect UUID in the configuration file, for<br />

example by regenerating the .xml configuration file a second time. In this case, you<br />

must specify the device UUIDs when the configuration file is built with the --ostuuid<br />

or --mdsuuid options to match the original UUIDs instead of generating new ones<br />

each time.<br />

lmc -add ost --node ostnode --lov lov1 --dev /dev/sdc --ostuuid<br />

3dbf8_OST_ostnode_ddd780786b<br />

lmc -add mds --node mdsnode --mds mds_scratch --dev /dev/sdc --mdsuuid<br />

8a9c5_mds_scratch_8d2422aa88<br />

How do I set up multiple <strong>Lustre</strong> filesystems on the same node?<br />

Assuming you want to have separate filesystems with different mount locations, you<br />

need a dedicated MDS partition and Logical Object Volume (LOV) for each<br />

filesystem. Each LOV requires a dedicated OST(s).<br />

For example, if you have an MDS server node, mds_server, and want to have mount<br />

points /mnt/foo and /mnt/bar, the following lines are an example of the setup<br />

(leaving out the --add net lines):<br />

Two MDS servers using distinct disks:<br />

lmc -m test.xml --add mds --node mds_server --mds foo-mds --group \<br />

foo-mds --fstype ldiskfs --dev /dev/sda<br />

lmc -m test.xml --add mds --node mds_server --mds bar-mds --group \<br />

bar-mds --fstype ldiskfs --dev /dev/sdb<br />

D-6 <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!