subscribe iconSubscribe to this information

lssp command

Purpose

Lists and displays information about storage pools.

Syntax

List all available storage pools

lssp [ -type PoolType [-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 and the type of pool is displayed. If the -type flag is specified only storage pools of the indicated type are 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.

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 backing devices
type
Type of pool
The following fields are supported if the -detail flag is specified for a logical volume pool:
pvname
Name of the physical volume.
pvid
Physical volume identifier
size
The size of the physical volume.
The following fields are supported if the -detail flag is specified for a file pool:
name
Name of the parent storage pool.
The following fields are supported if the -bd flag is specified:
bdname
Backing device name.
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 detailed information about the storage pool.
-sp StoragePool Specifies which storage pool to display information about.
-type PoolType Specifies the type of pool to list. The following fields are supported:
lvpool
List only logical volume pools.
fbpool
List only file pools.

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 Type       
    PRODClient           30624      28576              32      0 LVPOOL     
    rootvg               30656      14208              64      0 LVPOOL     
    DEVClient            18352      18352              16      0 LVPOOL     
    PRODClient_FBP        1016        985              32      3 FBPOOL     
    PRODClient_FBP2       1016       1005              32      1 FBPOOL
  2. To display the default storage pool, type:
    lssp -default
  3. To display detailed information about the logical volume 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 logical volume 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

Last updated: Fri, Oct 30, 2009