From 11f85c9c9e5ab06e53ebdf8f42fca8054850b1c9 Mon Sep 17 00:00:00 2001 From: Rajesh Battala Date: Wed, 15 May 2013 17:21:46 +0530 Subject: [PATCH] CLOUDSTACK-2398: ssvm-check.sh failed with permission error RPCbind service is running in the 4.2 systemVMs resulting in ssvm-check trying to write to the mountpoint. Avoid writing to the rpc_pipefs. Signed-off-by: Prasanna Santhanam --- services/secondary-storage/scripts/ssvm-check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/secondary-storage/scripts/ssvm-check.sh b/services/secondary-storage/scripts/ssvm-check.sh index a4011647f07..7b83c989218 100644 --- a/services/secondary-storage/scripts/ssvm-check.sh +++ b/services/secondary-storage/scripts/ssvm-check.sh @@ -67,12 +67,12 @@ fi # check to see if we have the NFS volume mounted echo ================================================ -mount|grep -v sunrpc|grep nfs 1> /dev/null 2>&1 +mount|grep -v sunrpc|grep -v rpc_pipefs|grep nfs 1> /dev/null 2>&1 if [ $? -eq 0 ] then echo "NFS is currently mounted" # check for write access - for MOUNTPT in `mount|grep -v sunrpc|grep nfs| awk '{print $3}'` + for MOUNTPT in `mount|grep -v sunrpc|grep -v rpc_pipefs|grep nfs| awk '{print $3}'` do if [ $MOUNTPT != "/proc/xen" ] # mounted by xen then