Operations with tapes
Listing tape libraries
-
Viewing the information about all tape libraries and stand-alone tape drives attached to the local machine. The output will be displayed in the raw format. Therefore, you will be able to see and use complete GUIDs of tape libraries.
acrocmd list tape_libraries --output=raw
-
Viewing the information about a tape device attached to the local machine.
acrocmd list tape_libraries --filter_name="hp MSL6060"
-
Viewing the information about all tape devices attached to a storage node.
acrocmd list tape_libraries --host=storage_node --credentials="ASN user",pass --service=asn
Listing tape slots
-
Viewing the information about slots of all tape libraries attached to the local machine.
acrocmd list tape_slots
-
Viewing the information about slots of a tape library attached to the local machine. The output will be displayed in the raw format. Therefore, you will be able to see and use complete GUIDs of tape library slots.
acrocmd list tape_slots --filter_library=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --output=raw
Inventorying tapes
-
Inventorying the tapes loaded into two tape devices. Since the
--mode
parameter is not specified, fast inventory will be performed.acrocmd inventory tape --libraries=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX1,XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX2
-
Full inventory of the tapes loaded into a tape device. The detected tapes will be moved from the Unrecognized tapes or Imported tapes pools to the Free tapes pool.
acrocmd inventory tape --libraries=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --mode=full --assign2free
-
Full inventory of the tapes loaded into three slots of a tape library.
acrocmd inventory tape --mode=full --libraries=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --slots=YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYY1,YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYY2,YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYY3
-
Combination of fast and full inventorying.
Full inventorying of an entire tape device may take a long time. If you need to inventory only a few tapes, combine fast and full inventorying.
-
Perform fast inventorying of the tape device:
acrocmd inventory tape --libraries=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
-
List tape slots of the tape device. Specify the
--output=raw
parameter to see complete GUIDs of tape slots.acrocmd list tape_slots --filter_library=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --output=raw
- In the command output, find the tapes you want to inventory and note which slots they occupy.
-
Perform full inventorying of these slots:
acrocmd inventory tape --mode=full --libraries=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --slots=YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYY1,YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYY2
-