Got it

The Service Cannot Be Started Because the DBService Disk Usage is Full

Created: Jul 24, 2019 09:54:02Latest reply: Jul 25, 2019 02:36:11 461 3 0 0 1
  Rewarded HiCoins: 0 (problem resolved)

The Service Cannot Be Started Because the DBService Disk Usage is Full.

The service is running for a long time and the service traffic is heavy. As a result, the DBService disk space is full and the Gauss service cannot be started. As a result, the DBService service is unavailable.

Featured Answers
TingtingGG
Created Jul 25, 2019 02:36:11

Hi there!

1. Log in to FusionInsight Manager, choose Cluster > Service and stop the component services that depend on DBService.

2. To start the GaussDB database, perform the following steps:

  • Log in to the active DBService instance node as the root user.

  • Switch to user omm: 

su - omm


  • Run the following command to execute the environment variable:

source $DBSERVER_HOME/.dbservice_profile


  • Go to the $GAUSSDATA/pg_xlog directory:

cd $GAUSSDATA/pg_xlog

  • A total of 5-10 files whose names start with 0000 are removed to other backup directories. One file can be removed at a time.

  • Example: mv 0000000100000000000000073 /opt/backup

Note:

The file that is being written (the latest time) and the four to five files around the file cannot be removed.

For example, in the following figure, the file that is being written is 0000000100000000000000078, except that 74-7C cannot be removed.

http://10.88.69.41:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258426.png

Run the gs_ctl -D $GAUSSDATA restart command to start the GaussDB database.

http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258427.png

http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258428.png

Note:

If the file is not started, repeat 2.e to 2.f . If the file is not started after 10 files are removed, contact Huawei technical support.

Back up the DBService data by referring to the Administrator Guide > Backup and Recovery Management > Backing Up Data > Backing Up DBService Data in the product documentation.

Expand the disk capacity by referring to the FusionInsight HD Capacity Expansion Guide.

Start components that depend on DBService.


View more
  • x
  • convention:

smileymind
smileymind Created Dec 20, 2021 23:19:12 (0) (0)
good  
All Answers

Thanks

View more
  • x
  • convention:

Hi there!

1. Log in to FusionInsight Manager, choose Cluster > Service and stop the component services that depend on DBService.

2. To start the GaussDB database, perform the following steps:

  • Log in to the active DBService instance node as the root user.

  • Switch to user omm: 

su - omm


  • Run the following command to execute the environment variable:

source $DBSERVER_HOME/.dbservice_profile


  • Go to the $GAUSSDATA/pg_xlog directory:

cd $GAUSSDATA/pg_xlog

  • A total of 5-10 files whose names start with 0000 are removed to other backup directories. One file can be removed at a time.

  • Example: mv 0000000100000000000000073 /opt/backup

Note:

The file that is being written (the latest time) and the four to five files around the file cannot be removed.

For example, in the following figure, the file that is being written is 0000000100000000000000078, except that 74-7C cannot be removed.

http://10.88.69.41:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258426.png

Run the gs_ctl -D $GAUSSDATA restart command to start the GaussDB database.

http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258427.png

http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258428.png

Note:

If the file is not started, repeat 2.e to 2.f . If the file is not started after 10 files are removed, contact Huawei technical support.

Back up the DBService data by referring to the Administrator Guide > Backup and Recovery Management > Backing Up Data > Backing Up DBService Data in the product documentation.

Expand the disk capacity by referring to the FusionInsight HD Capacity Expansion Guide.

Start components that depend on DBService.


View more
  • x
  • convention:

smileymind
smileymind Created Dec 20, 2021 23:19:12 (0) (0)
good  

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.