Pranith Kumar Karampuri
2016-Feb-10 08:21 UTC
[Gluster-users] nfs-ganesha/pnfs read/write path on EC volume
On 02/10/2016 01:15 PM, Serkan ?oban wrote:> Hi Jiffin, > > Any update about the write path?I saw him send some mails related to this, yesterday and day before. You will hear from him soon. Pranith> > Serkan > > On Sun, Jan 31, 2016 at 5:00 PM, Jiffin Tony Thottan > <jthottan at redhat.com> wrote: >> >> On 31/01/16 16:19, Serkan ?oban wrote: >>> Hi, >>> I am testing nfs-ganesha with pNFS on EC volume and I want to ask some >>> questions. >>> Assume we have two clients: c1,c2 >>> and six servers with one 4+2 EC volume constructed as below: >>> >>> gluster volume create vol1 disperse 6 redundancy 2 server{1..6}:/brick/b1 >>> \ >>> >>> server{1..6}:/brick/b2 \ >>> >>> server{1..6}:/brick/b3 \ >>> >>> server{1..6}:/brick/b4 \ >>> >>> server{1..6}:/brick/b5 \ >>> >>> server{1..6}:/brick/b6 >>> vol1 is mounted on both clients as server1:/vol1 >>> >>> Here is first question: When I write file1 from client1 and file2 from >>> client2; which servers get the files? In my opinion server1 gets file1 >>> and server2 gets file2 and do EC calculations and distribute chunks to >>> other servers. Am I right? >>> >>> Can anyone explain detailed read/write path with pNFS and EC volumes? >> >> I never tried pNFS with EC volume, will try the same by my own and reply to >> your question as soon as possible. >> -- >> Jiffin >> >>> Thanks, >>> Serkan >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://www.gluster.org/mailman/listinfo/gluster-users >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://www.gluster.org/mailman/listinfo/gluster-users > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users
Jiffin Tony Thottan
2016-Feb-10 12:21 UTC
[Gluster-users] nfs-ganesha/pnfs read/write path on EC volume
Hi, Sorry for the delayed delayed response On 10/02/16 13:51, Pranith Kumar Karampuri wrote:> > > On 02/10/2016 01:15 PM, Serkan ?oban wrote: >> Hi Jiffin, >> >> Any update about the write path? > I saw him send some mails related to this, yesterday and day before. > You will hear from him soon. > > Pranith >> >> Serkan >> >> On Sun, Jan 31, 2016 at 5:00 PM, Jiffin Tony Thottan >> <jthottan at redhat.com> wrote: >>> >>> On 31/01/16 16:19, Serkan ?oban wrote: >>>> Hi, >>>> I am testing nfs-ganesha with pNFS on EC volume and I want to ask some >>>> questions. >>>> Assume we have two clients: c1,c2 >>>> and six servers with one 4+2 EC volume constructed as below: >>>> >>>> gluster volume create vol1 disperse 6 redundancy 2 >>>> server{1..6}:/brick/b1 >>>> \ >>>> >>>> server{1..6}:/brick/b2 \ >>>> >>>> server{1..6}:/brick/b3 \ >>>> >>>> server{1..6}:/brick/b4 \ >>>> >>>> server{1..6}:/brick/b5 \ >>>> >>>> server{1..6}:/brick/b6 >>>> vol1 is mounted on both clients as server1:/vol1 >>>> >>>> Here is first question: When I write file1 from client1 and file2 from >>>> client2; which servers get the files? In my opinion server1 gets file1 >>>> and server2 gets file2 and do EC calculations and distribute chunks to >>>> other servers. Am I right? >>>> >>>> Can anyone explain detailed read/write path with pNFS and EC volumes? >>>Currently in pNFS cluster , request is send to the first DS available in the list. So I am to planning to distribute different files among the available DS, as a first step I had send out patch in gluster (http://review.gluster.org/#/c/13402/) After this one got merged, there are certain changes in ganesha side too. I had tested both changes in my setup and it was working as accepted. Once again thanks for pointing out this issue -- Regards, Jiffin>>> I never tried pNFS with EC volume, will try the same by my own and >>> reply to >>> your question as soon as possible. >>> -- >>> Jiffin >>> >>>> Thanks, >>>> Serkan >>>> _______________________________________________ >>>> Gluster-users mailing list >>>> Gluster-users at gluster.org >>>> http://www.gluster.org/mailman/listinfo/gluster-users >>> >>> _______________________________________________ >>> Gluster-users mailing list >>> Gluster-users at gluster.org >>> http://www.gluster.org/mailman/listinfo/gluster-users >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://www.gluster.org/mailman/listinfo/gluster-users >