The following tape library commands can be used only for a tape library.
ca_devmgr [-cahost <host>]
-cherase <adapter #> <changer scsi ID> <changer lun> [<slot #> [q|qz|qw|l] ...] or -cherase <adapter #> <changer scsi ID> <changer lun> SLOT_RANGE <slot range> [q|qz|qw|l]
-chformat <changer adapter#> <changer scsi ID> <changer lun> SLOT <slot#> <tape name> [<mm/dd/yy[yy]>|def [<serial no.> ]] MEDIAPOOL [<mediapool name>] SLOT <slot#> <tape name> [<mm/dd/yy[yy]>|def [<serial no.>]] MEDIAPOOL [<mediapool name>] ...]
-load <changer adapter #> <changer scsi ID> <changer lun> <drive adapter #> <drive scsi ID> <drive lun> <slot #>
-unload <changer adapter #> <changer scsi ID> <changer lun> <drive adapter #> <drive scsi ID> <drive lun>
-mount <changer adapter #> <changer scsi ID> <changer lun> <beg. slot> <end slot> [q|l]
-dismount <changer adapter #> <changer scsi ID> <changer lun> <beg. slot> <end slot>
-ieinfo <changer adapter #> <changer scsi ID> <changer lun>
-import <changer adapter #> <changer scsi ID> <changer lun> <slot #> [<slot #> ...]
-export <changer adapter #> <changer scsi ID> <changer lun> <slot #> [<slot #> ...]
-clean <changer adapter #> <changer scsi ID> <changer lun> <drive adapter #> <drive scsi ID> <drive lun>
-importall <changer adapter #> <changer scsi ID> <changer lun>
-lockcas <DeviceNo> <Mode>
-lockcas_ex <AdapterNo> <scsiID> <Lun> <Mode>
Erases a single tape or multiple tapes in a tape library.
When used with the -force option, erases all data on specified media, regardless of whether it is in a Save Set or Scratch Set.
The adapter number, changer SCSI ID, changer lun, and slot are required.
Options include:
Alternatively, enter ca_devmgr -cherase [groupname] slot # [q|qz|qw|l] [,slot # [q|qz|qw|l] ,...] to erase the tape using just the group name and the slot number.
Note: The "," in the examples is not a switch. It is there only to show you how to specify multiple slots to be erased.
Formats a single tape or multiple tapes in a tape library.
When used with the -force option, formats the specified media, regardless of whether it is in a Save Set or Scratch Set.
The changer adapter number, changer SCSI ID, changer SCSI LUN, and group name are required, as are the word SLOT, the slot number where the tape to be formatted is located, and the tape name. The mm/dd/yyyy (the expiration date) is optional.
The def switch (default expiration date) cannot be used with the expiration date. (The "|" between the expiration date and the default expiration date indicates you must choose one or the other.) The serial number is optional. The 3 "." at the end means that you can specify more slot numbers.
Alternatively, you can enter ca_devmgr -chformat [SLOT <slot#> <tape name> [<mm/dd/yy[yy]>|def [<serial no.>]].
The changer format can use the the slot number and the tape name. The expiration date and the serial number are optional, the rest is required. The word SLOT must be used before each slot number you specify.
Loads a tape from a specified slot into a tape drive.
The changer adapter number, changer SCSI ID, changer lun, drive adapter number, drive SCSI ID, drive lun, and slot number are required.
Unloads a tape from a tape drive and returns it in the specified slot.
The changer adapter number, changer SCSI ID, changer lun, and the slot number are required.
Performs an inventory of your entire tape library.
If your tape library does not have a bar code reader, Arcserve Backup puts all the tapes into the tape drive and reads them. If your tape library does have a bar code reader, you can specify whether to obtain the information from the database or have Arcserve Backup read in all the tapes. The changer adapter number, changer SCSI ID, changer lun, beginning slot, and end slot are required.
The beginning and end slots can be any slot number, as long as the slots conform to the group you are mounting. The end slot cannot be smaller than the beginning slot. The q (quick mount) or l (long mount) options are optional. Quick mount is the default for tape libraries with bar code readers.
If your tape library has a bar code reader, it obtains the information from the Arcserve Backup database. Long mount forces Arcserve Backup to put each tape into the tape drive and read the information on it. If your tape library has no bar code reader, the q switch is disabled, and each tape must be read in by the tape drive.
Dismounts the slots in the specified group within the range provided in the options, and renames all slots to "Dismounted Slot".
Unless Arcserve Backup is restarted or a mount command is issued to the dismounted group, no other command can be issued to the dismounted slots. The changer adapter number, changer SCSI ID, changer lun, beginning slot, and end slot are required.
Displays information on the import/export slot of the library, including whether or not it is full and, if full, the barcode number of the tape in the slot.
The changer adapter number, changer SCSI ID, and the changer lun are all required.
Takes a tape from the import/export slot of the tape library and places it into its destination slot.
If your tape library has a bar code reader enabled, the information is taken from the database, and the tape is not read in by the drive.
If your tape library does not have a bar code reader, it places the tape into the drive to be read.
The changer adapter number, changer SCSI ID, changer lun, and slot number are required. The only optional switch is the extra slot # .... for tape libraries with more than one import/export slot. You can import multiple tapes at the same time. If your tape library has only one import/export slot, you can only import one tape at a time.
Takes a tape from a slot in the tape library and puts it in the import/export slot.
The changer adapter number, changer SCSI ID, changer lun, and the slot number are required. The slot #... is to export multiple tapes. This can only be done if your tape library has more than one import/export slot.
Takes a cleaning tape (if one is installed in the tape library), puts it into the specified drive, and cleans the tape drive.
The changer adapter number, changer SCSI ID, changer lun, tape drive adapter number, tape drive SCSI ID, and tape drive lun are required.
Manually imports each tape found in the library's mail slots into the first available storage slots in the library. Using this argument ca_devmgr does not inventory the media based on bar codes.
Use this argument when you want to import tapes from the mail slot, but do not need the tapes to go to specific storage slots.
When there is not enough library slots for all the tapes in the mail slots, a message "Not enough empty slots to import all the tapes!" displays after all the empty library slots are filled.
The changer adapter number, changer SCSI ID, and changer lun are required.
The DeviceNo is the number for the changer device, Mode=0, device is unlocked, Mode=1, device locked.
The AdapterNo is the board number where the changer device is attached to, and for the other parameters which are self-explanatory.
Copyright © 2017 |
|