Top
ETERNUS SF AdvancedCopy Manager V16.1 Operation Guide
FUJITSU Storage

12.4.2 Troubleshooting

The following figure shows the troubleshooting flow when a hardware or similar fault occurs.

Figure 12.3 Troubleshooting Flow (When Fault Occurs During Replication)

Reference ahead 1: 12.4.2.1 Hardware Error on Replication Volume
Reference ahead 2: 12.4.2.2 Troubleshooting If Bad Sector Occurred in Copy Source Volume
Reference ahead 3: 12.4.2.3 Troubleshooting When Lack of Free Space Has Occurred in Snap Data Volume or Snap Data Pool
Reference ahead 4: 12.4.2.4 Error (halt) on Remote Copy Processing

Note

  • Refer to "12.4.1 Overview" for details of the Status column and "Fault location".

    If the Status column is "?????", check if the copy processing is in the error suspend status ("failed") or the hardware suspend status ("halt") using ETERNUS Web GUI.
    If the copy processing is in either of these states, take the action indicated in the above troubleshooting flow.
    In other cases, take the action checked in the following points.

    • If device information is unusual:

      Restore the device information.

    • If a device is not accessible:

      Check if the device exists.

    • If there is anything unusual with Managed Server, switches, etc.:

      Contact Fujitsu Technical Support.

  • Use ETERNUS Web GUI to check the error codes. Use the following two methods to check.

    • Checking with the swsrpstat command

      Execute the command with the -O option.

    • Checking with ETERNUS Web GUI

      1. On the [Display status] menu, click [Advanced Copy status display] in the status display.

      2. At "Session status", click the "Number of active sessions" link for the relevant copy type.

      3. Refer to the value in the "Error code" column of the relevant copy process.

    The following table shows the meanings of the error codes.

    Table 12.8 Meanings of Error Codes

    Error Code

    Meaning

    0xBA

    If a) or b) below applies, a bad sector was created in the transaction volume.

    1. QuickOPC has not yet performed physical copying and tracking is in progress

    2. EC/REC is in the suspend status (replication established status)

      Note:
      If a bad sector is created in a transaction volume when a) or b) applies, the ETERNUS Disk storage system automatically changes the copy processing to the error suspend state. This prevents a restart of QuickOPC or EC/REC resume and prevents the copy destination volume from being overwritten with invalid copy source volume data.

    0xBB

    A lack of free space has occurred in the Snap Data Volume or Snap Data Pool.

    Other than 0xBA and 0xBB

    An error other than the above occurred.

12.4.2.1 Hardware Error on Replication Volume

When a hardware error occurs in a duplicate volume, perform the repair work on the error according to the following procedures.

  1. Execute the swsrpcancel command to cancel the processing in which the error occurred. If the processing cannot be cancelled from the operation server when inter-server replication is performed, cancel it from a non-operational server.

  2. If the processing cannot be cancelled by using the command, use ETERNUS Web GUI to cancel it.

  3. Execute the swsrprecoverres command.

  4. Execute the swsrpstat command to verify that no other errors have occurred.

  5. Execute the swsrpdelvol command to delete the replication volume in which the error occurred.

  6. Execute the swsrpsetvol command to register a new replication volume. If the replication volume on which the error occurred is to be repaired and be reused and if the device information has been modified, perform the following actions:

    • When AdvancedCopy Manager is being operated using the Web Console, refer to "Add/Reload Device" in the ETERNUS SF Web Console Guide to reload the configuration and re-register the replication volume.

    • When AdvancedCopy Manager is being operated using only Command Line Interface, execute the stgxfwcmsetdev command on the Management Server to reload the configuration and re-register the replication volume.

  7. Re-execute the processing in which the error occurred.

12.4.2.2 Troubleshooting If Bad Sector Occurred in Copy Source Volume

