[root@localhost ~]# lvs
WARNING: Device for PV mFRxBp-h855-e9nF-gfSs-MVrm-03d1-CGb8ky not found or rejected by a filter.
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
volume-4ddc80d5-c3ed-4770-a7c6-3c8356674d79 cinder-volumes -wi------- 10.00g
volume-6ca23cd3-879d-4f22-ac13-95888198cdad cinder-volumes -wi------- 6.00g
volume-b7fe5630-62cd-4a4b-a0b6-ce3dcc563bdd cinder-volumes -wi-----p- 10.00g
volume-ec9fd81d-0490-46f4-9d68-d039c002afc5 cinder-volumes -wi-----p- 10.00g
home cl -wi-ao---- 100.00g
root cl -wi-ao---- 291.76g
swap cl -wi-ao---- 16.00g
[root@localhost ~]# vgs
WARNING: Device for PV mFRxBp-h855-e9nF-gfSs-MVrm-03d1-CGb8ky not found or rejected by a filter.
VG #PV #LV #SN Attr VSize VFree
cinder-volumes 2 4 0 wz-pn- 60.59g 24.59g
cl 2 3 0 wz--n- 612.38g 204.62g
[root@localhost ~]# lvremove volume-4ddc80d5-c3ed-4770-a7c6-3c8356674d79 cinder-volumes
Volume group "volume-4ddc80d5-c3ed-4770-a7c6-3c8356674d79" not found
Cannot process volume group volume-4ddc80d5-c3ed-4770-a7c6-3c8356674d79
WARNING: Device for PV mFRxBp-h855-e9nF-gfSs-MVrm-03d1-CGb8ky not found or rejected by a filter.
Logical volume "volume-4ddc80d5-c3ed-4770-a7c6-3c8356674d79" successfully removed
Logical volume "volume-6ca23cd3-879d-4f22-ac13-95888198cdad" successfully removed
Logical volume "volume-ec9fd81d-0490-46f4-9d68-d039c002afc5" successfully removed
Logical volume "volume-b7fe5630-62cd-4a4b-a0b6-ce3dcc563bdd" successfully removed
romoving a ghost logical volume, it has removed all ghost lv, but it remained only a ghost lv that seems attached to an instance, but this instance no longer exist..
[root@localhost ~(keystone_admin)]# cinder list
+--------------------------------------+-----------+------+------+-------------+----------+--------------------------------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+------+------+-------------+----------+--------------------------------------+
| b7fe5630-62cd-4a4b-a0b6-ce3dcc563bdd | available | | 10 | iscsi | true | 02875333-de15-4d04-b0d1-e97c009067df |
+--------------------------------------+-----------+------+------+-------------+----------+--------------------------------------+
[root@localhost ~(keystone_admin)]# nova list
+--------------------------------------+----------+--------+------------+-------------+----------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+----------+--------+------------+-------------+----------------------+
| 89314e4e-7e9b-4de6-8ad2-3c652e0f6a05 | cirros2 | ACTIVE | - | Running | net_1=192.168.111.10 |
| 3c99a447-ef89-4856-9c67-021a3517bfeb | cirros_1 | ACTIVE | - | Running | net_1=192.168.111.7 |
| 24d7973b-9af7-4173-a430-2b079632cbef | cirros_3 | ACTIVE | - | Running | net_1=192.168.112.11 |
+--------------------------------------+----------+--------+------------+-------------+----------------------+
[root@localhost ~]# lvs h855-e9nF- gfSs-MVrm- 03d1-CGb8ky not found or rejected by a filter. 4ddc80d5- c3ed-4770- a7c6-3c8356674d 79 cinder-volumes -wi------- 10.00g 6ca23cd3- 879d-4f22- ac13-95888198cd ad cinder-volumes -wi------- 6.00g b7fe5630- 62cd-4a4b- a0b6-ce3dcc563b dd cinder-volumes -wi-----p- 10.00g ec9fd81d- 0490-46f4- 9d68-d039c002af c5 cinder-volumes -wi-----p- 10.00g h855-e9nF- gfSs-MVrm- 03d1-CGb8ky not found or rejected by a filter. 4ddc80d5- c3ed-4770- a7c6-3c8356674d 79 cinder-volumes 4ddc80d5- c3ed-4770- a7c6-3c8356674d 79" not found 4ddc80d5- c3ed-4770- a7c6-3c8356674d 79 h855-e9nF- gfSs-MVrm- 03d1-CGb8ky not found or rejected by a filter. 4ddc80d5- c3ed-4770- a7c6-3c8356674d 79" successfully removed 6ca23cd3- 879d-4f22- ac13-95888198cd ad" successfully removed ec9fd81d- 0490-46f4- 9d68-d039c002af c5" successfully removed b7fe5630- 62cd-4a4b- a0b6-ce3dcc563b dd" successfully removed
WARNING: Device for PV mFRxBp-
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
volume-
volume-
volume-
volume-
home cl -wi-ao---- 100.00g
root cl -wi-ao---- 291.76g
swap cl -wi-ao---- 16.00g
[root@localhost ~]# vgs
WARNING: Device for PV mFRxBp-
VG #PV #LV #SN Attr VSize VFree
cinder-volumes 2 4 0 wz-pn- 60.59g 24.59g
cl 2 3 0 wz--n- 612.38g 204.62g
[root@localhost ~]# lvremove volume-
Volume group "volume-
Cannot process volume group volume-
WARNING: Device for PV mFRxBp-
Logical volume "volume-
Logical volume "volume-
Logical volume "volume-
Logical volume "volume-
romoving a ghost logical volume, it has removed all ghost lv, but it remained only a ghost lv that seems attached to an instance, but this instance no longer exist..
[root@localhost ~(keystone_admin)]# cinder list ------- ------- ------- ------- ----+-- ------- --+---- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+ ------- ------- ------- ------- ----+-- ------- --+---- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+ 62cd-4a4b- a0b6-ce3dcc563b dd | available | | 10 | iscsi | true | 02875333- de15-4d04- b0d1-e97c009067 df | ------- ------- ------- ------- ----+-- ------- --+---- --+---- --+---- ------- --+---- ------+ ------- ------- ------- ------- ------- ---+
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| b7fe5630-
+------
[root@localhost ~(keystone_admin)]# nova list ------- ------- ------- ------- ----+-- ------- -+----- ---+--- ------- --+---- ------- --+---- ------- ------- ----+ ------- ------- ------- ------- ----+-- ------- -+----- ---+--- ------- --+---- ------- --+---- ------- ------- ----+ 7e9b-4de6- 8ad2-3c652e0f6a 05 | cirros2 | ACTIVE | - | Running | net_1=192. 168.111. 10 | ef89-4856- 9c67-021a3517bf eb | cirros_1 | ACTIVE | - | Running | net_1=192.168.111.7 | 9af7-4173- a430-2b079632cb ef | cirros_3 | ACTIVE | - | Running | net_1=192. 168.112. 11 | ------- ------- ------- ------- ----+-- ------- -+----- ---+--- ------- --+---- ------- --+---- ------- ------- ----+
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 89314e4e-
| 3c99a447-
| 24d7973b-
+------