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.

CHAPTER 30<br />

Setting <strong>Lustre</strong> Properties (man3)<br />

This chapter describes how to use llapi to set <strong>Lustre</strong> file properties.<br />

30.1 Using llapi<br />

Several llapi commands are available to set <strong>Lustre</strong> properties, llapi_file_create,<br />

llapi_file_get_stripe, and llapi_file_open. These commands are<br />

described in the following sections:<br />

llapi_file_create<br />

llapi_file_get_stripe<br />

llapi_file_open<br />

llapi_quotactl<br />

30.1.1 llapi_file_create<br />

Use llapi_file_create to set <strong>Lustre</strong> properties for a new file.<br />

Synopsis<br />

#include <br />

#include <br />

int llapi_file_create(char *name, long stripe_size,<br />

int stripe_offset, int stripe_count, int stripe_pattern);<br />

30-1

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

Saved successfully!

Ooh no, something went wrong!