Lines Matching refs:POUNDER_LOGLOCAL
47 #$POUNDER_LOGLOCAL
50 #$POUNDER_LOGDIR or $POUNDER_LOGLOCAL/$DATE
53 IS_MOUNTED=`grep "$POUNDER_LOGLOCAL " /proc/mounts | wc -l`
55 echo "Log directory already mounted on $POUNDER_LOGLOCAL"
60 mkdir -p "$POUNDER_LOGLOCAL/"
61 if [ ! -d "$POUNDER_LOGLOCAL/" ]; then
62 echo "Cannot create $POUNDER_LOGLOCAL/."
67 mount "$NFS_LOGSERVER:$NFS_LOGDIR/" "$POUNDER_LOGLOCAL/" -t nfs -o tcp
71 echo "Mounting $NFS_LOGSERVER:$NFS_LOGDIR/ on $POUNDER_LOGLOCAL/ failed; logs will be local."
76 mkdir -p "$POUNDER_LOGLOCAL/$NFS_LOGLOCAL/"
77 if [ ! -d "$POUNDER_LOGLOCAL/$NFS_LOGLOCAL/" ]; then
78 echo "Cannot create local log dir on log server $POUNDER_LOGLOCAL/$NFS_LOGLOCAL/; logs will be local."
79 umount "$POUNDER_LOGLOCAL/"
84 umount "$POUNDER_LOGLOCAL/"
85 mount "$NFS_LOGSERVER:$NFS_LOGDIR/$NFS_LOGLOCAL/" "$POUNDER_LOGLOCAL/" -t nfs -o tcp
89 echo "Mounting $NFS_LOGSERVER:$NFS_LOGDIR/$NFS_LOGLOCAL on $POUNDER_LOGLOCAL/ failed; logs will be local."