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.

Now for the LOVs:<br />

lmc -m test.xml --add lov --lov foo-lov --mds foo-mds \<br />

--stripe_sz 1048576 --stripe_cnt 1 --stripe_pattern 0<br />

lmc -m test.xml --add lov --lov bar-lov --mds bar-mds \<br />

--stripe_sz 1048576 --stripe_cnt 1 --stripe_pattern 0<br />

Each LOV needs at least one OST:<br />

lmc -m test.xml --add ost --node ost_server --lov foo-lov \<br />

--ost foo-ost1 --group foo-ost1 --fstype ldiskfs --dev /dev/sdc<br />

lmc -m test.xml --add ost --node ost_server --lov bar-lov \<br />

--ost bar-ost1 --group<br />

bar-ost1 --fstype ldiskfs --dev /dev/sdd<br />

Set up the client mount points:<br />

lmc -m test.xml --add mtpt --node foo-client --path /mnt/foo \<br />

--mds foo-mds --lov foo-lov<br />

lmc -m test.xml --add mtpt --node bar-client --path /mnt/bar \<br />

--mds bar-mds --lov bar-lov<br />

If the <strong>Lustre</strong> filesystem "foo" already exists, and you want to add the filesystem "bar"<br />

without reformatting foo, use the group designator to reformat only the new disks:<br />

ost_server> lconf --group bar-ost1 --select bar-ost1 \<br />

--reformat test.xml<br />

mds_server> lconf --group bar-mds --select bar-mds \<br />

--reformat test.xml<br />

If you change the --dev that foo-mds uses, you also need to commit that new<br />

configuration (foo-mds must not be running):<br />

mds_server> lconf --group foo-mds --select foo-mds --write_conf<br />

test.xml<br />

Note – If you want both mount points on a client, you can use the same client node<br />

name for both mount points.<br />

Appendix D <strong>Lustre</strong> Knowledge Base D-7

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

Saved successfully!

Ooh no, something went wrong!