vincent's Blog

一個無聊的網路雜工的紀錄!!

source: http://seer.entsupport.symantec.com/docs/274063.htm

Robtest is in the path: veritas\volmgr\bin\robtest.exe


init - Initialize element status
initrange [#]- Init element status range
allow - Allow media removal
prevent - Prevent media removal
extend - Extend media access port
retract - Retract media access port
mode - Mode sense
m - Move medium
pos - Position to drive or slot
s [dpts [n]] [raw] - Read element status
inquiry - Display vendor and product ID
rezero - Rezero unit
inport - Ready inport (media access port)
debug - Toggle debug mode for this utility
test_ready - Send a TEST UNIT READY to the device

specifies drive (d#), slot (s#), media access port (p#), or transport (t#)
is drive #, slot #, media access port #, or transport #
[#] is number of elements for d, s, p, or t

NOTE:drive # is 1 - Number of drives
slot # is 1 - Number of slots
media access port # is 1 - Number of media access port elements
transport # is 1 - Number of transports
unload - Issue SCSI unload
= d1 or 1, d2 or 2, d3 or 3 ... d648 or 648

Examples:
s d - status of all drives
s d1 - status of drive 1
s s - status of all slots
s s1 - status of slot 1
s p - status of all "media access port" slots
s t - status the transport (gripper assembly)
m s1 d1 - will move the contents of slot 1 into drive 1.
unload d1 - will rewind the tape in the drive and will release the read/write head
m d1 s1 - will move the tape from drive 1 into slot 1
init - will initialize the library. Should end with "Initialize_Element_Status_Complete"
mode - will list information about the library i.e. existence of barcode reader, number of MAP ports, etc...
debug - this will put the robtest session into "debug mode." Retype "debug" to turn debug mode off. Once in debug mode, type "dm" to print a list of Extended Robot Attributes which can sometimes be useful for troubleshooting.

Important note:
All robtest commands use the OS configuration except for the UNLOAD command. This uses the NetBackup configuration. The easiest way to see if the OS and NetBackup see the drives in the same way is to move a tape into a drive (for example, drive 1). Then, look into NetBackup's device monitor and see what drive number NetBackup sees the tape in. If other than drive 1, change the Robot Drive Number of the drive in the NetBackup Media and Device Manager configuration to match what robotic drive number robtest shows the tape in.

You will need to complete this step for every drive in the configuration.

0 意見

張貼留言

Categories

追蹤者

Change Language

Your Source