[Gluster-users] [Gluster-devel] OS X porting merged

Dennis Schafroth dennis at schafroth.dk
Sat May 3 07:16:44 UTC 2014


On 03 May 2014, at 04:10 , Justin Clift <justin at gluster.org> wrote:

> On 26/04/2014, at 9:53 AM, Dennis Schafroth wrote:
> <snip>
>> On the server part we are not there yet. I have been running OS X bricks with OS X clients, but only replicated ones seems to work. Distributed ends up with duplicate file entries  in the fuse mount. 
>> 
>> It requires OSX FUSE (http://osxfuse.github.io/) installed. 
> 
> Been trying to get this working today on my OSX 10.7.5 system, for
> making a Homebrew formula.
> 
> Not having any luck getting glusterd running:
> 
>  $ sudo glusterd --debug
>  [2014-05-03 02:05:52.485256] I [MSGID: 100030] [glusterfsd.c:2016:main] 0-glusterd: Started running glusterd version 3.5qa2 (args: glusterd --debug)
>  [2014-05-03 02:05:52.485427] D [MSGID: 0] [glusterfsd.c:614:get_volfp] 0-glusterfsd: loading volume file /Users/jc/local/gluster/etc/glusterfs/glusterd.vol
>  [2014-05-03 02:05:52.486195] W [xlator.c:191:xlator_dynload] 0-xlator: dlopen(/Users/jc/local/gluster/lib/glusterfs/3.5qa2/xlator/mgmt/glusterd.so, 10): Symbol not found: _umount2
>    Referenced from: /Users/jc/local/gluster/lib/glusterfs/3.5qa2/xlator/mgmt/glusterd.so
>    Expected in: flat namespace
>   in /Users/jc/local/gluster/lib/glusterfs/3.5qa2/xlator/mgmt/glusterd.so

We did see this some times while porting (missing a symbol/function), but that was because clang has a different/stricter linking strategy around inline, which I remember correctly should be declare static as well. I cannot see that this is the case here, since umount2 is just a macro. Which should be gone by the time of linking, weird.

Trying to compile master and report back. 

UPDATE: getting same error now! 

>  [2014-05-03 02:05:52.486223] E [graph.y:212:volume_type] 0-parser: Volume 'management', line 2: type 'mgmt/glusterd' is not valid or not found on this machine
>  [2014-05-03 02:05:52.486254] E [graph.y:321:volume_end] 0-parser: "type" not specified for volume management
>  [2014-05-03 02:05:52.486263] D [graph.y:602:glusterfs_graph_construct] 0-parser: parsing of volfile failed, please review it once more
>  [2014-05-03 02:05:52.486314] E [MSGID: 100026] [glusterfsd.c:1884:glusterfs_process_volfp] 0-: failed to construct the graph
>  [2014-05-03 02:05:52.486363] W [glusterfsd.c:1182:cleanup_and_exit] (--> 0-: received signum (0), shutting down
>  [2014-05-03 02:05:52.486387] D [glusterfsd-mgmt.c:2225:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: portmapper signout arguments not given
> 
> I've tried with both the .dmg version of OSX Fuse, and also with
> the Homebrew version.  Same error both ways.

I don’t think is related to OSX Fuse. But confirm that it’s working by using sshfs. That will take that out of the equation.

> 
> Any ideas?
> 
> Regards and best wishes,
> 
> Justin Clift
> 
> --
> Open Source and Standards @ Red Hat
> 
> twitter.com/realjustinclift
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel




More information about the Gluster-users mailing list