If a bad sector occurred in the copy source volume, use the following procedure to restore the copy source volume:

  1. Execute the swsrpcancel command to cancel processing for which the error occurred.
    If inter-server replication was being performed and cancellation is not possible from the active server, cancel processing from the inactive server.
    If processing cannot be cancelled using commands, use ETERNUS Web GUI to cancel it.

  2. Execute the swsrpstat command to check for other errors.

  3. Restoration is performed by overwriting the area containing the bad sector. Select the appropriate method, in accordance with the usage or use status of the copy source volume, from the methods below.

    • Restoration method 1:
      If the area can be reconstructed from high-level software (file system, DBMS, or similar), reconstruct the area.

    • Restoration method 2:
      If the area containing the bad sector is an area that is not being used, such as an unused area or a temporary area, use a system command (for example, the UNIX dd command or the Windows format command) to write to the area.

    • Restoration method 3:
      Execute the swsrpmake command to restore the data from the copy destination volume. (Restoration is also possible from the copy destination volume of the copy process for which the bad sector occurred.)

12.4.2.3 Troubleshooting When Lack of Free Space Has Occurred in Snap Data Volume or Snap Data Pool

A Snap Data Volume lack of free space occurs when the Snap Data Pool is not being used, whereas a Snap Data Pool lack of free space occurs when the Snap Data Pool is being used.
If a lack of free space occurs of Snap Data Volume or Snap Data Pool, refer to the following sections to recover it according to the Snap Data Pool usage condition:

Point

The use status of the Snap Data Pool can be checked by specifying "poolstat" subcommand in the swstsdv command.

Recovery of Insufficient Free Space in Snap Data Volume

When a lack of free space has occurred in the Snap Data Volume, follow these steps to undertake recovery:

The likely causes of a lack of free space in the Snap Data Volume are as follows:

  1. The estimate of the physical size of the Snap Data Volume is not accurate.

  2. The estimate of the physical size of the Snap Data Volume is accurate but, as a result of a large volume being updated in the Snap Data Volume when the SnapOPC/SnapOPC+ session does not exist, the physical capacity of the Snap Data Volume is being used up.

The usage status of the Snap Data Volume can be checked by specifying "stat" subcommand in the swstsdv command.

If "a." applies, re-estimate the physical size of the Snap Data Volume, and recreate the Snap Data Volume.
If "b." applies, use ETERNUS Web GUI or, specify "init" subcommand in the swstsdv command, and then initialize the Snap Data Volume.

Recreation of the partition (slice) is required after recreation/initialization of the Snap Data Volume.

Recovery of Insufficient Free Space in Snap Data Pool

When a lack of free space has occurred in the Snap Data Pool, follow these steps to undertake recovery:

The likely causes of a lack of free space in the Snap Data Pool are as follows:

  1. The estimate of the size of the Snap Data Pool is not accurate.

  2. The estimate of the size of the Snap Data Pool is accurate but, as a result of a large volume being updated in the Snap Data Volume when the SnapOPC/SnapOPC+ session does not exist, the capacity of the Snap Data Pool is being used up.

The use status of the Snap Data Pool can be checked by specifying "poolstat" subcommand in the swstsdv command.

If "a." applies, re-estimate the size of the Snap Data Pool, and after increasing the size of the Snap Data Pool, recreate the Snap Data Volume.

If "b." applies, use ETERNUS Web GUI or, specify "init" subcommand in the swstsdv command, then initialize the Snap Data Volume.

Recreation of the partition (slice) is required after recreation/initialization of the Snap Data Pool.

12.4.2.4 Error (halt) on Remote Copy Processing

The REC restart (Resume) method varies, depending on the halt status.

Execute the swsrpstat command with the -H option specified to check the halt status, and then implement the relevant countermeasure.

The REC restart method differs for different REC Recovery modes.

For Automatic Recovery Mode
  1. Remove the cause that made all paths close (halt).

  2. ETERNUS Disk storage system automatically restarts (Resume) REC.

For Manual Recovery Mode
  1. Remove the cause that made all paths close (halt).

  2. Execute the swsrpmake command to forcibly suspend the REC that is in the halt status.

    [For volume units]
    swsrpmake -j < replication source volume name > <replication destination volume name >
    [For group units]
    swsrpmake -j -Xgroup <group name>
  3. Execute the swsrpstartsync command to restart (Resume) the REC. The -t option must be specified if REC is being restarted after a forcible suspend.

    [For volume units]
    swsrpstartsync -t <replication source volume name > <replication destination volume name >
    [For group units]
    swsrpstartsync -t -Xgroup <group name>