- Sun Storage Virtual Tape Library VTL User Guide

Virtual devices / Clients
186 VTL User Guide May 2008 G • 96267
Tapecopy
iscon tapecopy -s <server-name> [-u <username> -p <password>]
-v <source-vdevid> -S <target-name> [-U <target-username> -P <target-
password>]
[-L <tape-library-vid> | -D <tape-drive-vid>] [-n <vdevname>] [-f]
[-X <rpc-timeout>]
iscon tapecopy --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--source-vdevid=<source-vdevid> --target-name=<target-name>
[--target-username=<target-username> --target-password=<target-password>]
[--tape-library-vid=<tape-library-vid> | --tape-drive-vid=<tape-drive-vid>]
[--vdevname=<vdevname>] [--force] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d copiesatape.
v(‐‐sourcevdevid)isrequired tospecifytheIDofthevirtualtapetobecopied
from.
S(‐‐targetname)isrequiredtospecifythetargetservernamewheretheremote
tapecopywillbecreatedandcopiedto.
U(‐‐targetusername)
and‐P(‐‐targetpassword)areoptionalforconnectionand
logintothetarget serverifthetargetserverwasnotloggedinwithlogincommand.
L<tap elibraryvid>and‐D<tap e drivevid>areoptionstomovethetapecopyto
thevirtualtape libraryorvirtualtapedrive
whenthecopyiscompleted.
n(‐‐vdevname)isanoptiontospecifythevirtualtapenameofthetape copy.The
maximumlengthofthevirtualdevicenameis64.Leadingandtrailingspaceswill
beremoved.Enclosethenameindoublequotes.Thefollowingcharactersareinvalid
for
thename:<>ʺ&$/\ʹ
Adefaultnamewiththeprimar yserverandsourcevirtual tapenamewillbe
generated ifitisnotspecified.
f(‐‐force)optionisrequiredwhenthetapeisscheduledtobedeleted.Thedeletion
schedu leforthevirtualtapewillberemovedandthereplication
willbeconfigured.
X(‐‐rpctimeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountof time
specifiediftheserverdoesnotrespond.ThedefaultRPCtime outis30seconds.
Settapeduplication
iscon setvirtuallibrarytapeduplication -s <server-name> [-u <username> -p
<password>]