NAME
stgxfwcmdispdev - displays the Device information
SYNOPSIS
/opt/FJSVswstf/bin/stgxfwcmdispdev -n Server-Name [-d Device-Name [-sm|-grp]]
DESCRIPTION
This command displays information on a device being managed by AdvancedCopy Manager. The list of devices which use the same copy area as the specified device, the specified device itself, and the devices which exist in the same logical group can be displayed.
It is necessary to execute this command on the Management Server.
The following contents are displayed. Note that "SDX" or "SDX object" in the table are SynfinityDISK or PRIMECLUSTER Global Disk Services (GDS) terms.
Title | Description |
---|---|
S | The status of each device is indicated. The following is displayed according to the device status: * : Device not set up (The AdvancedCopy license setting may be undefined, cache table size may be unspecified, or the cache table may be too small in the box containing this device.) |
Device |
|
Block-Device |
|
Mount-Point |
|
File-System | A file system name is displayed. |
Device-Type | A device type is displayed. |
Size(MB) | The capacity (in megabytes) allocated to a device is displayed. |
OPTIONS
Specify the server name that manages the device whose information is to be displayed.
Specify the device name whose information is to be displayed.
If this option is omitted, the information for all devices managed by the specified server is displayed.
With the -d option also specified, this option specifies that a list of the devices using the same copy area as the specified device be displayed.
The list of the devices which exist in the same logical group as a specified device is displayed by specifying it simultaneously with the -d option. The device type of the specified device can be specified with the d option only for LVM/VxVM.
EXIT STATUS
=0: Completed successfully
>0: Terminated abnormally
EXAMPLES
The information for a device of a server is displayed:
# /opt/FJSVswstf/bin/stgxfwcmdispdev -n Server1 -d /dev/sdl0 S Device Block-Device Mount-Point File-System Device-Type Size(MB) /dev/sdl0 /dev/sdl0 /zzz ext2 Normal 407 #
The information for each device of a server is displayed:
# /opt/FJSVswstf/bin/stgxfwcmdispdev -n Server1 S Device Block-Device Mount-Point File-System Device-Type Size(MB) /dev/sdl0 /dev/sdl0 /boot ext2 Normal 141 /dev/sdu0 /dev/sdu0 --- --- Normal 407 * /dev/sdu1 /dev/sdu1 --- --- Normal 407 /dev/sdu2 /dev/sdu2 --- --- Normal 28 D /dev/sfdsk/Class2/rdsk/Vol201 /dev/sfdsk/Class2/dsk/Vol201 /ACMMnt/Vol201 ext3 SDX 304 /dev/sfdsk/Class2/rdsk/Vol202 /dev/sfdsk/Class2/dsk/Vol202 /ACMMnt/Vol202 ext3 SDX 400 U /dev/sfdsk/Class2/rdsk/Vol203 /dev/sfdsk/Class2/dsk/Vol203 /ACMMnt/Vol203 ext3 SDX 512 /dev/sfdsk/Class2/rdsk/Vol204 /dev/sfdsk/Class2/dsk/Vol204 /ACMMnt/Vol204 ext3 SDX 608 #
Device of the server is displayed and device information which uses the same copy area is displayed:
# /opt/FJSVswstf/bin/stgxfwcmdispdev -n Server1 -d /dev/vx/rdsk/dg1/vol1 -sm Device Mount-Point /dev/vx/rdsk/dg1/vol1 /storagedata /dev/vx/rdsk/dg1/vol2 --- /dev/vx/rdsk/dg1/vol3 /zzz #
Device information which exists in the same logical group as device of the server is displayed:
# /opt/FJSVswstf/bin/stgxfwcmdispdev -n Server1 -d /dev/vx/rdsk/dg1/vol1 -grp Device Mount-Point /dev/vx/rdmp/c1t0d0s2 --- /dev/vx/rdmp/c1t0d1s2 --- /dev/vx/rdsk/dg1/vol1 /storagedata /dev/vx/rdsk/dg1/vol2 --- /dev/vx/rdsk/dg1/vol3 /zzz /dev/vx/rdsk/dg1/vol4 --- #
NOTES
The command displays the above details based on information registered in AdvancedCopy Manager. Therefore, when the configuration has been changed and there is a device not registered in a logical group, and it is registered afterwards, the correct information is not displayed. In this case, please re-attempt the acquisition of device information about the registration of the device that was not previously registered, and the device which does the "Acquisition/reflection of information on all devices" processing.
This command can be executed only by root users.
Please perform the command in the location specified at the time of product installation.
When processing takes a long time, a period (.) is displayed until it is complete.