[Lustre-discuss] llapi stripe_size

burlen burlen.loring at gmail.com
Fri Apr 16 11:07:04 PDT 2010


calling llapi_file_create reports the following error:

error: bad stripe_size 4096, must be an even multiple of 65536 bytes: 
Invalid argument (22)

The operation manual said: This value must be an even multiple of system 
page size, as shown by getpagesize. The value 4096 above was returned 
from a call to getpagesize. (I don't intend to set the stripe size so 
small, this is just to illustrate).

Where does the number 65536 come from, what's the right way to determine 
it at runtime?

Thanks
Burlen






More information about the lustre-discuss mailing list