vmich
asked on
Getting an error when trying to delete a vmware datastore
I have a new datastore that I want to delete but each time I try I get the following error message:
Call "HostDatastoreSystem.Remov eDatastore " for object "datastoreSystem-7723
This datastore was not assigned to any vm as of yet but I need to delete it and then recreate it...
Any idea why I cant delete this and what I can do to delete it?
Call "HostDatastoreSystem.Remov
This datastore was not assigned to any vm as of yet but I need to delete it and then recreate it...
Any idea why I cant delete this and what I can do to delete it?
Is the datastore in use?
ASKER
No I created it yesterday and did nothing with it along with 3 others and I was able to delete the 3 others but this one is giving me that error when trying to delete it..
Are you using 5.x ?
ASKER
No sorry forgot to add that..
It is esxi 4.1
It is esxi 4.1
Okay, I did wonder because 5.x, has a new facility to check what is in use, before it un-mounts and deletes.
Have you checked for content, at the console or SSH?
It's not in use by HA ?
Storage I/O Control ?
Have you checked for content, at the console or SSH?
It's not in use by HA ?
Storage I/O Control ?
ASKER
Well there are 3 host using it but like I said I was able to delete the other 3 new datastores without any errors but this one gives me the error.
How can I check for storage I/o control
How can I check for storage I/o control
It should state enabled for the datastore in the client.
ASKER
no it says disabled for that..
do you have other LUNs on this host from the same SAN?
ASKER
yes and they are working fine..
Like I said I created 4 new datastores yesterday but did not use them and then wanted to delete them today and was able to del 3 out of the 4..
Like I said I created 4 new datastores yesterday but did not use them and then wanted to delete them today and was able to del 3 out of the 4..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
but if I do that, wont it leave the datastore as greyed out on the vmhost?
I thought you were supposed to delete the datastore first before removing the lun from the san?
I thought you were supposed to delete the datastore first before removing the lun from the san?
In fact you are suppose to do lots of things, e.g. LUN masking, to stop iSCSI hanging, but that only became an issue in 5.x.
otherwise it's long and involved at the SSH or console prompt, trying to find the process, and shut it down.
otherwise it's long and involved at the SSH or console prompt, trying to find the process, and shut it down.
ASKER
So is ok to remove the lun from the san and then do the hba rescan and will this remove the datastore or will it stay on the host but greyed out?
That's a 50/50 question.
if it is "in use" it will remain grayed out.
if it is "in use" it will remain grayed out.
ASKER
No it is not is use which is why I don't understand why it gives me an error when trying to delete it..
Nothing ever is easy is it?? lol
Nothing ever is easy is it?? lol
ASKER
removed host access to lun via san..
That worked. Thanks once again Andrew...
That worked. Thanks once again Andrew...