OpenStack 透過 Mysql 刪除卷的方法#
[font color="red"] 不推薦使用此方式 此方式相當於隱藏 [/font]#
一、進入 Mysql 命令行#
mysql -uroot -p[資料庫密碼]
二、進入 cinder 資料庫#
use cinder
三、進入 OpenStack 查看卷標識#
四、執行設置為已刪除卷的 Sql 語句#
update volumes set deleted=1 where id="b0660a2b-7150-4854-bf09-089ceeca4003";