[Gluster-users] Gluster mount problem

Mitja Mihelič mitja.mihelic at arnes.si
Tue Jan 13 13:20:45 UTC 2015


As I continued with Gluster I ran into another problem.
I created file /etc/glusterfs/datastore.vol (attached) on the client. 
Then I tried to mount it from the commandline.
When trying to mount it, I get an error:
[root at CLIENT-1 glusterfs]# env -i LC_NUMERIC="en_US.UTF-8" mount -t 
glusterfs /etc/glusterfs/datastore.vol /mnt/test
ERROR: Server name/volume name unspecified cannot proceed further..
Please specify correct format
Usage:
man 8 /sbin/mount.glusterfs

I followed this guide at first, but I got the same result from others.
http://www.jamescoyle.net/how-to/439-mount-a-glusterfs-volume

What am I missing?

Regards, Mitja

--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78

On 10. 12. 2014 17:55, Mitja Mihelič wrote:
> Per your suggestion I tired this:
> env -i LC_NUMERIC="en_US.UTF-8" mount -t glusterfs -o transport=tcp 
> GLUSTER-1.NAME.SI://wp-vol-1 /mnt/volume-1
>
> And it works.
>
> Mounting of volumes via fstab works also.
>
> Regards, Mitja
> --
> Mitja Mihelič
> ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
> tel: +386 1 479 8877, fax: +386 1 479 88 78
> On 10. 12. 2014 17:17, Jan-Hendrik Zab wrote:
>> On 10/12/14 16:57 +0100, Mitja Mihelič wrote:
>>> Hi!
>>>
>>> I am having trouble mounting a Gluster volume. After issuing the mount
>>> command nothing happens. It is the same for CentOS6 and CentOS7 clients.
>>> Both are updated to the latest package versions. I am using the official
>>> Gluster repository in both clients:
>>> http://download.gluster.org/pub/gluster/glusterfs/LATEST/CentOS/glusterfs-epel.repo
>>> CentOS6 packages installed:
>>> glusterfs-3.6.1-1.el6.x86_64
>>> glusterfs-api-3.6.1-1.el6.x86_64
>>> glusterfs-fuse-3.6.1-1.el6.x86_64
>>> glusterfs-libs-3.6.1-1.el6.x86_64
>>>
>>> CentOS7 packages installed:
>>> glusterfs-3.6.1-1.el7.x86_64
>>> glusterfs-api-3.6.1-1.el7.x86_64
>>> glusterfs-fuse-3.6.1-1.el7.x86_64
>>> glusterfs-libs-3.6.1-1.el7.x86_64
>>>
>>> I monitored traffic on the Gluster node and on the client node and there was
>>> no communication between them. Telnet to the Cluster node works fine. Both
>>> machines are in the same network and their firewalls and SELinux are turned
>>> off.
>>>
>>> I looked into it with strace, and here are the results.
>>> For CentOS6:http://pastebin.com/vcqTh2Hi
>>> For CentOS7:http://pastebin.com/s7MuTbXb
>> Hey,
>> please set your LC_NUMERIC locale to en_US.UTF-8 and try again. You
>> might be hitting a known bug.
>>
>> 	-jhz
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150113/7edeb12d/attachment.html>
-------------- next part --------------
[root at CLIENT-1 glusterfs]# cat datastore.vol 
volume remote1
  type protocol/client
  option transport-type tcp
  option remote-host GLUSTER-1
  option remote-subvolume /gluster/gvol0/brick0
end-volume

volume remote2
  type protocol/client
  option transport-type tcp
  option remote-host GLUSTER-2
  option remote-subvolume /gluster/gvol0/brick0
end-volume

volume remote3
  type protocol/client
  option transport-type tcp
  option remote-host GLUSTER-3
  option remote-subvolume /gluster/gvol0/brick0
end-volume

volume replicate
  type cluster/replicate
  subvolumes remote1 remote2 remote3
end-volume

volume writebehind
  type performance/write-behind
  option window-size 1MB
  subvolumes replicate
end-volume

volume cache
  type performance/io-cache
  option cache-size 512MB
  subvolumes writebehind
end-volume


More information about the Gluster-users mailing list