Got it

After a volume fails to be created, the volume is rolled back and deleted,How do I obtain volume information?

Latest reply: Dec 9, 2021 13:49:14 481 3 9 0 0
After a volume fails to be created, the volume is rolled back and deleted,How do I obtain volume information?
1. Query the volume in the database and determine the volume to be created based on the time point.
    After environment variables are imported, run the following command to query the GaussDB server:
    cps template-instance-list --service gaussdb gaussdb
   
Log in to the server where the gassudb is located, switch to the gaussdba user, query the volumes table of the Cinder database, and determine the faulty volume based on the time point.
     su gaussdba
     echo FusionSphere123|gsql cinder –c “select * from volumes order by created_at DESC;

The HOST field in the table indicates the host where the volume resides, which is the same as the value of cinder show volume ID | grep "attr:host". This post was last edited by ganmianpi at 2018-11-27 09:03.

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

Jin_daydayup
Created Nov 27, 2018 09:03:40

if I reboot , this can be resore or not ?
View more
  • x
  • convention:

jomos
Created Dec 13, 2018 15:53:58

Thanks you
View more
  • x
  • convention:

Yencao
Created Dec 9, 2021 13:49:14

Thanks for sharing
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.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.