Top
ETERNUS SF Storage Cruiser 14.0 User's Guidefor Virtual Storage Conductor

B.1.15 getvp Command

NAME

getvp - Displays information about a virtual storage pool


SYNOPSIS

[Solaris OS/Linux OS]
/opt/FJSVssmgr/sbin/vscmcmd getvp [-a [-d]]
/opt/FJSVssmgr/sbin/vscmcmd getvp -p virtual-storage-pool-name -m {real | virtual} [-a [-d]]
/opt/FJSVssmgr/sbin/vscmcmd getvp -h
[Windows OS]
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getvp [-a [-d]]
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getvp -p virtual-storage-pool-name -m {real | virtual} [-a [-d]]
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getvp -h

($INS_DIR means "Program Directory" specified at the Manager installation.)


DESCRIPTION

This command displays information about virtual storage pools.

Information can be displayed in three ways, as follows.

  1. Displaying a list of virtual storage pools.

  2. Displaying information about the physical disks that have been registered with a specified virtual storage pool.

  3. Displaying information about the virtual disks that have not been allocated to the virtual targets in the specified virtual storage pool.

Execute this command as the administrator for the operating system (that is, with “Administrator” or “root” privileges).


OPTIONS

-p virtual-storage-pool-name

Specify the name of the virtual storage pool.

-m {real | virtual}

real : This option displays information about the physical disks that have been registered with the specified virtual storage pool.

virtual : This option displays information about the virtual disks that have not been allocated to the virtual targets in the specified virtual storage pool.

-a

This option displays detailed information.

-d

This option displays information in CSV format.

If this option is specified, the -a option must be specified.

-h

Indicates how to use the command.


EXAMPLES

Displaying a list of virtual storage pools.

# /opt/FJSVssmgr/sbin/vscmcmd getvp
VirtualStoragePoolName SwitchName
POOL001                switch001(vsce1),switch001(vsce2)
POOL002                switch002(vsce3),switch002(vsce4)
POOL003                switch003(vsce5),switch003(vsce6)
Command terminated normally.

Displaying a list of virtual storage pools, with detailed information about each virtual storage pool.

# /opt/FJSVssmgr/sbin/vscmcmd getvp -a
VirtualStoragePoolName Type    SwitchName
POOL001                virtual switch001(vsce1),switch001(vsce2)
POOL002                virtual switch002(vsce3),switch002(vsce4)
POOL003                virtual switch003(vsce5),switch003(vsce6)
Command terminated normally.

Displaying a detailed list of virtual storage pools in CSV format.

# /opt/FJSVssmgr/sbin/vscmcmd getvp -a -d
"VirtualStoragePoolName","Type","SwitchName"
"POOL001","virtual","switch001(vsce1),switch001(vsce2)"
"POOL002","virtual","switch002(vsce3),switch002(vsce4)"
"POOL003","virtual","switch003(vsce5),switch003(vsce6)"
Command terminated normally.

Displaying information about the physical disks that have been registered with the specified virtual storage pool (POOL001).

# /opt/FJSVssmgr/sbin/vscmcmd getvp -p POOL001 -m real
PhysicalDiskName StorageName         LogicalVolume WWPN:LUN
POOL001R00001    E2000_DB            0x0001        210000e000a80382:1,210000e000a80383:1
POOL001R00002    E2000_DB            0x0002        210000e000a80382:2,210000e000a80383:2
POOL001R00003    E2000_DB            0x0003        210000e000a80382:3,210000e000a80383:3
Command terminated normally.

Displaying detailed information about the physical disks that have been registered with the specified virtual storage pool (POOL001).

# /opt/FJSVssmgr/sbin/vscmcmd getvp -p POOL001 -m real -a
PhysicalDiskName StorageName         LogicalVolume RaidLevel Encryption DiskType WWPN:LUN
POOL001R00001    E2000_DB            0x0001        5         Encryption Online   210000e000a80382:1,210000e000a80383:1
POOL001R00002    E2000_DB            0x0002        5         Encryption Online   210000e000a80382:2,210000e000a80383:2
POOL001R00003    E2000_DB            0x0003        5         Encryption Online   210000e000a80382:3,210000e000a80383:3
Command terminated normally.

Displaying detailed information about the physical disks that have been registered with the specified virtual storage pool (POOL001) in CSV format.

# /opt/FJSVssmgr/sbin/vscmcmd getvp -p POOL001 -m real -a -d
"PhysicalDiskName", StorageName","LogicalVolume","RaidLevel","Encryption","DiskType","WWPN:LUN"
"POOL001R00001","E2000_DB","0x0001","5","Encryption","Online","210000e000a80382:1,210000e000a80383:1"
"POOL001R00002","E2000_DB","0x0002","5","Encryption","Online","210000e000a80382:2,210000e000a80383:2"
"POOL001R00003","E2000_DB","0x0003","5","Encryption","Online","210000e000a80382:3,210000e000a80383:3"
Command terminated normally.

Displaying information about the virtual disks that have not been allocated to the virtual targets in the specified virtual storage pool.

# /opt/FJSVssmgr/sbin/vscmcmd getvp -p POOL001 -m virtual
VirtualDiskName Capacity(MB) BackUp
VDISK001                1024 No
VDISK002                2048 No
VDISK003                 512 No
Command terminated normally.

Displaying detailed information about the virtual disks that have not been allocated to the virtual targets in the specified virtual storage pool.

# /opt/FJSVssmgr/sbin/vscmcmd getvp -p POOL001 -m virtual -a
VirtualDiskName Encryption DiskType Capacity(MB) BackUp
VDISK001        Encryption Online           1024 No
VDISK002        Encryption Online           2048 No
VDISK003        Encryption Online            512 No
Command terminated normally.

Displaying detailed information about the virtual disks that have not been allocated to the virtual targets in the specified virtual storage pool in CSV format.

# /opt/FJSVssmgr/sbin/vscmcmd getvp -p POOL001 -m virtual -a -d
"VirtualDiskName","Encryption","DiskType","Capacity(MB)","BackUp"
"VDISK001","Encryption","Online","1024","No"
"VDISK002","Encryption","Online","2048","No"
"VDISK003","Encryption","Online","512","No"
Command terminated normally.

Table B.2 Display items for the getvp command and their meanings

Display item

Displayed when the -a option is not specified

Meaning

VirtualStoragePoolName

Yes

The names of the virtual storage pools

Type

No

”virtual” is always displayed

SwitchName

Yes

The names of the virtualization switches registered with each virtual storage pool (followed by the host names in parentheses)

PhysicalDiskName

Yes

The names of the physical disks that have been registered with the virtual storage pool

StorageName

Yes

The storage devices where the physical disks are located

LogicalVolume

Yes

The disk device numbers for the physical disks

RaidLevel

No

The RAID levels (1+0,1,5,6,0) for the physical disks or virtual disks

Encryption

No

The encryption attribute for the physical disks or virtual disks (encrypted/unencrypted)

DiskType

No

The disk type for the physical disks or virtual disks (online/nearline)

WWPN:LUN

Yes

The WWPNs and LUN numbers of the physical disks

VirtualDiskName

Yes

The name of the virtual disk that has been registered with the virtual virtual storage pool

Capacity(MB)

Yes

The capacity of the virtual disks

BackUp

Yes

A flag indicating whether disks hold a backup
Yes: The disk holds a backup
No: The disk does not hold a backup


EXIT STATUS

0: Displaying information about the virtual storage pool has terminated normally.

1: Displaying information about the virtual storage pool has terminated abnormally.


SEE ALSO

B.1.1 createvp Command, B.1.2 deletevp Command