PRIMEQUEST System Disk Mirror for Windows User's Guide V1.0
Contents PreviousNext

Chapter 2 Setup

2.1 Mirroring

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).


  1. Opening the command prompt

    Select [start]-[All Programs]-[Accessories]-[Command Prompt] to open Command Prompt.


  2. 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.

    To check the disk number, space, and partition configuration, use any one of the following methods.

    1. Windows "Disk Management"

      To use "Disk Management," select [start]-[Control Panel]-[Administrative Tools]-[Computer Management]-[Disk Management].


    2. 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        *


    3. 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."


  3. 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."


  4. 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 PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2008