[Samba] change in CTDB-howto
Stefan Kania
stefan at kania-online.de
Mon Dec 26 13:34:14 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I did a little change in my howto for Gluster and CTDB. Because of a
bug in all debian based distributions a glusterfs filesystem will not
mount during systemstart.
What I did? I removed the mountpoint from /etc/fstab and created a
systemd target.mount file /etc/systemd/system/glusterfs.mount.
Important is, that the name of the file MUST be the same as the
mountpoint it self!
Here the content of the file:
- --------------------------
[Unit]
Description = CTDB Data dir
After=network.target glusterfs-server.service
[Mount]
What=c1:/gv1
Where=/glusterfs
Type=glusterfs
Options=defaults,acl
[Install]
WantedBy=multi-user.target
- --------------------------
To activate the target do a
- --------
systemctl enable glusterfs.mount
- --------
Now after restarting the system the glusterfs-filesystem is mounted.
The new howto is here:
https://www.kania-online.de/wp-content/uploads/2016/12/ubuntu-cluster.tx
t
- --
Stefan Kania
Landweg 13
25693 St. Michaelisdonn
Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre
E-Mail. Weiter Informationen unter http://www.gnupg.org
Mein Schlüssel liegt auf
hkp://subkeys.pgp.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iEYEARECAAYFAlhhHFYACgkQ2JOGcNAHDTaoZQCdGxUG8kKqkulYrgb+Gbfzm0K3
hYQAoLao39y89BSVKyFCo79jvTKGIk/a
=PC6e
-----END PGP SIGNATURE-----
More information about the samba
mailing list