From af0ef6c70482209a00faf6ef367e34a55867f8bc Mon Sep 17 00:00:00 2001 From: brian Date: Sat, 17 Jun 2006 12:20:07 +0000 Subject: [PATCH] Create the mountpoints for the servers. --- lustre/scripts/lustre_config.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lustre/scripts/lustre_config.sh b/lustre/scripts/lustre_config.sh index f03d620..01933e0 100755 --- a/lustre/scripts/lustre_config.sh +++ b/lustre/scripts/lustre_config.sh @@ -1092,6 +1092,18 @@ mass_config() { return 1 fi + # create the mount point on the node + COMMAND="mkdir -p ${MOUNT_POINT[i]}" + verbose_output "Creating the mount point ${MOUNT_POINT[i]} on" \ + "${HOST_NAME[i]}" + ${REMOTE} ${HOST_NAME[i]} "${COMMAND}" >&2 + if [ $? -ne 0 ]; then + echo >&2 "`basename $0`: mass_config() error:"\ + "Failed to execute remote command to"\ + "create the mountpoint on ${HOST_NAME[i]}!" + return 1 + fi + if ! is_mgs_node ${HOST_NAME[i]}; then # Execute remote command to add lnet options lines to # modprobe.conf/modules.conf -- 1.8.3.1