1 #!/bin/sh 2 3 #-------------------------------------------------------------------------# 4 # Script to release ownership of a DiskSuite "metaset" (shared disks) # 5 # Provided as a tool to be called from 'stophasrv' # 6 # Specify the name of the metaset as the only argument # 7 # Be durn sure that you have released all filesystems/disk things # 8 # before calling this in stophasrv # 9 # # 10 # Standard UNIX status: returns 0 on okay, non-0 on fail. # 11 #-------------------------------------------------------------------------# 12 13 14 PATH=$PATH:/usr/sbin 15 16 if [ "$1" = "" ] ; then 17 error ERROR: no metaset specified 18 exit 1 19 fi 20 21 metaset -s $1 -r 22