<div dir="ltr">Hi guys: <br><div><br>Is there a way to "guess" which node / brick contains a file in glusterfs, without using xattrs ? <br><br></div>We need programmatic access to optimize locality, and currently are doing this with xattrs, however, we'd like to simply get the gluster meta data in a platform neutral way.<br clear="all">
<div><div><br></div>One very silly solutoin might be:<br><br><div>ssh into each server, and account time to read 50KB from the file, and select the fasted read time as the "local" server.<br><br>But of course, this would be a really bad hack :) ^^<br>
</div><div><br>-- <br>Jay Vyas<br><a href="http://jayunit100.blogspot.com" target="_blank">http://jayunit100.blogspot.com</a>
</div></div></div>