Got it

Restoring Non-Faulty Data Partitions and Non-Faulty Disk Data Through System Partition Restoration

304 0 0 0 0

TThis topic describes how to restore the system partition to restore non-faulty data partitions and non-faulty disk data when the system RAID 0 group of the VCN is faulty or both system RAID 1 groups of two disks are faulty.

Prerequisites

The system RAID 0 group of the VCN is faulty or both system RAID 1 groups of two disks are faulty. To check whether the system RAID 0 group of the VCN is faulty or both system RAID 1 groups of two disks are faulty, perform the following operations:

  1. Log in to the OMU portal of the VCN server as the admin user.
  2. Choose Local Configuration > Local Disk.
  3. View information under RAID Groups.
    • If the RAID group list is empty, the system RAID 0 group of the VCN is faulty or both system RAID 1 groups of two disks are faulty.
    • If the RAID group list is not empty, the non-system RAID 0 group or system RAID 1 group is faulty.

Procedure

  1. Restore the system partition.

    1. Log in to the VCN server as the admin user and run the su - root command to switch to the root user.
    2. Run the /share/init.d/updatetime rebuildsysraid type command.
      http://localhost:7890/pages/CEH0706J/03/CEH0706J/03/resources/public_sys-resources/icon-note.gif NOTE:

      In the preceding command, type indicates the RAID group mode of the VCN. If the VCN disks work in non-RAID mode, set type to 0. If the VCN disks work in RAID 1 or RAID 5 mode, set type to 1.

    3. Run the reboot command to restart the server.
    4. After the server is restarted, if new disks are added, run the /share/init.d/updatetime rebuilddisk command. Otherwise, skip this step.
    5. Run the following commands to change the owner and permission on some files and back up disk information:

      nvr_code=`cat /home/ivs_omu/config/net.xml | grep NetElementID | uniq | awk -F'#' '{print $2}' | awk -F'<' '{print $1}'`

      echo -n $nvr_code > /opt/.disk_mode

      chown ivsoper:ivs /share/init.d/disktype /share/init.d/raid1table /share/init.d/tabledisk /opt/.disk_mode >/dev/null 2>&1

      chmod 755 /share/init.d/disktype /share/init.d/raid1table /share/init.d/tabledisk /opt/.disk_mode >/dev/null 2>&1

      /home/ivstool/bin/backupDiskInfo.sh

    6. Run the reboot command to restart the server.

  2. Check whether the system partition is restored.

    1. Log in to the OMU portal of the VCN server as the admin user.
    2. Choose Local Configuration > Local Disk.
    3. View information under RAID Groups.
      • If the RAID group list is empty, the system partition cannot be restored. In this case, please contact Huawei technical support engineers.
      • If the RAID group list is not empty, the system partition is restored. You can proceed to the next steps.

  3. Restore data through data safe.

    1. Log in to the VCN server as the admin user and run the su - root command to switch to the root user.
    2. Run the cd /home/ivstool/bin Command.
    3. Run the ./restore.sh script.

      The following information is displayed:

      please confirm to continue or not.(yes or no)?
    4. Enter yes.

      The system displays the following message asking you whether to continue to restore data slowly:

      Please confirm whether to choose slow recovery? It may take a long time.(yes or no)? 
    5. Enter yes.

      The system starts to restore data. After the system displays a message indicating that data is restored, the system restarts.

      If there is no input within one hour, the system exits the script execution.


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.