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

B.1.19 getcapacity Command

NAME

getcapacity - Displays information about the capacity of physical disks


SYNOPSIS

[Solaris OS/Linux OS]
Case of VS900 Model 200
/opt/FJSVssmgr/sbin/vscmcmd getcapacity [-s switch-name1,switch-name2 ] [-d]
/opt/FJSVssmgr/sbin/vscmcmd getcapacity -h
Other case of VS900 Model 200
/opt/FJSVssmgr/sbin/vscmcmd getcapacity [-s "switch-name1(host-name1)","switch-name2(host-name2)"] [-d]
/opt/FJSVssmgr/sbin/vscmcmd getcapacity -h
[Windows OS]
Case of VS900 Model 200
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getcapacity [-s switch-name1,switch-name2] [-d]
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getcapacity -h
Other case of VS900 Model 200
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getcapacity
                             [-s "switch-name1(host-name1)","switch-name2(host-name2)"] [-d]
$INS_DIR\Manager\opt\FJSVssmgr\sbin\vscmcmd.exe getcapacity -h

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


DESCRIPTION

This command displays information about the capacity of the physical disks that can be recognized from the specified virtualization switches.

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


OPTIONS

-s switch-name1[,switch-name2[,...]]
or "switch-name1(host-name1)"[,"switch-name1(host-name2)"[,...]]]

Specify the names of the virtualization switches.

For the VS900 Model 200, specify the virtualization switch name.

For virtualization switches other than the VS900 Model 200, specify “virtualization switch name (host name)” enclosed in double quotation marks.

If this option is omitted, a list of information about the capacities of all of the physical disks that can be recognized from all of the virtualization switches registered on the admin server is displayed.

-d

This option displays information in CSV format.

-h

Indicates how to use the command.


EXAMPLES

Displaying information about the capacities of the physical disks that can be recognized from all virtualization switches.

# /opt/FJSVssmgr/sbin/vscmcmd getcapacity
Switch Name: switch001(vsce1),switch001(vsce2)
StorageName   Total   Unregistered VirtualStoragePoolName Registered Assigned
E2000_DB1    50,000         40,000 POOL001                   100,000        0
E2000_DB2   100,000         20,000 POOL002                    80,000   40,000
E4000_DB1   200,000         10,000 POOL003                   190,000  180,000

Switch Name: switch002(vsce3),switch002(vsce4)
StorageName   Total   Unregistered VirtualStoragePoolName Registered Assigned
E8000_DB1   500,000        100,000 POOL001                   400,000  300,000
Command terminated normally.

Displaying information about the capacities of the physical disks that can be recognized from all virtualization switches in CSV format.

# /opt/FJSVssmgr/sbin/vscmcmd getcapacity -d
"SwitchName","StorageName","Total","Unregistered","VirtualStoragePoolName","Registered","Assigned"
"switch001(vsce1),switch001(vsce2)","E2000_DB1","50,000","40,000","POOL001","100,000","0"
"switch001(vsce1),switch001(vsce2)","E2000_DB2","100,000","20,000","POOL002","80,000","40,000"
"switch001(vsce1),switch001(vsce2)","E4000_DB1","200,000","10,000","POOL003","190,000","180,000"
"switch002(vsce3),switch001(vsce4)","E8000_DB1","500,000","100,000","POOL001","400,000","300,000"
Command terminated normally.

Displaying information about the capacity of the physical disks that can be recognized from the specified virtualization switches.

# /opt/FJSVssmgr/sbin/vscmcmd getcapacity -s "switch001(vsce1)","switch001(vsce2)"
Switch Name: switch001(vsce1),switch001(vsce2)
StorageName   Total   Unregistered VirtualStoragePoolName Registered Assigned
E2000_DB1    50,000         40,000 POOL001                   100,000        0
E2000_DB2   100,000         20,000 POOL002                    80,000   40,000
E4000_DB1   200,000         10,000 POOL003                   190,000  180,000
Command terminated normally.

Displaying information about the capacities of the physical disks that can be recognized from the specified virtualization switch in CSV format.

# /opt/FJSVssmgr/sbin/vscmcmd getcapacity -s "switch001(vsce1)","switch001(vsce2)" -d
"SwitchName","StorageName","Total","Unregistered","VirtualStoragePoolName","Registered","Assigned"
"switch001(vsce1),switch001(vsce2)","E2000_DB1","50,000","40,000","POOL001","100,000","0"
"switch001(vsce1),switch001(vsce2)","E2000_DB2","100,000","20,000","POOL002","80,000","40,000"
"switch001(vsce1),switch001(vsce2)","E4000_DB1","200,000","10,000","POOL003","190,000","180,000"
Command terminated normally.

Table B.6 Display items for the getcapacity command and their meanings

Display item

Meaning

SwitchName

The names of the virtualization switches that can be recognized from physical disks (followed by the host names in parentheses)

StorageName

The names of the disk] devices where the physical disks that can be recognized from the virtualization switches are located

Total

The total capacity (in MB) of the physical disks that can be recognized from each virtualization switch

Unregistered

The total capacity (in MB) of the physical disks that have not been registered in a virtual storage pool

VirtualStoragePoolName

The names of the virtual storage pools

If no physical disks have been registered with a virtual storage pool, a hyphen (“-”) is displayed.

Registered

The total capacity (in MB) of the physical disks that have been registered with the virtual storage pool

If no physical disks have been registered with a virtual storage pool, a hyphen (“-”) is displayed.

Assigned

The total capacity (in MB) of the physical disks that have been allocated to virtual disks

If no physical disks have been registered with a virtual storage pool, a hyphen (“-”) is displayed.


EXIT STATUS

0: Displaying the capacities of the physical disks has terminated normally.

1: Displaying the capacities of the physical disks has terminated abnormally.


SEE ALSO

B.1.15 getvp Command, B.1.1 createvp Command, B.1.3 registlv Command, B.1.9 createvd Command