- Sun Storage Virtual Tape Library VTL User Guide

Physical devices
96267 • G Appendix A VTL command line reference 209
Getphysicaltapelist
iscon getphysicaltapelist -s <server-name> [-u <username> -p <password>]
-l <physical-tape-library-vid> [-X <rpc-timeout>]
iscon getphysicaltapelist --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--plib-vid=<physical-tape-library-vid> [--rpc-timeout=<rpc-timeout>]
Description:
Thiscommanddisplaysali st ofphysicaltapeslocatedinthespecifiedphysicaltape
library.
l(‐‐plibvid)istheIDofthephysicaltapelibrary.
X(‐‐rpctimeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwill
retrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis300seconds.
Movephysicaltape
iscon movephysicaltape -s <server-name> [-u <username> -p <password>]
-m <move-operation> -L <physical-tape-library-vid>
-B <physical-tape-barcode> | -l <from-location-id> -t <to-location-id>
[-X <rpc-timeout>]
iscon movephysicaltape --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--move-operation=<move-operation> --tape-library-vid=<physical-tape-library-
vid>
--physical-tape-barcode=<barcode> | --from-location-id=<from-location-id>
--to-location-id=<to-location-id> [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d movesaphysicaltapetoanewlocation.
m(‐‐moveoperation)isoneofthefollowingoperations:
DriveToSlot
SlotToSlot
SlotToDrive
IESlotToSlot
SlotToIESlot
L(‐‐tapelibraryvid)isthephysical libraryvirtualIDwherethetapeislocated.