Solved

Unable to remove empty VMFS3 datastore The resource is in use. ?

Posted on 2010-11-11
16
6,126 Views
Last Modified: 2012-05-10
Hi Everyone,

I'm having problem with deleting my empty VMFS3 datastore I have restarted the host already but somehow it is still stuck cannot bedeleted, can anyone help me in deleting this empty VMFS3 datastore please ?

Thanks.
VMFS3.jpg
0
Comment
Question by:jjoz
  • 7
  • 4
  • 4
  • +1
16 Comments
 
LVL 23

Assisted Solution

by:jakethecatuk
jakethecatuk earned 167 total points
Comment Utility
Under storage, delete the datastore before trying to delete the disk.
0
 
LVL 1

Author Comment

by:jjoz
Comment Utility
yes that's what I did Jake.
I don't know why it is so hard just to remove blank / empty datastore ?
0
 
LVL 40

Expert Comment

by:coolsport00
Comment Utility
If its on the same disks as your ESX/i install, you'll get an error.

~coolsport00
0
 
LVL 1

Author Comment

by:jjoz
Comment Utility
actually no, my ESXi is installed in the USB drive, but you might be right somehow the disk usage and the free disk space doesn't match.
0
 
LVL 40

Expert Comment

by:coolsport00
Comment Utility
Did you ever have anything (VMs, Templates, etc.) in this datastore before? If so, and you moved them to a new location, remove the VM and/or template from inventory (do NOT delete from disk). Go in the datastore browser window where the VM/template resides and right-click the .vmx or .vmtx file within the VM/template folder and select 'Add to Inventory', then power on the VM. Go back to this problem datastore (robo1_vmfs2) and then try to delete/remove it.

And, another thought...do you have any .iso files that you uploaded on that datstore at any time?

~coolsport00
0
 
LVL 40

Expert Comment

by:coolsport00
Comment Utility
See this KB re: my 2nd query:
http://kb.vmware.com/kb/1015791

~coolsport00
0
 
LVL 4

Assisted Solution

by:mail2vijay1982
mail2vijay1982 earned 167 total points
Comment Utility
login into individual servers using VI client and removing it mannualy

Go through below link
http://communities.vmware.com/thread/234279
0
 
LVL 1

Author Comment

by:jjoz
Comment Utility
thanks for the quick reply man,

here's what I got when try to delete it manually from direct vSphere client login to the affected host. (RORO1)
Error during the configuration of the host: DestroyVmfsDatastore: can't delete partition 3 on lun naa.6001ec90eef46b0012a786ee0c89ad75

Open in new window

0
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
LVL 23

Expert Comment

by:jakethecatuk
Comment Utility
0
 
LVL 1

Author Comment

by:jjoz
Comment Utility
thanks for the help anyway sir,
the datastore still exist (-_-)" i don't know why it seems this getting more2 complex.
~ # cd /vmfs/devices/disks/naa.6001ec90eef46b0012a786ee0c89ad75

-ash: cd: can't cd to /vmfs/devices/disks/naa.6001ec90eef46b0012a786ee0c89ad75

~ # cd /vmfs/devices/disks

/dev/disks # ls

mpx.vmhba32:C0:T0:L0

mpx.vmhba32:C0:T0:L0:1

mpx.vmhba32:C0:T0:L0:4

mpx.vmhba32:C0:T0:L0:5

mpx.vmhba32:C0:T0:L0:6

mpx.vmhba32:C0:T0:L0:7

mpx.vmhba32:C0:T0:L0:8

naa.6001ec90eef46b0012a786b809515426

naa.6001ec90eef46b0012a786b809515426:1

naa.6001ec90eef46b0012a786e10bc353c4

naa.6001ec90eef46b0012a786e10bc353c4:1

naa.6001ec90eef46b0012a786ee0c89ad75

naa.6001ec90eef46b0012a786ee0c89ad75:1

naa.6001ec90eef46b0012a786ee0c89ad75:2

naa.6001ec90eef46b0012a786ee0c89ad75:3

naa.60024e80004e3454000006514a353d7f

naa.60024e80004e3454000006514a353d7f:1

naa.60024e80004e3d60000003824a008f9e

naa.60024e80004e3d60000003824a008f9e:1

naa.60024e80004e3d6000000aaf4bc6572c

naa.60024e80004e3d6000000aaf4bc6572c:1

naa.6a4badb0004553eb000008704c031c1a

naa.6a4badb0004553eb000008704c031c1a:1

naa.6a4badb0004553ff000008c24c030a6b

naa.6a4badb0004553ff000008c24c030a6b:1

