lssp Command

Purpose

Lists and displays information about storage pools.

Syntax

List all available storage pools

lssp [-field Fieldname ] [ -fmt Delimiter ]

Display information about a specific storage pool

lssp -detail | -bd [-sp StoragePool] [-field Fieldname ] [ -fmt Delimiter ]

Display the default storage pool

lssp -default

Description

The lssp command displays information about storage pools in the Virtual I/O Server. If no flags are specified, a list of all defined storage pools, their total size, free space, minimum allocation size, and number of backing devices contained in the pool is displayed. If the -detail flag is specified, detailed information about the storage pool is displayed. If the -bd flag is specified, a list of all the backing devices in the specified (or default) storage pool is displayed along with their size and associated virtual target device, or None, and virtual host adapter, or None. If the -default flag is specified, the default storage pool is displayed.

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

If the storage pool specified is not prefixed with sp_, the lssp command will automatically add it. If rootvg is specified, no prefix is added.

Flags

-default Displays the default storage pool.
-field FieldName The following fields are supported if no flags are specified:

pool
Storage pool name
size
Total size
free
Free space
alloc
Minimum allocation size
bds
Number of physical volumes
lvs
Number of backing devices

The following fields are supported if the -detail flag is specified:

pvname
Name of the physical volume.
pvid
Physical volume identifier
size
The size of the physical volume.

The following fields are supported if the -bd flag is specified:

bdname
Logical partition number.
size
The size of the logical volume.
vtd
Virtual target device.
svsa
Server virtual SCSI adapter.
-fmt Delimiter Specifies a delimiter character to separate output fields.
-bd Displays information about the backing devices in the storage pool.
-detail Displays information about the physical volumes in the storage pool.
-sp StoragePool Specifies which storage pool to display information about.

Examples

  1. To list all storage pools, type:
    lssp
    The system displays output similar to the following:
    POOL            SIZE(mb)   FREE(mb)   ALLOC SIZE(mb)  BDs
    sp_test         34624      34624      32              1
    rootvg          34688      17024      64              1
  2. To display the default storage pool, type:
    lssp -default
  3. To display detailed information about the storage pool sp_sp00, type:
    lssp -detail -sp sp_sp00
    The system will display output similar to the following:
    NAME            PVID                                SIZE(megabytes)
    hdisk3          00cdfd8c85bd4b2e                    34624
    hdisk2          00cdfd8c525d94a2                    34624
  4. To display information about the backing devices in the storage pool rootvg, type:
    lssp -bd -sp rootvg
    The system displays output similar to the following:
    NAME            SIZE(megabytes) VTD             SVSA
    lv01            96              vtscsi1         vhost0
    lv02            64              vtscsi2         vhost0 

Send feedback |  Rate this page