[lustre-discuss] llapi_file_get_stripe() and /proc/fs/lustre/osc/ entries
John Bauer
bauerj at iodoctors.com
Sat Jul 16 13:11:22 PDT 2016
I am using *llapi_file_get_stripe()* to get the ost indexes that a file
is striped on. That part is working fine. But there are multiple Lustre
file systems on the node resulting in multiple **OST0000* *in the
directory /proc/fs/lustre/osc. Is there something in the *struct
lov_user_ost_data* or *struct lov_user_md* that would indicate which of
the following directories pertains to the file's OST ?
dr-xr-xr-x 2 root root 0 Jul 16 12:31 nbp1-OST0000-osc-ffff880287ae4c00
dr-xr-xr-x 2 root root 0 Jul 16 12:31 nbp2-OST0000-osc-ffff881034d99000
dr-xr-xr-x 2 root root 0 Jul 16 12:31 nbp6-OST0000-osc-ffff881003cd7800
dr-xr-xr-x 2 root root 0 Jul 16 12:31 nbp7-OST0000-osc-ffff880ffe051c00
dr-xr-xr-x 2 root root 0 Jul 16 12:31 nbp8-OST0000-osc-ffff880ffe054c00
dr-xr-xr-x 2 root root 0 Jul 16 12:31 nbp9-OST0000-osc-ffff880fcf179400
Thanks
--
I/O Doctors, LLC
507-766-0378
bauerj at iodoctors.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20160716/95176929/attachment.htm>
More information about the lustre-discuss
mailing list