- 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(‐‐source‐vdevid)isrequired tospecifytheIDofthevirtualtapetobecopied
from.
‐S(‐‐target‐name)isrequiredtospecifythetargetservernamewheretheremote
tapecopywillbecreatedandcopiedto.
‐U(‐‐target‐username)
and‐P(‐‐target‐password)areoptionalforconnectionand
logintothetarget serverifthetargetserverwasnotloggedinwithlogincommand.
‐L<tap e‐library‐vid>and‐D<tap e ‐drive‐vid>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(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountof time
specifiediftheserverdoesnotrespond.ThedefaultRPCtime outis30seconds.
Settapeduplication
iscon setvirtuallibrarytapeduplication -s <server-name> [-u <username> -p
<password>]