- do_nodes $NFS_CLIENTS "mkdir -p $MNTPNT" || return 1
- if [ "$NFS_VER" = "4" ]; then
- do_nodes $NFS_CLIENTS \
- "mount -t nfs$NFS_VER -o async $LUSTRE_CLIENT:/ $MNTPNT" || return 1
- else
- do_nodes $NFS_CLIENTS \
- "mount -t nfs -o nfsvers=$NFS_VER,async \
- $LUSTRE_CLIENT:$MNTPNT $MNTPNT" || return 1
- fi
- return 0
+ do_nodes $NFS_CLIENTS "mkdir -p $nfs_climntpt" || return 1
+ if [ "$NFS_VER" = "4" ]; then
+ do_nodes $NFS_CLIENTS \
+ "mount -t nfs$NFS_VER -o async \
+ $LUSTRE_CLIENT:/ $nfs_climntpt" || return 1
+ else
+ do_nodes $NFS_CLIENTS \
+ "mount -t nfs -o nfsvers=$NFS_VER,async \
+ $LUSTRE_CLIENT:$MNTPNT $nfs_climntpt" || return 1
+ fi
+ return 0