Hi David, The error message indicates that there are some volumes on the primary store that you are attempting to remove in the database. You can validate it by using: select * from volumes where pool_id = <id_of_pool> and removed is null;
If you have validated that the volumes returned by the above query have been either deleted or migrated, then you can mark them as removed in the db and proceed with removing the storage pool. Thanks, Pearl ________________________________ From: David Larsen <david.lar...@adcom.no> Sent: Wednesday, April 27, 2022 4:23 PM To: users@cloudstack.apache.org <users@cloudstack.apache.org> Subject: Request Failed (530) - Cannot delete pool Primary as there are associated non-destroyed vols for this pool Hi We are replacing our old datastore with a newer and faster storage. I have successfully created new volumes and successfully migrated every instance/volum, systemVM’s and Virtual routers to new volumes. We have five volumes on the old storage system and five on the new storage system (vmware vmfs volumes). After everything was migrated, we put the old volumes successfully in maintenance mode. The next step is to delete them from Cloudstack. We have successfully deleted volume2, volume3, volume4 and volume 5, but not volume1. When we try to delete it, we get this message: “Request Failed (530) Cannot delete pool Primary as there are associated non-destroyed vols for this pool” We have checked volume1 for any volume files, but we can’t find any. Found a few very old .vmdk files in a folder called “fcd”, but can’t find any reference to them in cloudstack…(?) Volume1 is the first vmfs volume ever created on our Cloudstack solution and is the only vmfs5 volume left. Anything we have missed? We are running Cloudstack 4.15, vcenter/vsphere 6.7 Thanks ?? Med vennlig hilsen David Larsen Senior systemkonsulent [cid:image001.png@01D85A32.9061E8F0] ADCOM MOLDE, IT Data AS Fabrikkvegen 13 | 6415 Molde Mobil: 959 48 308 | Sentralbord: 71 25 06 40 david.lar...@adcom.no<mailto:david.lar...@adcom.no> | www.adcom.no<http://www.adcom.no/> [Miljøfyrtårn] [cid:image003.png@01D85A32.9061E8F0] Følg oss på sosiale medier: [Facebook icon] <https://www.facebook.com/adcommolde/> [LinkedIn icon] <https://www.linkedin.com/company/10249752?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A10249752%2Cidx%3A2-1-2%2CtarId%3A1449043739552%2Ctas%3Aadcom%20molde> P Tenk på miljøet før du skriver ut denne eposten