存储 频道

整理的一些nbu命令及用法(5.0)(五)

Tpconfig
   配置磁带命令
C:\Program Files\VERITAS\Volmgr\bin>tpconfig
Usage:
(Display device configuration)
   tpconfig -d
   tpconfig -dl
   tpconfig -l
   tpconfig -lsavdbhost

(Add drive)
   tpconfig -add -drive -type <drvtype> -path <drivepath>
            [-asciiname <asciidrvname>] [-index <drvindex>] [-shared [yes|no]]
            [-cleanfreq <hours>] [-comment <comment>] [-drstatus [UP|DOWN]]
            [-robot <robnum> -robtype <robtype>] [-noverify]
            [-robdrnum <robdrvnum> | -VendorDrvName <vendor_drive_name>]
            [-ACS <acsnum> -LSM <lsmnum> -PANEL <panelnum> -DRIVE <drivenum>]

(Update drive)
   tpconfig -update -drive <drvindex>
            [-type <drvtype>] [-path <drivepath>] [-noverify]
            [-newasciiname <asciidrvname>] [-shared [yes|no]]
            [-cleanfreq <hours>] [-comment <comment>] [-drstatus [UP|DOWN]]
            [-robot <robnum> -robtype <robtype>]
            [-robdrnum <robdrvnum> | -VendorDrvName <vendor_drive_name>]
            [-ACS <acsnum> -LSM <lsmnum> -PANEL <panelnum> -DRIVE <drivenum>]

(Delete drive)
   tpconfig -delete -drive <drvindex>
   tpconfig -multiple_delete -drive <drvindex1>:<drvindex2>:<drvindexN>

(Add robot)
   tpconfig -add -robot <robnum> -robtype <robtype> -robpath <changername>
            [-vdbhost <volume_database_host>]
   tpconfig -add -robot <robnum> -robtype <robtype>
            -port <portnum> -bus <busnum> -target <targetnum> -lun <lun>
            [-vdbhost <volume_database_host>]
   tpconfig -add -robot <robnum> -robtype <robtype> -cntlhost <cntlhost>
            [-vdbhost <volume_database_host>]

(Update robot)
   tpconfig -update -robot <robnum>
            [-robtype <robtype>] [-robpath <changername> |
            -port <portnum> -bus <busnum> -target <targetnum> -lun <lun> |
            -cntlhost <cntlhost>] [-vdbhost <volume_database_host>]

(Delete robot)
   tpconfig -delete -robot <robnum>
   tpconfig -multiple_delete -robot <robnum1>:<robnum2>:<robnumN>

(Update standalone drive volume database host)
   tpconfig -savdbhost <standalone_drive_volume_database_host>

<drvtype> can be one of the following:
       "4mm", for 4mm tape drives
       "8mm", for 8mm tape drives
       "8mm2", for 8mm tape drives (2)
       "8mm3", for 8mm tape drives (3)
       "dlt", for DLT tape drives
       "dlt2", for DLT tape drives (2)
       "dlt3", for DLT tape drives (3)
       "hcart", for half-inch tape drives
       "hcart2", for half-inch tape drives (2)
       "hcart3", for half-inch tape drives (3)
       "qscsi", for quarter-inch tape drives

<drivepath> is the system's name for the drive.
       "Tape0" for example

<robtype> can be one of the following:
       "acs", for Automated Cartridge System robotic libraries
       "rsm", for Removable Storage Manager robotic libraries
       "tl4", for Tape Library 4mm robotic libraries
       "tl8", for Tape Library 8mm robotic libraries
       "tld", for Tape Library DLT robotic libraries
       "tlh", for Tape Library Half-inch robotic libraries
       "tlm", for Tape Library Multimedia robotic libraries
       "ts8", for Tape Stacker 8mm robotic libraries
       "tsd", for Tape Stacker DLT robotic libraries

0
相关文章