Skip to content

Commit

Permalink
Removed NFS v4 settings that don't work on tier2 NFS.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoylen committed Feb 13, 2018
1 parent 5d2921c commit 5ac47b3
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions q-storage-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,13 @@
# along with this program. If not, see {http://www.gnu.org/licenses/}.
#----------------------------------------------------------------

VERSION=3.2.0
VERSION=3.3.0

DEFAULT_ADHOC_MOUNT_DIR="/mnt"
DEFAULT_AUTO_MOUNT_DIR="/data"

# NFSv4 known working in Ubuntu 16.04
# change conditional if other OSes supported/wanted
if [[ $(python -mplatform | grep "Ubuntu-16.04") ]]; then
MOUNT_OPTIONS="rw,nfsvers=4,hard,intr,nosuid,nodev,timeo=100,retrans=5"
else
MOUNT_OPTIONS="rw,nfsvers=3,hard,intr,nosuid,nodev,timeo=100,retrans=5"
fi
#MOUNT_OPTIONS="rw,nfsvers=3,hard,intr,nosuid,nodev,timeo=100,retrans=5"

# Note: use NFS v3; NFS v4 does not work on tier2 NFS
MOUNT_OPTIONS="rw,nfsvers=3,hard,intr,nosuid,nodev,timeo=100,retrans=5"
MOUNT_OPTIONS_DNF_YUM=nolock
MOUNT_OPTIONS_APT=

Expand Down Expand Up @@ -139,6 +132,7 @@ VERBOSE=
DO_AUTOFS=
DO_MOUNT=
DO_UMOUNT=
DO_MTU=
STAGE=
DIR=
FORCE=
Expand Down

0 comments on commit 5ac47b3

Please sign in to comment.