I thinkd it would be better to mount it via systemd. Here is an example
for a mount-file:
-----------------
[Unit]
Description = Data dir
After=network.target glusterfs-server.service
Requires=network-online.target
[Mount]
What=c-01:/gv1
Where=/glusterfs
Type=glusterfs
Options=defaults,_netdev,negative-timeout=10,attribute-timeout=30,fopen-keep-cache,direct-io-mode=enable,acl
[Install]
WantedBy=multi-user.target
-----------------
in "What" you put your server and volume-name. Where is the path to
mount to. Put the file to /etc/systemd/system The name of the file must be:
glusterfs.mount if the mountpoint is /glusters. If you have a mountpoint
/mnt/glusterfs then the filename is mnt.glusterfs.mount.
The example is the systemd-script running on the gluester-server it
self. If you want to use it on a client replace
"glusterfs-server.service" with "glusterfs-client.service"
Am 28.12.21 um 18:48 schrieb lejeczek:> Hi guys
>
> I have simple fstab
>
> dzien.direct:/VMs3?? /mnt glusterfs
> defaults,_netdev,x-systemd.requires=glusterd.service,x-systemd.automount
> 0 0
>
> and have tried variations of that, but ver. 10.x fails with:
>
> -> $ mount -vv /mnt/
> /sbin/mount.glusterfs: illegal option -- v
> Usage: /sbin/mount.glusterfs <server>:<volume/subdir>
<mountpoint>
> -o<options>
> Options:
> man 8 mount.glusterfs
> To display the version number of the mount helper: /sbin/mount.glusterfs -V
>
> is that v. 10.x's problem?
>
> thanks, L>
> ________
>
>
>
> Community Meeting Calendar:
>
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-users mailing list
> Gluster-users at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-users
--
Stefan Kania
Landweg 13
25693 St. Michaelisdonn
Signieren jeder E-Mail hilft Spam zu reduzieren und sch?tzt Ihre
Privatsph?re. Ein kostenfreies Zertifikat erhalten Sie unter
https://www.dgn.de/dgncert/index.html
Download der root-Zertifikate: https://www.dgn.de/dgncert/downloads.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3477 bytes
Desc: S/MIME Cryptographic Signature
URL:
<http://lists.gluster.org/pipermail/gluster-users/attachments/20220123/a8026d36/attachment.p7s>