From f386741c7c96e42d2d8e5e7662e8281304874ae1 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Fri, 30 Mar 2012 09:16:42 +0000 Subject: [PATCH] Fixing bug 3497120: Not to disable nsddevices by default git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12075 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../share/xcat/IBMhpc/gpfs/gpfs_updates | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/gpfs/gpfs_updates b/xCAT-IBMhpc/share/xcat/IBMhpc/gpfs/gpfs_updates index 3d7499b16..e7ffdbfc8 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/gpfs/gpfs_updates +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/gpfs/gpfs_updates @@ -32,26 +32,26 @@ fi OS=`uname` -# Create an empty nsddevices script for GPFS -# This assumes that the node is NOT an NSD server -if [ $OS == "AIX" ]; then - # Create the script on the node - mkdir -p $installroot/var/mmfs/etc - echo 'return 0' > $installroot/var/mmfs/etc/nsddevices - chmod 744 $installroot/var/mmfs/etc/nsddevices -else # assume Linux - if [ $NODESETSTATE == "genimage" ]; then - # Create the script in the image - mkdir -p $installroot/var/mmfs/etc - echo 'return 0' > $installroot/var/mmfs/etc/nsddevices - chmod 744 $installroot/var/mmfs/etc/nsddevices - else - # Create the script on the node - mkdir -p /var/mmfs/etc - echo 'return 0' > /var/mmfs/etc/nsddevices - chmod 744 /var/mmfs/etc/nsddevices - fi -fi +## Create an empty nsddevices script for GPFS +## This assumes that the node is NOT an NSD server +#if [ $OS == "AIX" ]; then +# # Create the script on the node +# mkdir -p $installroot/var/mmfs/etc +# echo 'return 0' > $installroot/var/mmfs/etc/nsddevices +# chmod 744 $installroot/var/mmfs/etc/nsddevices +#else # assume Linux +# if [ $NODESETSTATE == "genimage" ]; then +# # Create the script in the image +# mkdir -p $installroot/var/mmfs/etc +# echo 'return 0' > $installroot/var/mmfs/etc/nsddevices +# chmod 744 $installroot/var/mmfs/etc/nsddevices +# else +# # Create the script on the node +# mkdir -p /var/mmfs/etc +# echo 'return 0' > /var/mmfs/etc/nsddevices +# chmod 744 /var/mmfs/etc/nsddevices +# fi +#fi # Add GPFS path to profile