lsrep command
Purpose
Lists and displays information about the Virtual Media Repository.
Syntax
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 provides full scripting support by using the -field and -fmt flags.
Flags
| Flag name | Description |
|---|---|
| -field FieldName |
|
| -fmt Delimiter | Specifies a delimiter character to separate output fields. |
| -verbose | Lists additional information of the files in the DVD repository. |
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:lsrepSIZE(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 - To list additional information of the files in the DVD repository, type the following
command:
$ lsrep -verbose Name=image1,File Size=1021,Optical=vtopt1,Access=rw,Target Image=image1,State=Active Name=link1,File Size=0,Optical=None,Access=vtopt2,Target Image=/mnt/db_2342D4_aix73F_Thu.iso,State=Active Name=link2,File Size=0,Optical=None,Access=NA,Target Image=/my_mount/db_2342D2_aix73D_Thu.iso,State=InActive