lsrep command

Purpose

Lists and displays information about the Virtual Media Repository.

Syntax

lsrep [-field Fieldname] [-fmt Delimiter ]

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
size
Total Size
free
Free space
parent pool
Parent storage pool name
parent size
Parent storage pool size
parent free
Parent storage pool free space
name
Number of backing device file
file size
Backing device file size
optical
Virtual Target Device off the virtual optical device media is loaded in
access
Media access, read-only (ro) or read-write (rw)
-fmt Delimiter Specifies a delimiter character to separate output fields.

Examples

  1. To display information about the Virtual Media repository and all virtual media with the repository, type the following command:
    lsrep
    The system displays output similar to the following:
    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 
  2. To display only the parent storage pool size, type the following command:
    lsrep -field "parent size"
    
    Parent Size
            30624



Last updated: Wed, November 18, 2020