And yes, as you mentioned, warning appears, but as this is test lab, I
ignored it ...
On 2014.11.22. 18:04, M?rti?? Jakubovi?s wrote:> Hello,
>
> Thanks for so fast response! Answers below.
>
> On 2014.11.22. 17:55, Pranith Kumar Karampuri wrote:
>>
>> On 11/22/2014 09:22 PM, M?rti?? Jakubovi?s wrote:
>>> Hello all!
>>>
>>> I am new in gluster world, and want to test this "beast"
technology.
>>> I created 4 CentOS 7 demo machines with two 50 gb disks in each
>>> machine for bricks. I installed gluster by this simple
"howto":
>>> http://www.server-world.info/en/note?os=CentOS_7&p=glusterfs
>>>
>>> All goes well, I created volume with "replica 2" options,
and use
>>> all 8 bricks. Volume create successfully and I started it:
>>>
>>> [root at gluster1 ~]# gluster volume start test
>>> volume start: test: success
>>> [root at gluster1 ~]# gluster volume info
>>>
>>> Volume Name: test
>>> Type: Distributed-Replicate
>>> Volume ID: 226592b1-089f-4727-a009-19838078b7e7
>>> Status: Started
>>> Number of Bricks: 4 x 2 = 8
>>> Transport-type: tcp
>>> Bricks:
>>> Brick1: gluster1:/brick1/test
>>> Brick2: gluster1:/brick2/test
>>> Brick3: gluster2:/brick1/test
>>> Brick4: gluster2:/brick2/test
>>> Brick5: gluster3:/brick1/test
>>> Brick6: gluster3:/brick2/test
>>> Brick7: gluster4:/brick1/test
>>> Brick8: gluster4:/brick2/test
>> Could you let us know which version of gluster are you using? gluster
>> should have thrown a warning when two bricks are chosen from same
>> machine for replica pairs.
>
> I am running gluster 3.6.1
> [root at gluster1 ~]# glusterfsd --version
> glusterfs 3.6.1 built on Nov 7 2014 15:16:38
>
>>>
>>> But, when I try to mount volume in CentOS 7 machine I got error:
>>>
>>> [root at gclient ~]# mount -t glusterfs gluster1:/test /mnt
>>> WARNING: getfattr not found, certain checks will be skipped..
>>>
>>> Error in log file:
>>> [xlator.c:425:xlator_init] 0-fuse: Initialization of volume
'fuse'
>>> failed, review your volfile again
>> Could you please send the complete log.
>
> Complete record when I try to mount from /var/log/glusterfs/mnt.log:
>
> [2014-11-22 16:03:51.728816] I [MSGID: 100030]
> [glusterfsd.c:2018:main] 0-/usr/sbin/glusterfs: Started running
> /usr/sbin/glusterfs version 3.6.1 (args: /usr/sbin/glusterfs
> --volfile-server=gluster1 --volfile-id=/test /mnt)
> [2014-11-22 16:03:51.729565] I
> [options.c:1163:xlator_option_init_double] 0-fuse: option
> attribute-timeout convertion failed value 1.0
> [2014-11-22 16:03:51.729593] E [xlator.c:425:xlator_init] 0-fuse:
> Initialization of volume 'fuse' failed, review your volfile again
>
>>
>> Pranith
>>>
>>> Would be grateful for any help!
>>>
>>> Best regards,
>>> Martins
>>>
>>> _______________________________________________
>>> Gluster-users mailing list
>>> Gluster-users at gluster.org
>>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>>
>