In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Background note:
Back up the target volume vol-002 to the remote nfs server, and then restore the volume that has been backed up to the nfs server. During the recovery process, the nfs server is down, and the recovery volume has been in a state of 'restoring' and cannot be deleted. This article records the whole process of backup recovery and final deletion.
Environment:
Openstack version pike control node host openstack-controller (ubuntu 16.04.5) 172.27.34.37
Compute node host openstack-computer (ubuntu 16.04.5) 172.27.34.38
For details of ubuntu installation, please see the full record of Ubuntu16.04.5 installation in lvm mode.
For more information on openstack installation, please see: OpenStack practice (1): build p version of OpenStack by DevStack under Ubuntu16.04
For more information on volume backup and recovery, see: OpenStack practice (6): Cinder module Backup and Restore Volume
Backup target volume vol-002
Perform a backup
Root@openstack-controller:/# cinder backup-create vol-002-force
View backup volum
Root@openstack-controller:~# cinder backup-list
Nfs shared directory view
Root@openstack-controller:~# ll / cinder_backup/25456d92e2f8d55a830c3f5211266302/34/ff/34ff4ba3-e175-481a-b578-800d4948dcb7
Restore
Root@openstack-controller:~# cinder backup-restore cc647d92-aa44-43a6-872c-efe029281d65
Nfs server downtime during recovery
Delete Volum
Error report:
View the volume id that failed to restore
Root@openstack-controller:~# cinder list
Command deletion
Root@openstack-controller:~# cinder delete 23bc3619-642d-4a19-baa8-f9fb2412e75d
Error report: ERROR: Unable to delete any of the specified volumes.
View volume status
Root@openstack-controller:~# cinder show 23bc3619-642d-4a19-baa8-f9fb2412e75d
Reset volume statu
Root@openstack-controller:~# cinder reset-state-- state available 23bc3619-642d-4a19-baa8-f9fb2412e75d
Delete again
Root@openstack-controller:~# cinder delete 23bc3619-642d-4a19-baa8-f9fb2412e75d
Deleted successfully
Summary: when the volume of cinder or the instance of nova is abnormal, operations such as deletion cannot be performed. You can reset the status side to solve the problem.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.