fix for bug 3523175: use nfsv3 to mount the statelite directories

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-05-03 04:31:35 +00:00
parent f6460e219a
commit d77845f04e
3 changed files with 3 additions and 3 deletions

View File

@ -148,7 +148,7 @@ MountTrees () {
mkdir -p ${TREEMOUNT}/${SERV}/${MNT}
MAX=15
TRIES=1
while ! mount $SERV:$MNT ${TREEMOUNT}/${SERV}/${MNT} -r -n -o nolock,tcp
while ! mount $SERV:$MNT ${TREEMOUNT}/${SERV}/${MNT} -r -n -o nolock,tcp,nfsvers=3
do
if [ "$TRIES" = "$MAX" ]; then
echo "Can't mount $i. I give up.. ">/dev/console

View File

@ -148,7 +148,7 @@ MountTrees () {
mkdir -p ${TREEMOUNT}/${SERV}/${MNT}
MAX=15
TRIES=1
while ! mount $SERV:$MNT ${TREEMOUNT}/${SERV}/${MNT} -r -n -o nolock,tcp
while ! mount $SERV:$MNT ${TREEMOUNT}/${SERV}/${MNT} -r -n -o nolock,tcp,nfsvers=3
do
if [ "$TRIES" = "$MAX" ]; then
echo "Can't mount $i. I give up.. ">/dev/console

View File

@ -99,7 +99,7 @@ elif [ -r /rootimg-statelite.gz ]; then
MAXTRIES=5
ITER=0
if [ -z $MNTOPTS ]; then
MNT_OPTIONS="nolock,rsize=32768,tcp,timeo=14"
MNT_OPTIONS="nolock,rsize=32768,tcp,nfsvers=3,timeo=14"
else
MNT_OPTIONS=$MNTOPTS
fi