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.

23.4.1 Determine the <strong>Lustre</strong> UUID of an OST<br />

To determine the <strong>Lustre</strong> UUID of an obdfilter disk (for example, if you mix up the<br />

cables on your OST devices or the SCSI bus numbering suddenly changes and the<br />

SCSI devices get new names), use debugfs to get the last_rcvd file.<br />

23.4.2 Tcpdump<br />

<strong>Lustre</strong> provides a modified version of tcpdump which helps to decode the complete<br />

<strong>Lustre</strong> message packet. This tool has more support to read packets from clients to<br />

OSTs, than to decode packets between clients and MDSs. The tcpdump module is<br />

available from <strong>Lustre</strong> CVS at www.sourceforge.net.<br />

It can be checked out as:<br />

cvs co -d :ext:@cvs.lustre.org:/cvsroot/lustre tcpdump<br />

23.5 Ptlrpc Request History<br />

Each service always maintains request history, which is useful for first occurrence<br />

troubleshooting. Ptlrpc history works as follows:<br />

1. Request_in_callback() adds the new request to the service's request history.<br />

2. When a request buffer becomes idle, add it to the service's request buffer<br />

history list.<br />

3. Cull buffers from the service's request buffer history if it has grown above<br />

"req_buffer_history_max" and remove its reqs from the service's request history.<br />

Request history is accessed/controlled via the following /proc files under the<br />

service directory.<br />

■ req_buffer_history_len<br />

Number of request buffers currently in the history<br />

■ req_buffer_history_max<br />

Maximum number of request buffers to keep<br />

■ req_history<br />

The request history<br />

23-14 <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!