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.

4.2.2.2 Mount with Inactive OSTs<br />

Mounting a client or MDT with known down OSTs (specified targets are treated<br />

as "inactive")<br />

client> mount -o exclude=testfs-OST0000 -t lustre uml1:/testfs\<br />

/mnt/testfs<br />

client> cat /proc/fs/lustre/lov/testfs-clilov-*/target_obd<br />

To reactivate an inactive OST on a live client or MDT, use lctl activate on the<br />

OSC device, for example:<br />

lctl --device 7 activate<br />

Note – A colon-separated list can also be specified. For example,<br />

exclude=testfs-OST0000:testfs-OST0001.<br />

4.2.2.3 Finding Nodes in the <strong>Lustre</strong> Filesystem<br />

You can get the list of servers participating in each filesystem by using following<br />

commands.<br />

cfs21:/tmp# cat /proc/fs/lustre/mgs/MGS/live/*<br />

fsname: lustre<br />

flags: 0x0 gen: 26<br />

lustre-MDT0000<br />

lustre-OST0000<br />

lustre-OST0001<br />

You can get the names of OSTs from MDT by using following commands.<br />

cfs21:/tmp# cat /proc/fs/lustre/lov/lustre-mdtlov/target_obd<br />

0: lustre-OST0000_UUID ACTIVE<br />

1: lustre-OST0001_UUID ACTIVE<br />

4.2.2.4 Without <strong>Lustre</strong> Service<br />

Only start the MGS or MGC. Do not start the target server (for example, if you do<br />

not want to start the MDT for a combined MGS/MDT)<br />

$ mount -t lustre -L testfs-MDT0000 -o nosvc /mnt/test/mdt<br />

Chapter 4 <strong>Lustre</strong> Installation 4-11

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

Saved successfully!

Ooh no, something went wrong!