Troubleshooting - HP-UX File System Restore

Backup Restore  
The following section provides information on some of the troubleshooting scenarios related to restore:

Restore Failures

Some of the files included in the user-defined subclient are not restored. You may be performing the restore of user-defined subclient along with the restore of default subclient.

When you are recovering data backed up by the default subclient, you cannot recover the data backed up by a user-defined subclient.

Browse from default subclient displays No Backup at Time error Ensure that you do not include the root directory (/) as the subclient content.

When performing point-in-time restore from the default subclient, include the data/folders under the root directory as the subclient content.

Restore fails when trying to perform an out-of-place restore. Ensure that the file name along with the directory path to which the file is restored does not exceed 1024 characters.
Restore fails when trying to restore to a Unix FAT32 directory You may be restoring the full contents of a Unix directory that contains more than 32,767 files to a single Unix FAT32 directory.

The number of entries in a single FAT32 directory cannot exceed 32,767.

Error while loading shared libraries On Linux clients, the below error appears when we run any process or service:

<process name>: error while loading shared libraries: <lib>.so: cannot enable executable stack as shared object requires: Permission denied

For example,

#./ifind -getmnt -all
./ifind: error while loading shared libraries: libCvOnTap.so: cannot enable executable stack as shared object requires: Permission denied

As a workaround, do the following steps:

  1. Check if ASL (Atomic Secured Linux) is configured on client.

    #uname –r
    2.6.32.59-17.art.i686.PAE

    .art indicates that ASL is configured on the client.
     
  2. Check for the presence of the below logs in /var/log/messages file.

    May 24 22:01:08 rhel6 kernel: Aborting core
    May 24 22:01:08 rhel6 kernel: PAX: execution attempt in: <anonymous mapping>, bfc46000-bfc5b000 bffeb000
    May 24 22:01:08 rhel6 kernel: PAX: terminating task: /usr/libexec/paxtest/mprotstack(mprotstack):13201, uid/euid: 0/0, PC: bfc5acf4, SP: bfc5acdc
    May 24 22:01:08 rhel6 kernel: PAX: bytes at PC: c3 1a a3 ae 2b ac 9f ae f4 0f 9f ae 00 00 00 00 f4 0f 9f ae

     
  3. Run the following command.

    chpax –ps ../iDataAgent/<process/service>

    E.g.:
     #chpax –ps /opt/calypso/iDataAgent/ifind

Troubleshooting Slow Performance when Restoring to VxFS

Use these steps to resolve the slowness when restoring to VxFS: 

  1. If the data transfer on the network is slow or you have a low bandwidth network environment, then verify network throughput using the NetworkTestTool utility. If network throughput is low then enable the nNumPipelineBuffers additional setting to increase the data transfer throughput from the client. See Increasing Data Transfer Throughput from Client for more information.
  2. Tune these kernel parameters using kctune (1M):

    a. Set fcache_fb_policy value to 1

    b. Set max_diskq value to 800 - 1000MB

    Additionally, you can tune the write_pref_io and write_throttle parameters. For more information about HP-UX VxFS tunable parameters, refer to http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01919408/c01919408.pdf.

Recovering Data Associated with Deleted Clients and Storage Policies

The following procedure describes the steps involved in recovering data associated with the following entities:

Before you Begin

This procedure can be performed when the following are available:

Recovering Deleted Data

  1. Locate the latest Disaster Recovery Backup which contains the information on the entity (Storage Policy, Client, Agent, Backup Set or Instance) that you are trying to restore.
  2. On a standby computer, install the CommServe software. For more information on installing the CommServe, see CommServe Deployment.
  3. Restore the CommServe database using the CommServe Disaster Recovery Tool from the Disaster Recovery Backup described in Step 1. (See Restore a Disaster Recovery Backup for step-by-step instructions.)
  4. Verify and ensure that the Bull Calypso Client Event Manager Bull Calypso Communications Service (EvMgrS) is running.
  5. If you did not have a CommCell Migration license available in the CommServe when the disaster recovery backup was performed, apply the IP Address Change license and the CommCell Migration license on the standby CommServe. See Activate Licenses for step-by-step instructions.
  6. Export the data associated with the affected clients from the standby CommServe as described in Export Data from the Source CommCell.
    When you start the Command Line Interface to capture data, use the name of the standby CommServe in the -commcell argument.
  7. Import the exported data to the main CommServe as described in Import Data on the Destination CommCell.

    This will bring back the entity in the CommServe database and the entity will now be visible in the CommCell Browser. (Press F5 to refresh the CommCell Browser if the entity is not displayed after a successful merge.)

  8. If you have additional data that was backed up after the disaster recovery backup and before the deletion of the entity, use the procedure described in Import Metadata from a Tape or Optical Media to obtain the necessary information.
  9. You can now browse and restore the data from the appropriate entity.

    As a precaution, mark media (tape and optical media) associated with the source CommCell as READ ONLY before performing a data recovery operation in the destination CommCell.