From: brian Date: Sat, 17 Jun 2006 12:20:07 +0000 (+0000) Subject: Create the mountpoints for the servers. X-Git-Tag: v1_7_100~1^90~8^2~105 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=af0ef6c70482209a00faf6ef367e34a55867f8bc;p=fs%2Flustre-release.git Create the mountpoints for the servers. --- 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