码迷,mamicode.com
首页 > 其他好文 > 详细

[Icehouse][cinder] volume状态为 "error_deleting"无法删除 的解决方案

时间:2015-10-16 17:05:17      阅读:927      评论:0      收藏:0      [点我收藏+]

标签:

1.查看volume状态

[root@cat ~]# cinder list
 +--------------------------------------+----------------+--------------+------+-------------+----------+-------------------------------------+
 | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
 +--------------------------------------+-----------+--------------+------+-------------+----------+------------------------------------------+
 | 0e4d333f-9bda-4b83-98f7-f509f5ceaefa | error_deleting| v1 | 1 | None | true | |
 | b86a40de-fa40-44d8-9863-0b5b9699ea3f | in-use | v2 | 1 | None | false | 1e6fc7da-fff6-42d2-bcca-229ab6e33237 |
 | ce8f729b-0ae3-428e-b6ff-7cebd9d81cb2 | available | v3 | 2 | None | false | |
 +--------------------------------------+---------------+--------------+------+-------------+----------+--------------------------------------+

 

2.查看logical磁盘

[root@cat ~]# lvs
  LV                                          VG             Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  volume-0e4d333f-9bda-4b83-98f7-f509f5ceaefa cinder-volumes -wi-a-----  1.00g                                                    
  volume-b86a40de-fa40-44d8-9863-0b5b9699ea3f cinder-volumes -wi-ao----  1.00g                                                    
  volume-ce8f729b-0ae3-428e-b6ff-7cebd9d81cb2 cinder-volumes -wi-a-----  2.00g                                                    
  lv_root                                     vg_rorwo       -wi-ao---- 44.51g                                                    
  lv_swap                                     vg_rorwo       -wi-ao----  5.00g

2.删除状态为 "error_deleting"的logical磁盘

[root@cat ~]# lvremove cinder-volumes volume-0e4d333f-9bda-4b83-98f7-f509f5ceaefa
[root@cat ~]# cinder force-delete 0e4d333f-9bda-4b83-98f7-f509f5ceaefa

 

然后再刷新horizon看一下就好啦~

 

参考:https://ask.openstack.org/en/question/1378/cannot-remove-volume/

[Icehouse][cinder] volume状态为 "error_deleting"无法删除 的解决方案

标签:

原文地址:http://www.cnblogs.com/t09sunny/p/4885574.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!