PRIMEQUEST System Disk Mirror for Windows User's Guide V1.0 |
Contents
![]() ![]() |
Appendix A Command Reference |
sdxinfo - Disk configuration and status viewing
sdxinfo [-DG] [-e long]
sdxinfo -P
sdxinfo {-h | /?}
The sdxinfo command displays the configuration and status of disks.
To use this command, you must be a user with administrator privileges (a user of the Administrators group).
The following primary options can be set. By default, mirror disk information and mirror group information are displayed.
Information displayed in response to the sdxinfo command is explained below.
For pieces of information not displayed for some reason, a question mark (?) is displayed.
This information is displayed by default or if the -D option is set.
This information is displayed by default or with the -D option if the -e long option is set.
This information is displayed by default or if the -G option is set.
This information is displayed by default or with the -G option if the -e long option is set.
This information is displayed if the -P option is set.
0 : Normal end
1 : Abnormal end (indicating that the error is not a temporary error and the command will fail even if it is retried after a while)
2 : Abnormal end (indicating that the error is a temporary error and the command may succeed if it is retried after a while)
3 : Abnormal end (indicating that an option was specified incorrectly)
Execute the following command immediately after this command ends to get the exit code.
> echo %ERRORLEVEL% |
View information about mirror disks and mirror groups.
> sdxinfo OBJ NAME TYPE GROUP DEVNAM DEVBLKS STATUS ---- ------ ------ ------- ------ ------------ ------- disk Disk0 mirror Group0 0 35291136 VALID disk Disk1 mirror Group0 1 35291136 COPY OBJ NAME DISKS BLKS SPARE JRM ----- ------- --------------------------- ------------ ----- --- group Group0 Disk0:Disk1 35291136 0 on |
View information about mirror disks.
> sdxinfo -D OBJ NAME TYPE GROUP DEVNAM DEVBLKS STATUS ---- ------ ------ ------- ------ ------------ ------- disk Disk0 mirror Group0 0 35291136 VALID disk Disk1 mirror Group0 1 35291136 COPY |
View information about mirror groups.
> sdxinfo -G OBJ NAME DISKS BLKS SPARE JRM ----- ------- --------------------------- ------------ ----- --- group Group0 Disk0:Disk1 35291136 0 on |
View information about physical disks.
> sdxinfo -P OBJ NAME BLOCKS STATUS DKNAME LOCATION ------ ---- ------------ ------- ------ --------------------------------------- device 0 35291136 VALID Disk0 IOU#0-HDD#0 device 1 35291136 * * IOU#0-HDD#1 |
View detailed information about mirror groups.
> sdxinfo -G -e long OBJ NAME DISKS BLKS SPARE JRM TYPE COPY RATE CURBLKS COPYBLKS DLY ----- ------- --------------------------- ------------ ----- --- ------ ---- ---- ------------ ------------ ---- group Group0 Disk0:Disk1 35291136 0 on mirror run 2 705823 34766848 0 |
If an error occurs during the sdxinfo command process, error messages may be output in the middle of information display. Disk configurations and states are output to the standard output and error messages are output to the standard error output. Therefore, for convenience, you can specify that error messages are output together at the beginning or at the end or are not output at all using the following methods.
Example 1) Display error messages together at the beginning.
> sdxinfo 1> out1 2> out2 & type out2 & type out1 & del out1 out2
Alternatively, specify as follows.
> sdxinfo > out1 & type out1 & del out1
Example 2) Display error messages together at the end.
> sdxinfo 1> out1 2> out2 & type out1 & type out2 & del out1 out2
Alternatively, specify as follows.
> sdxinfo 2> out2 & type out2 & del out2
Example 3) Skip displaying error messages.
> sdxinfo 2> NUL
For more information on the redirect operator (>), the type command, the del command, and the NUL device, see the Windows Help.
Contents
![]() ![]() |