From 4540b5b4a664faa0cdac04b61a2e336dc5cadf94 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Thu, 25 Feb 2010 17:19:26 -0800 Subject: [PATCH] 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. --- microbench/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.20.1