vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| AIX 5.1 ML07 GPFS 2.2 I have tried to have nim resources ( lpp-source and spot ) to be on a gpfs filesystem. In a first approach i failed because only filesystem types 0 and 3 ( jfs and jfs2 ) are supported. To get around this limitation i wrote a wrapper script for # /usr/lpp/bos.sysmgt/nim/methods/c_stat which checks for valid filesystem types. So i moved c_stat to c_stat.bin and created a script c_stat I have not done pretty much testing so its more for a testing environment. If somebody does has also experience with nim and gpfs i would like to hear about regards Hajo cat c_stat #!/usr/bin/ksh set -x if echo "$@" | grep -q "vfstype=" ; then # If "-a vfstype=..." is supplied we will add "8" to it to support gpfs for i in "$@" ; do cmdoption=$cmdoption" "$(echo "$i" | /bin/sed 's/vfstype=.*/& 8/'|\ sed 's/^/"/'| sed 's/$/"/' ) done else if echo "$@" | grep -q "\-a *mode=" ; then # If on the command line is something like: -a mode= then we will do nothing cmdoption=$@ else # else we add: -a vfstype="0 3 8" cmdoption=$@' -a vfstype="0 3 8"' fi fi eval /usr/lpp/bos.sysmgt/nim/methods/c_stat.bin $cmdoption exit $? |