
Command
Usage
1
createCartridge
Creates the speci
fi
ed number of cartridges with the speci
fi
ed
barcode and associated with the speci
fi
ed library.
Note: If you specify more cartridges than slots de
fi
ned 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 cartridges, this command creates 100
cartridges. Likewise, if 50 cartridges were already created
for this library, this command would create only 50 more
cartridges, even though 125 are speci
fi
ed by the command.
Where the options are:
-a
<s>
- Cartridge name (DLT, ...) (required)
-b
<s>
- Barcode pre
fi
x (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 suf
fi
x length (required)
-y
<n>
- Cartridge type (2, ...) (required)
-h
- Displays command usage information (optional)
getCartridges
Returns a list of the cartridges that have been created. All
cartridges have both a VLS
fi
lename (cartridge name) and a
barcode label. This command returns the following cartridge
metadata:
•
Storage pool the cartridge resides (SD_1_0)
•
Cartridge VLS
fi
lename
•
Cartridge capacity (in GB)
•
Consumed capacity (in GB)
•
Cartridge type
•
Timestamp value for when it was last loaded
•
Whether or not it is write-enabled (0) or write-protected (1)
•
Library to which it belongs
•
Barcode label
getCartsByLib
Returns a list of the cartridges associated with the speci
fi
ed
library. Where the options are:
-a
<s>
- Name of library (Library_0, ...) (required)
-h
- Displays command usage information (optional)
HP StorageWorks
113
Summary of Contents for StorageWorks 300
Page 18: ...18 Introduction ...
Page 50: ...50 Operation ...
Page 60: ...60 User interfaces ...
Page 86: ...86 Configuration ...
Page 98: ...98 Management ...
Page 118: ...1 18 CLI command set ...
Page 128: ...128 Component identification ...
Page 142: ...142 Component replacement ...
Page 150: ...150 Troubleshooting ...
Page 161: ...Latvian notice Lithuanian notice Polish notice HP StorageWorks 161 ...
Page 170: ...170 Specifications ...
Page 176: ...176 Glossary ...