- Sun Storage Virtual Tape Library VTL User Guide

Automated tape caching
96267 • G Appendix A VTL command line reference 193
Reclaimdiskspace
iscon reclaimtapes -s <server-name> [-u <username> -p <password>]
-T <tape-vid-list> [-X <rpc-timeout>]
iscon reclaimtapes --server-name=<server-name>
[--server-username=<username> --server-password=<password>]
--tape-vid-list=<tape-vid-list> [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d reclaimsthediskspaceoccupiedbythespecifiedmigratedvirtual
tapes.
T(‐‐tapevidlist)isrequiredtospecifytheIDofthevirtualtapestobereclaimed,
separatedwithcommas.
X(‐‐rpctimeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountoftime
specifiedif theserverdoesnotrespond.ThedefaultRPCtimeoutis300seconds.
Renewcache
iscon renewcache -s <server-name> [-u <username> -p <password>]
-v <vdevid> [-M <metadata>] [-k <key-name> -W <key-password>] [-I <ACSL>] [-n
<vdevname>] [-g <#(GB)>] [-X <rpc-timeout>]
iscon renewcache --server-name=<server-name>
[--server-username=<username> --server-password=<password>] [--import-
mode=<metadata>] [--key-name=<key-name> --key-password=<key-password>] [--
scsiaddress=<ACSL>]
[--vdevname=<vdevname>] [--size-gb=<#(GB)>] [--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d convertsavirtualstubtape intoavirtualcachetape .
v(‐‐vdevid)isrequiredtospecifytheIDofthevirtualstubtape.
M(‐‐importmode)isanoptiontospecifythatthehe ad erareashould becopied
fromthephysicaltapetothenewvirtualtape
cache.Thevalueofthisoptionmust
be:metadata.
k(‐‐keyname)and‐W(‐‐ke ypassword)areoptionsfortapeencryptionsupport.If
thetapetoberenewedwasencryptedthroughthesystem,youneedtosp ec ify the
keynameandthekeypasswordoftheencryptionkey
todecryptthedata.
Thefollowingpropertiesofthevirtualcach etapecanbese t iftheʺMʺoptionisnot
specified: