
Usage
1
Command
Creates the specified number of cartridges with the specified barcode and associ-
ated 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 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 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)
-l <s>
- Library name (Library_0, ...) (required)
-n <n>
- Number of cartridges (required)
-ov <n>
- Oversubscribe (0 or 1) (required)
-s <s>
- Storage pool name (StoragePool_#) (optional)
-y <n>
- Cartridge type (2, ...) (required)
-h
- Displays command usage information (optional)
createCartridge
Returns a list of the cartridges that have been created. All cartridges have both a
VLS filename (cartridge name) and a barcode label. This command returns the
following cartridge metadata:
•
Storage pool the cartridge resides (SD_1_0)
•
Cartridge VLS filename
•
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
getCartridges
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)
getCartsByLib
Returns the cartridge metadata for the number of cartridges indicated having the
specified barcode. Where options are:
-b<s>
- Barcode prefix (required)
-i<n>
- Starting numeric value for the cartridges created with this template
(required)
-n <n>
- Ending numeric value for the cartridges to retrieve (required)
-h
- Displays command usage information (optional)
getCartsByBarcode
CLI Command Set
176
Summary of Contents for StorageWorks 12000
Page 14: ...14 ...
Page 102: ...Operation 102 ...
Page 110: ...User Interfaces 110 ...
Page 150: ...Management 150 ...
Page 168: ...Monitoring 168 ...
Page 198: ...Component Identification 198 ...
Page 222: ...Support and Other Resources 222 ...
Page 232: ...Troubleshooting 232 ...
Page 236: ...Specifications 236 ...
Page 244: ...Bulgarian Notice Czech Notice Danish Notice Dutch Notice Regulatory Compliance Notices 244 ...
Page 245: ...Estonian Notice Finnish Notice French Notice German Notice HP StorageWorks 245 ...
Page 246: ...Greek Notice Hungarian Notice Italian Notice Latvian Notice Regulatory Compliance Notices 246 ...
Page 247: ...Lithuanian Notice Polish Notice Portuguese Notice Romanian Notice HP StorageWorks 247 ...
Page 249: ...Battery Replacement Notices Dutch Battery Notice HP StorageWorks 249 ...
Page 250: ...French Battery Notice German Battery Notice Regulatory Compliance Notices 250 ...
Page 251: ...Italian Battery Notice Japanese Battery Notice HP StorageWorks 251 ...
Page 252: ...Spanish Battery Notice Regulatory Compliance Notices 252 ...