Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
# Return 'active' if the shared filesystem is accessible.
get_cluster_fs_state()
{
- case $state_fs in
+ case "$state_fs" in
gpfs)
/usr/lpp/mmfs/bin/mmgetstate | awk 'NR == 4 { print $3 }'
;;
exit 0
fi
- case $state_fs in
+ case "$state_fs" in
gpfs)
_mntpt=$(echo "$_mounts" | sort | awk 'NR == 1 {print $3}')
_link_dst="${_mntpt}/${ganesha_rec_subdir}"
{
_ip="$2"
- case $state_fs in
+ case "$state_fs" in
glusterfs)
check_ln "$NODESTATEDIR" "${GANSTATEDIR}/${_ip}"
;;