Got it

Emergency Handling for a VBS Process in the D State

Latest reply: Mar 27, 2021 09:47:49 147 1 0 0 0

Problem Information

Table 1 Basic problem information

Item

Description

Storage type

Distributed storage

Product version

FusionStorage 8.0.0; FusionStorage 8.0.0.2; FusionStorage 8.0.1; OceanStor 100D 8.0.2

Problem type

Basic service

Keyword

Service interruption; D state

Problem Symptom

In the Linux OS, SCSI volumes are mounted to the node for upper-layer applications, and file systems EXT3/EXT4/XFS are created. During the operation, services are interrupted, and the VBS process enters the D state.

Problem Diagnosis

  1. When services are interrupted, run the top command to check whether the VBS process is in the D state.


  2. Check the system logs (/var/log/message) before and after the problem occurs. It is found that the VBS call stack is printed and the rwsem_down_read_failed/rwsem_write_read_failed function fails.


  3. Verify the fault based on the preceding two steps.

Causes

The VBS process accesses the memory page and enters the kernel. After the kernel occupies the memory management lock, the memory is insufficient, triggering cache reclamation. The cache reclamation process causes dirty data to be flushed to disks. The VBS node fails to enter the kernel and stays in the D state.

Solution

  1. Use PuTTY to log in to the node where the abnormal VBS process resides and run the top command to check the VBS process status. The VBS process stays in the D state for more than 1 minute.


    If yes, go to 2.

    If no, no further action is required.



  2. With the customer's permission, run the echo b >/proc/sysrq-trigger command to restart the faulty node to restore services. During the restart, data cached in the file system will be partially lost. The amount of lost data depends on the file system type of the faulty node. If the customer does not agree to restore services by restarting the faulty node, contact technical support engineers.

Check After Recovery

After the faulty compute node restarts, log in to the node and check whether the dsware_vbs process is in the S or R state. If yes, the VBS process is rectified. Then, ask the customer to confirm the rectification.

Suggestion and Summary

N/A

Applicable Versions

All

Well done
View more
  • x
  • convention:

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.