mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
e704eb580a
Rename CTDB_NFS_STATE_MNT to CTDB_NFS_SHARED_STATE_DIR. It doesn't have to be a mount but can be any directory in a cluster filesystem. CTDB_NFS_SHARED_STATE_DIR will soon be used in statd_callout_helper, so the variable name might as well be better. With this change, it will still only be used by nfs-ganesha-callout, which isn't yet supported (i.e. it still lives in doc/examples). The rest of the comments below refer to behaviour changes in that script. CTDB_NFS_SHARED_STATE_DIR is now mandatory when GPFS is used. This is much saner that choosing the first GPFS filesystem - if the state directory changes then connection metadata can be lost. Drop CTDB_NFS_STATE_FS_TYPE. The filesystem type is now determined from CTDB_NFS_SHARED_STATE_DIR and it is now checked against supported filesystems. This will catch the case when the filesystem for the specified directory has not been mounted and the filesystem for the mountpoint (e.g. ext4) is not a supported filesystem for shared state. A side-effect is that the filesystem containing CTDB_NFS_SHARED_STATE_DIR must be mounted when nfs-ganesha-callout is first run. While touching this file, my shfmt pre-commit hook wants to insert a trailing ;; into a case statement. Let's sneak that in here too. Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Amitay Isaacs <amitay@gmail.com> |
||
---|---|---|
.. | ||
11.natgw.options | ||
20.nfs_ganesha.check | ||
21.nfs.check | ||
91.lvs.options | ||
config_migrate.sh | ||
config_migrate.test_input | ||
ctdb.conf | ||
ctdb.spec.in | ||
nfs-ganesha-callout | ||
README |
This directory includes... Sample CTDB configuration files: o ctdb.conf - Main configuration file o 11.natgw.options - Options for the 11.natgw event script o 91.lvs.options - Options for the 91.lvs event script Sample 60.nfs configuration for NFS ganesha - callout script and .check files o nfs-ganesha-callout o 20.nfs_ganesha.check o 21.nfs.check See the comment at the top of nfs-ganesha-callout for instructions.