In my case I couldn't create a new one with the same name, so I had to import it back.
Glad it worked.

Best Regards,
Strahil Nikolov


On Jan 25, 2019 16:38, Martin Humaj <mhumaj@gmail.com> wrote:
Hi Strahil.

IT WORKED !!! Thanks a lot for your help. It is gone and I was able to finally create a new one. GOD BLESS YOU
engine=# select id from storage_domain_dynamic;
                  id
--------------------------------------
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74
 a294bbf5-67c5-4291-a6d2-9cfa53e1670b
 470aade4-967f-4adb-9ca2-cccbfa2d5dc9
 ab6f78d5-668f-4d58-9b76-58113bbf938a
 61045461-10ff-4f7a-b464-67198c4a6c27
(5 rows)
engine=# delete from storage_domain_dynamic where id ='61045461-10ff-4f7a-b464-67198c4a6c27';
DELETE 1
engine=#
engine=#
engine=# delete from storage_domain_static where id ='61045461-10ff-4f7a-b464-67198c4a6c27';
DELETE 1
engine=#
engine=#
engine=# select id, storage_name from storage_domain_static;
                  id                  |      storage_name
--------------------------------------+------------------------
 ab6f78d5-668f-4d58-9b76-58113bbf938a | hosted_storage
 a294bbf5-67c5-4291-a6d2-9cfa53e1670b | testLun1TB
 470aade4-967f-4adb-9ca2-cccbfa2d5dc9 | oVirt-V7000
 072fbaa1-08f3-4a40-9f34-a5ca22dd1d74 | ovirt-image-repository
(4 rows)

thank you so much marin

On Fri, Jan 25, 2019 at 2:15 PM Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
Hi Martin,
I just tried to add a new storage with the same name - and it failed. Most probably some remnants were left.

Best Regards,
Strahil Nikolov

В петък, 25 януари 2019 г., 11:04:01 ч. Гринуич+2, Martin Humaj <mhumaj@gmail.com> написа:


Hi Strahil
I have tried to use the same ip and nfs export to replace the original, did not work properly.

If you can guide me how to do it in engine DB i would appreciate it. This is a test system.

thank you Martin

On Fri, Jan 25, 2019 at 9:56 AM Strahil <hunter86_bg@yahoo.com> wrote:
Can you create a temporary NFS server which to be accessed during the removal?
I have managed to edit the engine's DB to get rid of cluster domain, but this is not recommended for production  systems :)