[Gluster-devel] AFR on client side and option read subvolume

Krishna Srinivas krishna at zresearch.com
Mon May 12 06:40:26 UTC 2008


Brandon,

AFR hashes inode number and reads from the same subvol all the time
for a given file (regardless of which client is reading, it always gets read
from the same subvol)

But in case you have a faster subvol, you can give the "option read-subvolume"

Krishna

On Fri, May 9, 2008 at 10:16 PM, Brandon Lamb <brandonlamb at gmail.com> wrote:
> Sort of two questions depending on the answer to the first.
>
> If i have 10 clients doing afr to 2 servers, and one of the servers is
> faster (20 scsi versus 8 sata2), how does afr pick which one to read
> data from? some kind of round robin or something?
>
> Question 2 would be, could I set this on my clients to tell it i want
> to read from server2?
> Question 2.1, could I configure half to use server1 and half to use server2?
>
> option read subvolume server2 (faster server)
>
> Or do I not understand what this is doing at all?
>
> Thanks!
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>





More information about the Gluster-devel mailing list