From: Michael Vrable Date: Fri, 26 Feb 2010 01:19:26 +0000 (-0800) Subject: Explicitly mount NFS using version 3 in microbenchmarks. X-Git-Url: http://git.vrable.net/?p=bluesky.git;a=commitdiff_plain;h=4540b5b4a664faa0cdac04b61a2e336dc5cadf94 Explicitly mount NFS using version 3 in microbenchmarks. We only support version 3, so ask for that when mounting. This can prevent problems in mounting in some cases, so we don't return the proper error messages when a client asks for a version we don't support. --- diff --git a/microbench/run.sh b/microbench/run.sh index 8bae1c2..8b0856d 100755 --- a/microbench/run.sh +++ b/microbench/run.sh @@ -18,7 +18,7 @@ run_setup() { $NFSD & NFSPID=$! sleep 0.5 - sudo mount -t nfs -o tcp,hard,intr localhost:/bluesky /mnt/bluesky || die "Mounting NFS" + sudo mount -t nfs -o tcp,hard,intr,vers=3 localhost:/bluesky /mnt/bluesky || die "Mounting NFS" } run_cleanup() {