Got it

All is not pingable because VM is corrupted

Created: Feb 14, 2020 01:40:10Latest reply: Feb 14, 2020 02:19:27 801 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello, Community!

Our FusionCompute VM is corrupted, so all is not pingable. 

The possible cause is that the equipment room is powered off abnormally.

Can you help me restore the VM? Thanks!


Featured Answers

Recommended answer

olive.zhao
Admin Created Feb 14, 2020 02:16:06

Hello, dear!

The possible cause is that the equipment room is powered off abnormally, causing VM disk damage.

Perform the following operations to rectify the fault:

1. After the system enters the maintenance mode, the system automatically logs in as the root user.

2. Run the following command to unmount the disk:

umount Disk name

If the following information is displayed, run the following commands to stop the running processes, and then unmount the disk again:


[root@EulerOS-BaseTemplate ~]# umount /dev/mapper/oss_vg-optlog_vol
umount: /opt: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

fuser -ck /opt

umount Disk name

3. Run the following command to repair the disk:

fsck.ext4 -f -y Disk name

4. Run the following command to restart the VM:

reboot

5. Run the following command to log out of the root user:

exit


If you want to know more detailed information, please check the following link:

Troubleshooting the System That Enters Maintenance Mode Due to Disk Damage

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100105336&id=mo-tro-000038&lang=en


Hope I can help you!


View more
  • x
  • convention:

All Answers

Hello, dear!

You can refer to the following step:

Restore a VM Using a VM Snapshot

Scenarios

On the FusionCompute web client, restore a VM to its status when the VM snapshot was taken using the VM snapshot when the VM is faulty or the VM data needs to be restored.

If the port group to which the VM NIC belongs after a snapshot is created, the NIC is not restored when you restore the VM using the snapshot.

If a new disk is attached to a VM after a VM snapshot is taken, the disk is automatically detached from the VM when you restore the VM using the snapshot. You can attach the disk to the VM again as required. You can attach the disk to the VM on FusionCompute again as required. For details, see Logging In to FusionCompute.

If the attribute of a VM disk is Independent & persistent or Independent & nonpersistent, you do not need to restore the disk data when restoring the VM using a snapshot.
  • After a snapshot is taken for a VM, if disks on the VM are detached from the VM and not attached to any other VMs, the disks will be attached to the VM after the VM is restored using the snapshot. However, data on the disks will not be restored.

  • After a snapshot is taken for a VM, if disks on the VM are deleted, the disks will not appear on the VM after the VM is restored using the snapshot.

Prerequisites

Conditions

  • You have logged in to the FusionCompute web client.

  • A VM snapshot is available.

  • The VM is in the RunningStopped, or Hibernated status.

  • If the IMC function is enabled, the CPU generations of the VM in the cluster must be the same as or earlier than the target IMC mode. Otherwise, the VM fails to restore using the snapshot.

Procedure

Search for a VM.

  1. In the navigation tree on the left, click fig_it_cbb_conref_kvm_02.png.

    The Resource Pools page is displayed.

  2. On the VM tab, enter the search criteria and click fig_it_cbb_conref_kvm_05.png.

    The query result is displayed.


    Search criteria can be TypeStatusNameIP AddressMAC AddressIDDescription, and UUID.


  3. (Optional) On the VM page, click Advanced Search on the top of the VM list, enter or select the search criteria, and then click Search.

    The query result is displayed.


    Search criteria can be IP AddressVM IDVM NameMAC AddressDescriptionUUIDTools StatusCluster/HostType, and Status.


Restore the VM.

  1. Click the VM to be restored.

    The Summary page is displayed.

  2. On the Snapshot tab, query the snapshot list, and select a snapshot used for restoring the VM based on the snapshot creation time.


    note_3.0-en-us.png
    If a snapshot with its name starting with TempSnapshot_ exists and no task is being performed on the Task and Event tab, the snapshot is a residual one generated in a previous task (such as cloning a VM) and can be deleted.



  3. notice_3.0-en-us.png

    The current data on the VM will be overwritten by the data in the snapshot. Therefore, be cautious when performing this operation.

    Click Resume VM.

    A dialog box is displayed.

  4. Click Confirm.


    On the Task and Event tab, you can verify that the VM is restored to the status when the snapshot was taken if the VM is successfully restored.

Thanks!

View more
  • x
  • convention:

Hello, user!

Use the command to rebuild it then it is ok. "fsck  -y  /dev/mapper/"

Thanks!

View more
  • x
  • convention:

Hello, Pink_Panther!

Please check the following link:

Restoring a VM

restore VM

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100071114&id=it_u1_51_600019_1&lang=en


Hope can help you!

View more
  • x
  • convention:

Hello, dear!

The possible cause is that the equipment room is powered off abnormally, causing VM disk damage.

Perform the following operations to rectify the fault:

1. After the system enters the maintenance mode, the system automatically logs in as the root user.

2. Run the following command to unmount the disk:

umount Disk name

If the following information is displayed, run the following commands to stop the running processes, and then unmount the disk again:


[root@EulerOS-BaseTemplate ~]# umount /dev/mapper/oss_vg-optlog_vol
umount: /opt: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

fuser -ck /opt

umount Disk name

3. Run the following command to repair the disk:

fsck.ext4 -f -y Disk name

4. Run the following command to restart the VM:

reboot

5. Run the following command to log out of the root user:

exit


If you want to know more detailed information, please check the following link:

Troubleshooting the System That Enters Maintenance Mode Due to Disk Damage

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100105336&id=mo-tro-000038&lang=en


Hope I can help you!


View more
  • x
  • convention:

That is very perfect
View more
  • x
  • convention:

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.