VMware Cloud Community
dominoforever
Contributor
Contributor

vSphere 5 - Delete VMFS

Hi,

I would like to delete my old VMFS3 to re-create them to take advantage of VMFS5. When I try to delete the volume I have a error like the ressource 'VMFS1' is in use.

I migrated all VMs to another VMFS and the datastore is empty. I don't know why I can't delete it.

Could you please help me?

Thanks.

Reply
0 Kudos
7 Replies
vmroyale
Immortal
Immortal

Check out http://kb.vmware.com/kb/2011506 for the correct procedure to remove the datastores.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Reply
0 Kudos
dominoforever
Contributor
Contributor

When I try to detach the device, I have a message with a red cross : The device is not used by a datastore. The 2 other options are green.

What can I do to fix this?

Reply
0 Kudos
CSSMP
Enthusiast
Enthusiast

Did you do a "rescan all" to see if it will release it? Else more than likely you have to go to CLI or SSH to host to remove.

Reply
0 Kudos
a_p_
Leadership
Leadership

You may try to use e.g. RVTools (http://www.robware.net/) to see whether there's a reference to this datastore by e.g. a mapped ISO file. Other reasons could be an active snapshots which has initially been created for a VM on this datastore.

Btw. instead of deleting and re-creating the datastore, you can also live upgrade it to VMFS-5. When you highlight the datastore in Configuration -> Storage, you should see an Upgrade link.

André

Reply
0 Kudos
aravinds3107
Virtuoso
Virtuoso

Check if the datastore is part of datastore cluster or used by vSphere HA, if you have an option to reboot one of your host you could try that.

Also see Unmount VMFS datastore to check the datstore used by any of the feature and see KB2011220

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful |Blog: http://aravindsivaraman.com/ | Twitter : ss_aravind
Reply
0 Kudos
dominoforever
Contributor
Contributor

I do a rescan but I have the same error. I installed RVTools but no ISO file are mapped.

I read that if I upgrade directly to VMFS5, I will lose space disk. Is that true?

Thanks.

Reply
0 Kudos
a_p_
Leadership
Leadership

I never heard about of loosing disk space. Take a look at http://blogs.vmware.com/vsphere/2011/07/new-vsphere-50-storage-features-part-1-vmfs-5.html to see what the differences are between an upgraded and a new VMFS-5 datastore.

André

Reply
0 Kudos