Got it

A File System Is Damaged and FSM Node Upgrade Fails Due to a Node Fault

84 0 0 0 0

Problem Symptom

During an upgrade, a node is faulty and repeatedly powered off or restarted. As a result, a file system is damaged, the FSM node upgrade fails, and the upgrade cannot be resumed.


Problem Diagnosis

  1. The upgrade is paused, and the faulty node is displayed on DeviceManager.

  2. Log in to the faulty node and run the cat /var/log/oam/fsm/manager/script/fsm.deploy.script.log command to check the failure cause. The log shows that some database operations fail.

    2_en-us_image_0233463167.png

  3. Run the cat /var/log/oam/oam-u/oam-gaussdb/run/gaussdb.log command to view the GaussDB log. The log contains information indicating that a file or directory is damaged.

    2_en-us_image_0233463029.png


Causes

The file system where GaussDB is located is damaged due to a node fault (repeated power-off or restart). As a result, GaussDB is abnormal, and database commands fail to be executed.


Solution

  1. Log in to the faulty node and run the su - ommdba command to switch to user ommdba.

    2_en-us_image_0233466331.png

  2. Run the gs_ctl build command to rebuild the database.

    2_en-us_image_0233467713.png


Check After Recovery

Check whether the upgrade can be performed successfully.


Suggestion and Summary

N/A


Applicable Versions

All


Comment

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

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.