Lines Matching refs:NFS_SERVER
40 NFS_SERVER=""
68 h) NFS_SERVER=$OPTARG ;;
75 if [ -z "$NFS_SERVER" ]
101 ping -c 2 -w 15 $NFS_SERVER >/dev/null 2>&1
104 echo "FAILED: ping $NFS_SERVER failed"
108 rsh -n -l root $NFS_SERVER "ls -l /etc" >/dev/null 2>&1
111 echo "FAILED: rsh -n -l root $NFS_SERVER "ls -l /etc" failed"
115 rsh -n -l root $NFS_SERVER "rpm -q -a | grep $FS_TYPE" | grep $FS_TYPE >/dev/null 2>&1
118 rsh -n -l root $NFS_SERVER "grep $FS_TYPE /etc/filesystems" | grep $FS_TYPE >/dev/null 2>&1
121 rsh -n -l root $NFS_SERVER "grep $FS_TYPE /proc/filesystems" | grep $FS_TYPE >/dev/null 2>&1
124 echo "FAILED: $FS_TYPE package is not installed or loaded on $NFS_SERVER"
133 rsh -n -l root $NFS_SERVER "/sbin/mkfs -t $FS_TYPE -f $REM_DISK_PART --format 3.6 >/dev/null 2>&1"
142 rsh -n -l root $NFS_SERVER "/sbin/mkfs -t $FS_TYPE $QUIETFLAG $REM_DISK_PART >/dev/null 2>&1"
145 echo "FAILED: Could not /sbin/mkfs -t $FS_TYPE $REM_DISK_PART on $NFS_SERVER"
150 rsh -n -l root $NFS_SERVER "mkdir -p -m 777 $MNT_POINT"
153 echo "FAILED: Could not mkdir -p -m 777 $MNT_POINT on $NFS_SERVER"
157 rsh -n -l root $NFS_SERVER "mount -t $FS_TYPE $REM_DISK_PART $MNT_POINT"
164 rsh -n -l root $NFS_SERVER "chmod 777 $MNT_POINT"
167 echo "FAILED: Could not chmod 777 $MNT_POINT on $NFS_SERVER"
171 rsh -n -l root $NFS_SERVER "/usr/sbin/exportfs -i -o no_root_squash,rw *:$MNT_POINT"
174 rsh -n -l root $NFS_SERVER "umount $MNT_POINT"
175 rsh -n -l root $NFS_SERVER "rm -rf $MNT_POINT"
184 mount -t nfs $NFS_SERVER:$MNT_POINT $MNT_POINT
204 rsh -n -l root $NFS_SERVER "/usr/sbin/exportfs -u :$MNT_POINT"
205 rsh -n -l root $NFS_SERVER "umount $MNT_POINT"
206 rsh -n -l root $NFS_SERVER "rm -rf $MNT_POINT"