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.3 llapi_file_open<br />

The llapi_file_open command opens or creates a file with the specified striping<br />

parameters.<br />

Synopsis<br />

int llapi_file_open(const char *name, int flags, int mode, unsigned<br />

long stripe_size, int stripe_offset, int stripe_count, int<br />

stripe_pattern)<br />

Description<br />

The llapi_file_open function opens or creates a file with the specified striping<br />

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

means there was a failure.<br />

Option<br />

Description<br />

name<br />

The name of the file.<br />

flags<br />

This opens flags.<br />

mode<br />

This opens modes.<br />

stripe_size<br />

The stripe size of the file.<br />

stripe_offset<br />

The stripe offset (stripe_index) of the file.<br />

stripe_count<br />

The stripe count of the file.<br />

stripe_pattern<br />

The stripe pattern of the file.<br />

Chapter 30 Setting <strong>Lustre</strong> Properties (man3) 30-5

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

Saved successfully!

Ooh no, something went wrong!