Re: [Gluster-users] Glusterfs Distributed-Replicated local self-mounts

2016-07-28 Thread tecforte jason
*Hi Pranith,*

*Thank you for your guide !*

*Best Regards,*
*Jason*

On Thu, Jul 28, 2016 at 11:09 PM, Pranith Kumar Karampuri <
pkara...@redhat.com> wrote:

>
>
> On Thu, Jul 28, 2016 at 2:10 PM, tecforte jason 
> wrote:
>
>> *Hi Pranith,*
>>
>> *Thank you for your reply!*
>>
>> I read the artical (https://brainpan.io/wiki/GlusterFS_Build_Steps), it
>> emphasize "This
>>
>> distribution and replication would be used when your clients are external
>> to the cluster, not local self-mounts." It refer to the gluster nfs-server 
>> and nfs-client on same machine ?
>>
>>
>> Between If i have 2 node each with 3 physical disk inside,  each physical 
>> disk size
>>
>> is 1 TB,  i want to create replica of 2, may i know the command below
>> correct ?
>>
>> gluster volume create test-volume replica 2
>> node1:/exp1/brick1 node2:/exp2/brick2
>> node1:/exp1/brick3 node2:/exp2/brick4
>> node1:/exp1/brick5 node2:/exp2/brick6
>>
>> below is what i expecting :
>>
>>- usable space is 3 TB
>>- replica 3TB
>>- node1:/exp1/brick1 is replicated with node2:/exp2/brick2
>>- node1:/exp1/brick3 is replicated with node2:/exp2/brick4
>>- node1:/exp1/brick5  is replicated with node2:/exp2/brick6
>>
>>
>>  Is my above expectation valid ? using Gluster 3.8.
>>
>>
>> Appreciate for any advice and suggestion.
>>
>>
> Looks good to me.
>
> You can mount this volume using fuse on both the nodes.
>
> mount -t glusterfs node1:/testvolume 
>
> Please don't hesitate to include gluster-users email-address in CC, it may
> help someone who is googling for the exact question you are looking for an
> answer to in future..
>
>
>> Best Regards,
>>
>> Jason
>>
>>
>> On Thu, Jul 28, 2016 at 3:34 PM, Pranith Kumar Karampuri <
>> pkara...@redhat.com> wrote:
>>
>>>
>>>
>>> On Thu, Jul 28, 2016 at 12:29 PM, tecforte jason <
>>> tecforte.ja...@gmail.com> wrote:
>>>
 Hi,

 Can i do local self-mounts on Glusterfs Distributed-Replicated mode?

>>>
>>> Are you asking for fuse mounts on the same servers which are used as
>>> bricks? Yeah this is not a problem. But gluster nfs-server and nfs-client
>>> on same machine will lead to hangs. This is not particular to gluster. Even
>>> nfs client and nfs server on same machine leads to hangs.
>>>
>>>

 Much appreciate for any advice and suggestion.

 Thanks.
 Jason

 ___
 Gluster-users mailing list
 Gluster-users@gluster.org
 http://www.gluster.org/mailman/listinfo/gluster-users

>>>
>>>
>>>
>>> --
>>> Pranith
>>>
>>
>>
>
>
> --
> Pranith
>
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Glusterfs Distributed-Replicated local self-mounts

2016-07-28 Thread Pranith Kumar Karampuri
On Thu, Jul 28, 2016 at 12:29 PM, tecforte jason 
wrote:

> Hi,
>
> Can i do local self-mounts on Glusterfs Distributed-Replicated mode?
>

Are you asking for fuse mounts on the same servers which are used as
bricks? Yeah this is not a problem. But gluster nfs-server and nfs-client
on same machine will lead to hangs. This is not particular to gluster. Even
nfs client and nfs server on same machine leads to hangs.


>
> Much appreciate for any advice and suggestion.
>
> Thanks.
> Jason
>
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users
>



-- 
Pranith
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users

[Gluster-users] Glusterfs Distributed-Replicated local self-mounts

2016-07-27 Thread tecforte jason
Hi,

Can i do local self-mounts on Glusterfs Distributed-Replicated mode?

Much appreciate for any advice and suggestion.

Thanks.
Jason
___
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users