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.

30.1.2 llapi_file_get_stripe<br />

Use llapi_file_get_stripe to get striping information.<br />

Synopsis<br />

int llapi_file_get_stripe(const char *path, struct lov_user_md *lum)<br />

Description<br />

The llapi_file_get_stripe function returns the striping information to the<br />

caller. If it returns a zero (0), the operation was successful; a negative number means<br />

there was a failure.<br />

Option<br />

Description<br />

path<br />

The path of the file.<br />

lum<br />

The returned striping information.<br />

return<br />

A value of zero (0) mean the operation was successful.<br />

A value of a negative number means there was a failure.<br />

stripe_count<br />

Indicates the number of OSTs that this file will be striped across.<br />

stripe_pattern<br />

Indicates the RAID pattern.<br />

30-4 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • August 2008

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

Saved successfully!

Ooh no, something went wrong!