EasyManuals Logo
Home>HP>Software>Data Protector A.06.11

HP Data Protector A.06.11 User Manual

HP Data Protector A.06.11
180 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #153 background imageLoading...
Page #153 background image
UNIX: mount.sh
#!/sbin/sh
THIS=${0}USER=${1} # unix login of user who started the backup
GROUP=${2} # unix group of user who started the backup
HOSTNAME=${3} # host where the backup was started
STARTPID=${4} # pid of the backup process
DEVNAME=${5} # logical device that generated mount request
DEVHOST=${6} # host to which the device is attached
DEVFILE=${7} # pathname of the physical device
DEVCLASS=${8} # device type number
DEVCLASSNAME=${9} # device type name
shift 9;
MEDID=${1} # medium id of the reqested medium
MEDLABEL=${2} # label of the requested medium
MEDLOC=${3} # location of the requested medium
POOLNAME=${4} # pool name to which requested medium belongs
POLICY=${5} # media allocation policy
MEDCLASS=${6} # media type number
MEDCLASSNAME=${7} # media type name
SESSIONKEY=${8} # sessionkey of the running session
MOSERVER="motestserver"
CELLSERVER="dptestserver"
MOUSER="test"
MOPWD="test"
JAVACMD="/opt/java/bin/java"
RCTMOUNT_JAR="/opt/omni/bin/reactivemount.jar"
INFO=/tmp/media_info
if [ "X${MEDID}" != "X" ]
then
/opt/omni/bin/omnimm -media_info ${MEDID} -detail >${INFO}
type=`grep "type" ${INFO} | awk '{print $4}'`
if [ "X${type}" = "XHASCOPY" ]
then
echo "The Medium has the following copies:" >${INFO}
/opt/omni/bin/omnimm -list_copy ${MEDID} >>${INFO}
cat $INFO | sed 's/Medium Label/LABEL/'|\
sed 's/MediumID/ID/'|\
sed 's/Pool Name/POOL/' >${INFO}.tmp
else
echo "" >${INFO}.tmp
fi
fi
echo "
User guide 153

Table of Contents

Other manuals for HP Data Protector A.06.11

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP Data Protector A.06.11 and is the answer not in the manual?

HP Data Protector A.06.11 Specifications

General IconGeneral
BrandHP
ModelData Protector A.06.11
CategorySoftware
LanguageEnglish

Related product manuals