Wednesday, January 30, 2008

Netbackup learnings #1

The following command is to make sure all media servers assigned to the storage unit are valid and accessible:

bash# /usr/openv/netbackup/bin/admincmd/bpstulist -U

Label: host1-dlt3-robot-tld-0
Storage
Unit Type: Media Manager

Host Connection: host1

Number of Drives: 1

On Demand Only: no

Max MPX/drive: 1

Density: dlt3 - DLT Cartridge 3

Robot Type/Number: TLD / 0

Max Fragment Size: 2000 MB



The following command is to list the device information:

bash# /usr/openv/volmgr/bin/vmglob -listall



To list the currently defined drives and robots:

bash# /usr/openv/volmgr/bin/tpconfig -l or /usr/openv/volmgr/bin/tpconfig -dl



To Up or Down a drive:

bash# /usr/openv/volmgr/bin/vmoprcmd[–up|–down]


To Scan the tape devices:
bash# /usr/openv/volmgr/bin/sgscan tape
/dev/sg/c0t4l1: (/dev/rmt/0): "QUANTUM SuperDLT1"
/dev/sg/c0t4l2: (/dev/rmt/1): "QUANTUM SuperDLT1"


Check on status of drives, tapes in drives/load port/slots:

bash# /usr/openv/volmgr/bin/robtest

The s command is to show something

The slots are "s s #" or "s s" to see them all


The Drives are "s d" The load port is "s i"

The m command is to move a tape


Move from drive to slot is "m d1 s20"


Move from load port to slot is "m i1 s100"


Move from slot to drive is "m s300 d2"


You can also unload a tape if there is a problem with "unload d4"


If the lib has just gone online, you can do a mode command

You can get firmware versions with inquiry command


Do not stay in robtest too long as the move requests could queue while you have control of the robot.

0 Comments:

Post a Comment

<< Home