Whamcloud - gitweb
Create the mountpoints for the servers.
authorbrian <brian>
Sat, 17 Jun 2006 12:20:07 +0000 (12:20 +0000)
committerbrian <brian>
Sat, 17 Jun 2006 12:20:07 +0000 (12:20 +0000)
lustre/scripts/lustre_config.sh

index f03d620..01933e0 100755 (executable)
@@ -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