lsvopt command

Purpose

Lists and displays information about the systems virtual optical devices.

Syntax

lsvopt [ -vtd VirtualTargetDevice] [-field Fieldnames] [-fmt Delimiter]

Description

The lsvopt command displays information about file backed virtual optical devices in the Virtual I/O Server. If no flags are specified, a list of all defined file backed virtual optical devices, loaded media, and the size of the media is displayed. If the -vtd flag is specified, the media loaded and its size is displayed for the given virtual target device.

This command will provide full scripting support through the use of the -field and -fmt flags.

Flags

Flag name Description
-vtd Specifies the Virtual target device of the file backed virtual optical media
-field FieldName The following fields are supported if no flags are specified:
vtd
Virtual target device of file backed virtual optical device
media
File name of loaded media or No Media
size
Size of loaded media or n/a
-fmt Delimiter Specifies a delimiter character to separate output fields.

Examples

To display information about all file backed virtual optical devices in the Virtual I/O Server, type the following command:
lsvopt
The system displays output similar to the following:
VTD             Media                                   Size(mb)
testopt         No Media                                     n/a
vtopt2          No Media                                     n/a
vtopt3          clientCD                                     640
vtopt4          No Media                                     n/a
vtopt5          No Media                                     n/a
vtopt6          No Media                                     n/a
vtopt7          No Media                                     n/a
vtopt8          No Media                                     n/a
vtopt9          No Media                                     n/a
vtopt10         No Media                                     n/a
vtopt11         No Media                                     n/a
vtopt12         No Media                                     n/a
vtopt13         clientCD                                     640
vtopt14         No Media                                     n/a
vtopt15         No Media                                     n/a
vtopt16         installDVD1                                 1000
vtopt17         installDVD2                                  100



Last updated: Wed, November 18, 2020