naa.6a4badb0004553ff000008c54c030ada

naa.6a4badb0004553ff000008c54c030ada:1

vml.0000000000766d68626133323a303a30

vml.0000000000766d68626133323a303a30:1

vml.0000000000766d68626133323a303a30:4

vml.0000000000766d68626133323a303a30:5

vml.0000000000766d68626133323a303a30:6

vml.0000000000766d68626133323a303a30:7

vml.0000000000766d68626133323a303a30:8

vml.02000000006001ec90eef46b0012a786b809515426504552432036

vml.02000000006001ec90eef46b0012a786b809515426504552432036:1

vml.02000000006001ec90eef46b0012a786e10bc353c4504552432036

vml.02000000006001ec90eef46b0012a786e10bc353c4504552432036:1

vml.02000000006001ec90eef46b0012a786ee0c89ad75504552432036

vml.02000000006001ec90eef46b0012a786ee0c89ad75504552432036:1

vml.02000000006001ec90eef46b0012a786ee0c89ad75504552432036:2

vml.02000000006001ec90eef46b0012a786ee0c89ad75504552432036:3

vml.020000000060024e80004e3d60000003824a008f9e4d4433303030

vml.020000000060024e80004e3d60000003824a008f9e4d4433303030:1

vml.02000000006a4badb0004553ff000008c24c030a6b4d4433303030

vml.02000000006a4badb0004553ff000008c24c030a6b4d4433303030:1

vml.020001000060024e80004e3454000006514a353d7f4d4433303030

vml.020001000060024e80004e3454000006514a353d7f4d4433303030:1

vml.02000100006a4badb0004553eb000008704c031c1a4d4433303030

vml.02000100006a4badb0004553eb000008704c031c1a4d4433303030:1

vml.020002000060024e80004e3d6000000aaf4bc6572c4d4433303030

vml.020002000060024e80004e3d6000000aaf4bc6572c4d4433303030:1

vml.02000200006a4badb0004553ff000008c54c030ada4d4433303030

vml.02000200006a4badb0004553ff000008c54c030ada4d4433303030:1

/dev/disks # file naa.6001ec90eef46b0012a786ee0c89ad75

-ash: file: not found

/dev/disks # cd..

-ash: cd..: not found

/dev/disks # fdisk /vmfs/devices/disks/naa.6001ec90eef46b0012a786ee0c89ad75



The number of cylinders for this disk is set to 42589.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

   (e.g., DOS FDISK, OS/2 FDISK)



Command (m for help): d

Partition number (1-4): 1



Command (m for help): w

The partition table has been altered!



Calling ioctl() to re-read partition table

/dev/disks # vmkfstools -V

/dev/disks # esxcfg-scsidevs -l | grep -i naa.6001ec90eef46b0012a786ee0c89ad75

naa.6001ec90eef46b0012a786ee0c89ad75

   Display Name: Local DELL Disk (naa.6001ec90eef46b0012a786ee0c89ad75)

   Console Device: /vmfs/devices/disks/naa.6001ec90eef46b0012a786ee0c89ad75

   Devfs Path: /vmfs/devices/disks/naa.6001ec90eef46b0012a786ee0c89ad75

/dev/disks #

Open in new window

0
 
LVL 23

Expert Comment

by:jakethecatuk
Comment Utility
after you completed the link I sent you, have you tried deleting the disk again?
0
 
LVL 1

Author Comment

by:jjoz
Comment Utility
yes, still the same problem (-_-)" i couldn't believe it, I've done it through SSH console but still it failed to delete ?!?!
thanks anyway Jake for the response and help.
0
 
LVL 23

Expert Comment

by:jakethecatuk
Comment Utility
The only other thing I can think of trying is to delete the RAID array at a controller level, reboot and then delete it in ESXi
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 166 total points
Comment Utility
My last suggestion is the same as what "jake" suggests...just delete the sucker in your RAID and start from scratch. I'll continue digging to see what else I can find. There was a post on here a couple mos back re: the same issue, but the poster still hasn't replied as to whether the fixes suggested in it worked, which by the way are pretty much the same suggestions "jake" and I suggested.

~coolsport00
0
 
LVL 1

Author Comment

by:jjoz
Comment Utility
well that may be the good way to try it on.
let me try it this weekend.
0
 
LVL 1

Author Closing Comment

by:jjoz
Comment Utility
thanks man !
delete it from the RAID set works fine as it is operating lower than the hypervisor.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
vmware 1 48
Vmware 5.5 3 21
Need a webhosting service without the tricks and BS 2 17
host is in not responding state 3 36
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now