Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unix socket mount error in /etc/fstab #331

Closed
pigochu opened this issue Oct 8, 2017 · 5 comments
Closed

unix socket mount error in /etc/fstab #331

pigochu opened this issue Oct 8, 2017 · 5 comments
Labels
Type:Bug wontfix Managed by stale[bot]

Comments

@pigochu
Copy link

pigochu commented Oct 8, 2017

I can use glusterfs mount unix socket in CLI mode , but can't mount in /etc/fstab

my fstab

/var/run/glusterd.socket:/glustervol1 /var/www/vhosts  glusterfs   defaults,_netdev,direct-io-mode=disable,transport=unix  0  0

the error log

[2017-10-01 07:08:11.203656] I [MSGID: 100030] [glusterfsd.c:2496:main] 0-/usr/sbin/glusterfs: Started running /usr
/sbin/glusterfs version 3.12.1 (args: /usr/sbin/glusterfs --direct-io-mode=disable --volfile-server=/var/run/gluste
rd.socket --volfile-server-transport=unix --volfile-id=/glustervol1.unix /var/www/vhosts)
[2017-10-01 07:08:11.209211] I [MSGID: 101190] [event-epoll.c:613:event_dispatch_epoll_worker] 0-epoll: Started thr
ead with index 1
[2017-10-01 07:08:11.209697] E [glusterfsd-mgmt.c:1796:mgmt_getspec_cbk] 0-glusterfs: failed to get the 'volume fil
e' from server
[2017-10-01 07:08:11.209714] E [glusterfsd-mgmt.c:1932:mgmt_getspec_cbk] 0-mgmt: failed to fetch volume file (key:/
glustervol1.unix)

I think the problem is "--volfile-id=/glustervol1.unix" , it append ".unix".

@atinmu
Copy link

atinmu commented Oct 8, 2017

Why’re you using transport type as unix? Please we use tcp or rdma or both as supported transport types for volumes.

@pigochu
Copy link
Author

pigochu commented Oct 8, 2017

I only have two node , and the nginx+php is installed on the same machine.
I think unix socket is faster than tcp , so I try to mount unix socket. I have test performance use sybench , it's really a a little faster.
In CLI mode I can mount gluster via unix socket , but fstab can't , this is my question , why CLI can but fstab can't do it ?

@atinmu
Copy link

atinmu commented Oct 8, 2017 via email

@stale
Copy link

stale bot commented Apr 30, 2020

Thank you for your contributions.
Noticed that this issue is not having any activity in last ~6 months! We are marking this issue as stale because it has not had recent activity.
It will be closed in 2 weeks if no one responds with a comment here.

@stale stale bot added the wontfix Managed by stale[bot] label Apr 30, 2020
@stale
Copy link

stale bot commented May 15, 2020

Closing this issue as there was no update since my last update on issue. If this is an issue which is still valid, feel free to open it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug wontfix Managed by stale[bot]
Projects
None yet
Development

No branches or pull requests

3 participants