#!/bin/ksh #******************************************************************************* #*** IDENTIFICATION *** #******************************************************************************* # # Name: S85vxvm-rdac # Title: "Enable" Script for RDAC Devices Under VxVM # Version: # Revision: # Update Date: # Programmer: rmj # Documents: # # COPYRIGHT 1996, Symbios Logic Inc. # # Description: # This script makes sure that RDAC devices under control of VxVM get # started. This is necessary because, in the case of having disk groups # on non-array disks, as well as some that ARE on array disks, it # appears that S85vxvm-startup2 does not get the RDAC devices started. # #******************************************************************************* PATH=/usr/lib/vxvm/bin:/sbin:/usr/sbin:/usr/bin VXCONFIGD_ALIVE=`ps -ef | /usr/bin/grep vxconfigd 2>/dev/null | /usr/bin/grep -v grep 2>/dev/null` if [ -n "${VXCONFIGD_ALIVE}" ] then vxdctl enable 2>/dev/null vxreattach 2>/dev/null vxrecover -n -s 2>/dev/null fi