From 4a3676c987d740b3459e1109e0a2788a35ecf117 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Fri, 13 Apr 2012 06:10:32 +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/branches/2.7@12233 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 9d12ea3f7..5ce3feb0c 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/gpfs/gpfs_updates +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/gpfs/gpfs_updates @@ -69,26 +69,26 @@ if [ $OS != "AIX" ]; then 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 +## 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