1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at 9# http://www.illumos.org/license/CDDL. 10# 11 12# 13# Copyright (c) 2016 by Delphix. All rights reserved. 14# 15 16# 17# This file is a sample NFS configuration for the performance tests. To use the 18# performance tests over NFS you must have: 19# - a client machine with fio and sudo installed 20# - passwordless SSH set up from this host 21# for delphix and root users to the client 22# - passwordless sudo for the user on the client 23# 24 25 26# The IP address for the server 27export NFS_SERVER=127.0.0.1 28 29# The IP address for the client 30export NFS_CLIENT=127.0.0.1 31 32# The mountpoint to use inside the client 33export NFS_MOUNT=/var/tmp/nfs 34 35# The user to run the tests as on the client 36export NFS_USER=delphix 37 38# Common NFS client mount options 39export NFS_OPTIONS="-o rw,nosuid,bg,hard,rsize=1048576,wsize=1048576," 40NFS_OPTIONS+="nointr,timeo=600,proto=tcp,actimeo=0,port=2049" 41 42# illumos NFS client mount options 43# export NFS_OPTIONS="$NFS_OPTIONS,vers=3" 44 45# Linux NFS client mount options 46export NFS_OPTIONS="-t nfs $NFS_OPTIONS,noacl,nfsvers=3" 47