PRIMEQUEST System Disk Mirror for Windows User's Guide V1.0 |
Contents
![]() ![]() |
Chapter 2 Setup |
This section explains how to set the mirroring configuration.
To set up mirroring, you must be a user with administrator privileges (a user of the Administrators group).
Opening the command prompt
Select [start]-[All Programs]-[Accessories]-[Command Prompt] to open Command Prompt.
Checking the mirrored disks
Check the disk numbers, space, partition configuration of the mirror source and mirror destination disks.
Disks to be mirrored must meet the following conditions.
The disk is not a disk connected to a SAN.
The disk partition table is in GPT format.
The disk is a basic disk.
At the end of the disk, there is contiguous free space for the reserved partition (which is a 256 MB disk partition that stores mirroring management information).
The number of disk partitions on the mirror source disk is nine or less.
Mirror source disk space and mirror destination disk space are equal.
The mirror destination disk contains no partition.
The mirror source disk and the mirror destination disk belong to the same I/O unit or the same expansion file unit.
To check the disk number, space, and partition configuration, use any one of the following methods.
Windows "Disk Management"
To use "Disk Management," select [start]-[Control Panel]-[Administrative Tools]-[Computer Management]-[Disk Management].
The diskpart command's list disk command
> diskpart DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- --------------- ------- ------- --- --- Disk 0 Online 68 GB 256 MB * Disk 1 Online 68 GB 256 MB * |
The sdxinfo -P command
Check the NAME field for the disk number, the BLOCKS field for the space, and the LOCATION field for the location.
> sdxinfo -P OBJ NAME BLOCKS STATUS DKNAME LOCATION ------ ---- ------------ ------- ------ --------------------------------------- device 0 35291136 * * IOU#0-HDD#0 device 1 35291136 * * IOU#0-HDD#1 |
For details on the sdxinfo command, see "sdxinfo - Disk configuration and status viewing."
Setting up mirroring
With the sdxsysdisk -M command, set up mirroring.
Before performing this procedure, exit "Disk Management" or the diskpart command if it is active.
Example: The mirror source disk number is 0 and the mirror destination disk number is 1.
> sdxsysdisk -M -p 0:keep,1:undef |
Specify ":keep" after the mirror source disk number and ":undef" after the mirror destination disk number.
For details on the sdxsysdisk command, see "sdxsysdisk - Mirroring and unmirroring."
Confirming the mirroring state
If mirroring is set up, a mirror group is created and the mirror source disk and the mirror destination disk are registered with the mirror group. Next, synchronization copying from the mirror source disk to the mirror destination disk is performed. When the synchronization copying is in execution, the copy destination disk is in COPY status.
Example: The mirror source disk number is 0 and the disk name is Disk0, the mirror destination disk number is 1 and the disk name is Disk1, and the mirror group name is Group0.
> sdxinfo -D OBJ NAME TYPE GROUP DEVNAM DEVBLKS STATUS ---- ------ ------ ------- ------ ------------ ------- disk Disk0 mirror Group0 0 35291136 VALID disk Disk1 mirror Group0 1 35291136 COPY |
The synchronization copying progress (%) is shown in the RATE field in the sdxinfo -G -e long command output. When the synchronization copying is completed, the RATE field comes to display an asterisk (*).
> 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 |
When the synchronization copying is ended normally, all the disks in the mirror group will be in VALID status.
> sdxinfo -D OBJ NAME TYPE GROUP DEVNAM DEVBLKS STATUS ---- ------ ------ ------- ------ ------------ ------- disk Disk0 mirror Group0 0 35291136 VALID disk Disk1 mirror Group0 1 35291136 VALID |
For details on the sdxinfo command, see "sdxinfo - Disk configuration and status viewing."
Contents
![]() ![]() |