Command
Usage
1
createCartridge
Creates the specified number of cartridges with the specified
barcode and associated with the specified library.
Note: If you specify more cartridges than slots defined for
the library, this command only creates enough cartridges for
the slots available. That is, if your library has 100 slots and
you specify 125 total car tridges, this command creates 100
cartridges. Likewise, if 50 car tridges were already created
for this library, this command would create only 50 m ore
cartridges, even though 125 are specified by the command.
Where the options are:
-a <s> - Cartridge name (DLT, ...) (required)
-b <s> - Barcode prefix (required)
-c <n> - Capacity in gigabytes (required)
-i <n> - Barcode start index (required)
-l <s> - Library name (Library_0, ...) (required)
-n <n> - Number of cartridges (required)
-ov <n> - Oversubscribe (0 or 1) (required)
-u <n> - Barcode suffix length (required)
-y <n> - Cartridge t ype (2, ...) (required)
-h - Displays command usage information (optional)
getCartridges
Returns a li
st of the cartridges that have been created. All
cartridges have both a VLS filenam e (cartridge name) and a
barcode la
bel. This command returns the following cartridge
metadata:
• Storage po
ol the cartridge resides (SD_1_0)
• Cartridg
eVLSfilename
• Cartridg
e capacity (in GB)
• Consume
d capacity (in GB)
• Cartrid
ge type
• Timesta
mp value for when it was last loaded
• Whethe
r or not it is write-enabled (0) or write-protected (1)
• Librar
y to which it belongs
• Barco
de label
getCartsByLib
Returns a list of the cartridges associated with the specified
library. Where the options are:
-a <s> - Name of library (Library_0, ...) (required)
-h - Displays command usage information (optional)
HP StorageWorks
113