[Users] How to remove storage domain

Gianluca Cecchi gianluca.cecchi at gmail.com
Thu Apr 18 08:05:07 UTC 2013


Further info about the node:

[root at f18ovn01 ~]# vgs
  VG                                   #PV #LV #SN Attr   VSize   VFree
  013bcc40-5f3d-4394-bd3b-971b14852654   1   5   0 wz--n-  99.62g 83.50g
  14b5167c-5883-4920-8236-e8905456b01f   1  11   0 wz--n-  99.62g 58.25g
  2aff7dc6-e25b-433b-9681-5541a29bb07c   1  11   0 wz--n-  99.62g 21.75g
  3fb66ba1-cfcb-4341-8960-46f0e8cf6e83   1  18   0 wz--n- 149.62g 64.38g
  596a3408-67d7-4b26-b482-e3a7554a5897   1  13   0 wz--n-  99.62g 57.75g
  8573d237-f86f-4b27-be80-479281a53645   1   6   0 wz--n-  49.62g 45.75g
  VG_ISCSI                               1   1   0 wz--n-  50.00g     0
  be882de7-6c79-413b-85aa-f0b8b77cb59e   1   6   0 wz--n-  99.62g 95.75g
  fedora_f18ovn01                        1   2   0 wz--n-  67.84g  4.00m
  vg_drbd0                               1   1   0 wz--n-   2.00g     0

[root at f18ovn01 ~]# ll
/rhev/data-center/5849b030-626e-47cb-ad90-3ce782d831b3/013bcc40-5f3d-4394-bd3b-971b14852654/images/01488698-6420-4a32-9095-cfed1ff8f4bf/d477fcba-2110-403e-93fe-15565aae5304
ls: cannot access
/rhev/data-center/5849b030-626e-47cb-ad90-3ce782d831b3/013bcc40-5f3d-4394-bd3b-971b14852654/images/01488698-6420-4a32-9095-cfed1ff8f4bf/d477fcba-2110-403e-93fe-15565aae5304:
No such file or directory

[root at f18ovn01 ~]# ll /rhev/data-center/
total 12
drwxr-xr-x. 2 vdsm kvm 4096 Apr 18 09:03 5849b030-626e-47cb-ad90-3ce782d831b3
drwxr-xr-x. 2 vdsm kvm 4096 Mar 11 17:16 hsm-tasks
drwxr-xr-x. 5 vdsm kvm 4096 Mar 19 14:18 mnt

[root at f18ovn01 ~]# ll /rhev/data-center/5849b030-626e-47cb-ad90-3ce782d831b3
total 32
lrwxrwxrwx. 1 vdsm kvm 66 Apr 18 09:03
14b5167c-5883-4920-8236-e8905456b01f ->
/rhev/data-center/mnt/blockSD/14b5167c-5883-4920-8236-e8905456b01f
lrwxrwxrwx. 1 vdsm kvm 66 Apr 18 09:03
2aff7dc6-e25b-433b-9681-5541a29bb07c ->
/rhev/data-center/mnt/blockSD/2aff7dc6-e25b-433b-9681-5541a29bb07c
lrwxrwxrwx. 1 vdsm kvm 66 Apr 18 09:03
3fb66ba1-cfcb-4341-8960-46f0e8cf6e83 ->
/rhev/data-center/mnt/blockSD/3fb66ba1-cfcb-4341-8960-46f0e8cf6e83
lrwxrwxrwx. 1 vdsm kvm 66 Apr 18 09:03
596a3408-67d7-4b26-b482-e3a7554a5897 ->
/rhev/data-center/mnt/blockSD/596a3408-67d7-4b26-b482-e3a7554a5897
lrwxrwxrwx. 1 vdsm kvm 66 Apr 18 09:03
8573d237-f86f-4b27-be80-479281a53645 ->
/rhev/data-center/mnt/blockSD/8573d237-f86f-4b27-be80-479281a53645
lrwxrwxrwx. 1 vdsm kvm 66 Apr 18 09:03
be882de7-6c79-413b-85aa-f0b8b77cb59e ->
/rhev/data-center/mnt/blockSD/be882de7-6c79-413b-85aa-f0b8b77cb59e
lrwxrwxrwx. 1 vdsm kvm 88 Apr 18 09:03
e3251723-08e1-4b4b-bde4-c10d6372074b ->
/rhev/data-center/mnt/f18engine.ceda.polimi.it:_ISO/e3251723-08e1-4b4b-bde4-c10d6372074b
lrwxrwxrwx. 1 vdsm kvm 66 Apr 18 09:03 mastersd ->
/rhev/data-center/mnt/blockSD/2aff7dc6-e25b-433b-9681-5541a29bb07c

[root at f18ovn01 ~]# lvs 013bcc40-5f3d-4394-bd3b-971b14852654
  LV                                   VG
     Attr      LSize  Pool Origin Data%  Move Log Copy%  Convert
  0a6c7300-011a-46f9-9a5d-d22476a7f4c6
013bcc40-5f3d-4394-bd3b-971b14852654 -wi-ao---  1.00g
  2be37d02-b44f-4823-bf26-054d1a1f0c90
013bcc40-5f3d-4394-bd3b-971b14852654 -wi-ao--- 10.00g
  d477fcba-2110-403e-93fe-15565aae5304
013bcc40-5f3d-4394-bd3b-971b14852654 -wi-ao---  1.00g
  ef887fcd-f2a9-4e26-a01e-bdbf5ba14ae5
013bcc40-5f3d-4394-bd3b-971b14852654 -wi-ao---  2.12g
  f8eb4d4c-9aae-44b8-9123-73f3182dc4dc
013bcc40-5f3d-4394-bd3b-971b14852654 -wi-ao---  2.00g

SO the question is why the VG related to my unattached SD
(013bcc40-5f3d-4394-bd3b-971b14852654 if I understand correctly),
still have active opened logical volumes and they are for....
Before putting into maintenance I verified that no VM disks was
associated to that SD (at least from the gui).

Gianluca



More information about the Users mailing list