Command line equivalents of xvmadm -> robots ->use inventory to update volume configuration: "show robot contents", "compare contents with volume configuration" and "update volume configuration".
http://seer.support.veritas.com/docs/182967.htm
Details:
The command line equivalent of "show robot contents" is:
/usr/openv/volmgr/bin/vmcheckxxx -rt tsd -rn 0 -rh trout -vmhost trout -list
After the -rt argument place the name of the robot type ( robot_type is one of: acs, odl, tc4, tc8, tl4, tl8, tld, tlh, tlm, ts8, tsd, tsh).
After the -rn argument place the robot index number.
After the -rh argument place the name of the media server that is the robot host.
After the -vmhost argument place the name of the volume database host, which should be the name of the master server.
In the above example trout is the name of the media server and also the name of the master server.
The robot command line equivalent of "compare contents to volume configuration" is:
/usr/openv/volmgr/bin/vmcheckxxx -rt tsd -r 0 -rh trout -vmhost trout
The command line equivalent of "update volume configuration " for robots that use barcodes is:
/vmupdate -x -rn 0 -rt tsd -rh trout -vh trout -interactive -use_barcode_rules
After the -vh arguement place the name of the volume database host, which should be the name of the master server.
In the above example trout is the name of the media server that is the robot host and it is also the name of the volume database host/master server.
The command line equivalent of "update volume configuration " for robots that do not use use barcodes is:
/vmupdate -x -rn 0 -rt tsd -rh trout -vh trout -interactive -use_barcode_rules -use_seed