-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Unable to mount local volume at boot (Debian bullseye) #4308
Comments
This issue is discussed many times in the mailing list (https://lists.gluster.org/pipermail/gluster-users/2015-March/021333.html) and other issues. We need to come up with the proper solution to this use case. Issue:
Expected:
|
I think we can do it after make the option transport.socket.ignore-enoent to configurable. As of now the option is hard coded and use by glusterd, it call connect in a loop at max 5 times after 1s sleep even connect received ENOENT. |
so many glusterd nodes, so we have sleep 10 sec,and retry,until all subvolume is up or 20 times limit。 |
Description of problem:
I have a GlusterFS cluster with 3 nodes. All nodes serve as both server and client, as the servers are running Docker containers that use the GlusterFS volume.
My
/etc/fstab
:But the volume fails to mount at boot. But if I login via SSH and run
mount -a
, the mount works just fine.The exact command to reproduce the issue:
Expected results:
The volume should automatically mount at boot.
Mandatory info:
- The output of the
gluster volume info
command:- The output of the
gluster volume status
command:- The output of the
gluster volume heal
command:- Provide logs present on following locations of client and server nodes -
/var/log/syslog
/var/log/glusterfs/glusterd.log
/var/log/glusterfs/mnt-gluster.log
/var/log/glusterfs/glustershd.log
Additional info:
In an attempt to fix the above issue, I created some systemd drop-in files to ensure that the volume isn't mounted until the GlusterFS service is started:
I can tell from the timestamps that the mount isn't done until GlusterFS is started, but it still fails to mount. The above logs are with the drop-in files in place.
- The operating system / glusterfs version:
Debian GNU/Linux 11 (bullseye)
glusterfs-server:
Installed: 11.1-1
glusterfs-client:
Installed: 11.1-1
The text was updated successfully, but these errors were encountered: