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.

Description<br />

The llapi_file_create() function sets a file descriptor’s <strong>Lustre</strong> striping<br />

information. The file descriptor is then accessed with open ().<br />

Option<br />

Description<br />

llapi_file_create()<br />

stripe_size<br />

stripe_offset<br />

stripe_count<br />

stripe_pattern<br />

If the file already exists, this parameter returns to ‘EEXIST’.<br />

If the stripe parameters are invalid, this parameter returns to ‘EINVAL’.<br />

This value must be an even multiple of system page size, as shown by getpagesize<br />

(). The default <strong>Lustre</strong> stripe size is 4MB.<br />

Indicates the starting OST for this file.<br />

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

Indicates the RAID pattern.<br />

Note – Currently, only RAID 0 is supported. To use the system defaults, set these<br />

values: stripe_size = 0, stripe_offset = -1, stripe_count = 0, stripe_pattern = 0<br />

30-2 <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!