lsrep command
Purpose
Lists and displays information about the Virtual Media Repository.
Description
The lsrep command displays information about the Virtual Media Repository. The following information is displayed; the size of the repository and free space, parent storage pool, size and free space, and the name, size, associated virtual target device, and access state of all virtual optical media in the repository.
This command will provide full scripting support through the use of the -field and -fmt flags.
Flags
Flag name | Description |
---|---|
-field FieldName |
|
-fmt Delimiter | Specifies a delimiter character to separate output fields. |
Examples
- To display information about the Virtual Media repository and
all virtual media with the repository, type the following command:
The system displays output similar to the following:lsrep
SIZE(mb) FREE(mb) PARENT SIZE PARENT FREE 2039 299 18352 16304 Name File Size Optical Access clientCD 640 vtopt3 ro installDVD1 1000 vtopt16 rw installDVD2 100 None rw
- To display only the parent storage pool size, type the following
command:
lsrep -field "parent size" Parent Size 30624