Help! Cannot remove datastore - 'in service '.

I tried all the suggestions there and still cannot delete a data store in my vCenter.

(I was not able to restart the hosts, or even put them in maintnenace - is not an option at the moment).

2-

I did the following:

-migrated all VM.

-checked the vmx files all references to the data store

-2 VMS found not in the inventory or under tension, which reference the data store - changed those

-delete the folder .dvsData of the data store

N ' is not used for HA (2 guests are not in a cluster)

-made sure the IO control is disabled on all hosts

-even chained: VMware experience before: how to disable the control of i/o storage for an unavailable data store

-No snapshots exist on any virtual machine that * have * on this data store

-also checked for orphans * - 00000x.vmdk on the migrated virtual machine - there is

-disassemble the data store

-It works from a host, but not the other.

-disassembly of host1 gives the Red 'X' on ' there is no virtual machine (all others are green).

-host2 disassembly disassemble the datastore on host2 but it always displays mounted on host1

-remove the data store (whether or not they are mounted) fails with the error "current resource of use"

SUCCESS!

I wanted to say that I did restart services.sh since a SSH session.

It does not work.

Then I noticed I could remove, choose disassemble it a session directly to host2, but always without success.

I went back to vCenter and got the red X on 'active VM' as soon as I tried to take it apart by the same host (Yes... Ah... the host will allow me to choose the unmount, but vCenter isn't... hmmm).

I restarted the server vCenter, and Orient the data before vCenter services store could begin.

Not sure if restarting vCenter did the trick, or disassembly and removal * before * vCenter services could begin did the trick.

THANKS A LOT FOR YOUR HELP!

ANSWER:

OP, do all these things.

-Check the process opened using this:

vsish EI ls/storage/scsifw/devices /<"naa. id="" of="" your="" datastore"="">/worlds/ | sed ' s: /:' | while read i; do ps | grep $i; done

-Restart management on one or more hosts agents: services.sh reboot

-Restart the server vCenter (or at the very least, restart the services of vCenter).

At some point in this list, you should be able to dismantle and remove the data store.

Tags: VMware

Similar Questions

  • Cannot remove Datastore ESX 3.5

    Hi ESX veterans.

    I am a novice using ESX, and lately I just install ESX on a new Dell server, with 6 x 450 GB configured in a Raid 5 environment. I realized that once the ESX is complete, and VI client infrastructure is installed, there will be a default data store created using all available space with a block size of 1 MB.  In the latest installation of couple on older servers (which worked well), I simply remove the data store and to recreate another large block data store, so I can do a greater volume to install my OS.  But this time, I get this error:

    Configuring the host error: DestroyVmfsDatastore: cannot remove partition 2 on lun vmhba1:0:0

    I tried looked up the forums, but none seemed suggestion a resolution in my case.  (perhaps of persons using a SAN... etc, but the mine are internal HD from the server).  Some said that to do a re-scan, some have said go to maintenance mode, some said re - install all the ESX Server, which I've tried all.  But just can not remove this data store.  Acutally, I have not "mind leaving this one data store, as long as I can create a volume larger than 256 GB it contains.  Can anyone give me any suggestions?  Thank you.

    WingKChan

    Hello Wingchan,

    I don't think so that you can delete the partition your ESX Server, which is the more necessary to partition VMFS. You can delete when you have several stored VMFS mounted on your ESX. I'm assuming that the... but not sure.

    However, since you have to change the size of the block. You can try the VMFSKTOOLS command to change the size of the block. Remember that you will lose all the systems of comments that uses this data store. Please move them to the secure location if necessary.

    I put a link here to how to change the size of the block. (not my blog, obtained through Google)

    http://techblog357.blogspot.com/2008/01/ESX-Server-35-general-system-error.html

    To run this command, you must take the ESX Server console.

    Thank you

    Shan

  • Cannot remove datastore to vmfs - ESX 3.5

    Hello. I'm trying to remove a vmfs datastore but I get the following error:

    "Error while configuring the host: DestroyvmfsDatastore: can't delete partition 1 on lun vmhba1:0:4 '.

    Here is what I tried so far but did not helped:

    (1) new storage analysis... .no luck

    (2) put ESX in maintenance mode and tried to delete... .no luck

    (3) I rebooted the ESX Server and tried to delete... no luck

    (4) I used the command fdisk/dev/sdd1: d (to remove the partition)... This option has shown "no partition is still defined.

    All the other things I can try to remove the vmfs data store? Please notify

    If you have found this device or any other answer useful please consider useful or correct buttons using attribute points

    Shan

  • Cannot remove datastore, said there are still two VMS that do not exist

    I move VM to my new cluster data store and as I release a DS I have delete and create new with VMFS5. I just emptied a data store but when I run the following command to PowerCLI or try to disassemble the DS it says two VM's on this same property that when I travel the DS DS it is empty.

    Get-datastore-name "DS_NAME | Get - vm | FT name

    How and why these two VMs say they are on two warehouses of data, even if a single DS is empty. I don't want to just delete the DS not knowing not if it would cause a problem with those VMs. When I look at the settings them of each virtual machine they show that they are on a data store, and not that I'm trying to delete.

    Any help is appreciated

    Please check if there is still a reference to this data store of any of the virtual machines (for example a file .iso mounted). If you have no VM with Active snapshots, where one of the snapshot has / has references in this data store, you will need to get rid of these clichés.

    Depending on the size of your environment, RVTools (http://www.robware.net/) can be very useful for a complete overview. It provides great insight, including the configuration of readers of virtual CD-ROM and their associate, .iso files as appropriate.

    André

  • [Help] Cannot remove the application

    Hello

    I am facing a problem to remove the application from my phone. I use the plugin Eclipse of Blackberry to install the application and the problem is that I can not remove this application, because there is no delete option in the home screen and Application Manager. This problem occurs after I update my Blackberry plugin.

    Is there anyone facing this problem?

    Thank you

    You can use javaloader to remove an application.
    syntax:
    JavaLoader u - wpassword clear f modulename.cod

  • Need help: cannot remove the snapshot - score 98% full

    I have a VM ~ 25GB that runs on my first VMWare Server for about a year. It's in a 30 GB partition, but at some point, a snapshot is created. I don't remember this, but I must have. I can't merge the snapshot using VMWare infrastructure Web Access; the option is not available. I don't see the snapshots by looking at the directory via SSH consle.

    I have another partion available is the same size.

    It is a production server and it seems that I need to deal with that immediately.

    I would like to apprecte suggestions or references to helop to solve me this problem.

    -Thank you,

    John

    removal of files inside the guest is contra-productive - it will enlarge only snapshots.

    Hmm - so you say version 2.0.2 also has this bug?

    So either copy the VM is much more big disk and use the shortcut function to remove a snapshot - or copy it to USB and plug this drive into a host Workstation with installed.

    Or - this would work as well with VMserver2...

    Add a second disk of the virtual machine - nominal size just a little more grand, then one you have now - in a Knoppix live CD boot and

    If DD \u003d/dev/sda of = / dev/sdb

    When the sda is the original disc and the DSP is the new

    ___________________________________

    VMX-settings- WS FAQ -[MOAcd | http://sanbarrow.com/moa241.html]- VMDK-manual

  • Cannot remove SAN inactive datastore (control enabled storage IO)

    Hello

    I had a few SAN Datastore mounted on Vsphere ESXi 4.1 and we moved all the VMDK to the local data store to recreate a single data store. I forgot to remove Datastore before washing on SAN volumes, so they appear as "inactive". Cannot delete volumes because it shows error below

    call 'HostDataStoreSystem.RemoveDatastore' of object "datastoreSystem-104"on vCenter Server "xxxx" failed."

    Cannot remove datastore "XX_Vol1" because store I / 0 control is enabled on this subject. " Correct it and try the operation again.

    I know the storage i/o control is activated. I looked at the VMware KB which runs e/s storage disabled control to remove the volume. "When I tried to uncheck control IO, I another error 'datastore' isn't accessible.

    So I kind of know how I can disable the storage i/o control in order to remove inactive datastore.

    Would appreciate any help.

    Mo.

    check this: http://communities.vmware.com/thread/300953

  • I have kernel_task, in my mac pro book, I can see it in the activity monitor is but cannot remove ' tried everythin... I'm lost now... Please help

    I have kernel_task, in my mac pro book, I can see it in the activity monitor is but cannot remove ' tried everythin... I'm lost now... Please help

    Tried force quit.

    What happened to restart? When you restart your mac, the process begins again.

    Another option is abandonment of the process with the terminal. Just search in google for it.

  • Webpage cannot be rated (rating service unavailable), help?

    Webpage cannot be rated Guard (service unavailable rating) that appear on my laptop (dell inspiron) 1525 therefore do not allow me to access Web sites. How to make the "rating service" available?

    Hi srnivasan,

    Have you tried one of the measures suggested by Marilyn?  (See below)
    What is happening to administrative users as well or just the Standard users who have implemented Parental controls?
    One thing I would try is to go to Parental control, turn it off, restart, then turn it back on. It works correctly now?

    Another suggestion would be to create a new user account for the standard user and activate the parental control. Does
    This new user with the same problem?

    Have you tried to use a system restore back to an earlier point in time where worked the parental controls
    and doesn't block is not Web pages?

    Please use the following article in the Microsoft Knowledge Base to help a system restore:

    936212 KB - how to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212

    Please try and cela and let us know the results.

  • I have many PDF files on my PC which one cannot remove, it becomes very messy and very annoying. Help, please?

    I have many PDF files on my PC which one cannot remove, it becomes very messy and very annoying. Help, please?

    In Windows Explorer click the icon "show preview pane" on the right side of the toolbar. Whenever a PDF file is opened in the preview pane, Windows treats as "in use" and will not allow that it be modified or deleted.

  • Windows cannot remove your homegroup computer form

    Hi all! I had difficulties to remove the computer from my dad in my old network homegroup. However it is stated below:

    Someone please help.

    Hi Christophe,

    I understand that you cannot remove a computer from the home group.

    This power is produced if a file has been corrupted and remove it got the operation of the PNRP service. The file has been re-created correctly when the PNRP service started upward. Here is the file for future reference:

    C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\PeerNetworking\idstore. OHS. "

    I suggest check the link and check how can I remove a computer from a homegroup.

    Homegroup: frequently asked questions


    http://Windows.Microsoft.com/en-us/Windows7/HomeGroup-frequently-asked-questions

    Leave a homegroup


    http://Windows.Microsoft.com/en-us/Windows7/leave-a-HomeGroup

    Hope that helps you remove the computer from the home group. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

  • Cannot remove data VMDK file store

    Hello

    I tried to solve a problem where we can't delete the 2 files hard below (since a ls - la in ssh)

    -rw - 1 root root 262144 Jul 31 13:55 2010 - 10 a-000001 - delta.vmdk
    -rw - 1 root root 133711265792 Jul 31 13:55 2010-10A - s001.vmdk

    I tried a rm without success:

    The virtual machine is more listed in VCentre (I tried to delete data store manager), I believe that files can be locked for a reason, but I don't know enough to determine whether it is safe to kill the s pid which seem to use the folder:

    [MS root@ESX1 server demo disk] # lsof | grep 'Disc of demo of MS Server'
    disc of demo server lsof 1317 root cwd DIR 0,18 560/vmfs/volumes/4fb703b6-bb64840f-e817-02215eccbdbb/MS 21592
    disc of demo server grep 1318 root cwd DIR 0,18 560/vmfs/volumes/4fb703b6-bb64840f-e817-02215eccbdbb/MS 21592
    disc of demo server lsof 1319 root cwd DIR 0,18 560/vmfs/volumes/4fb703b6-bb64840f-e817-02215eccbdbb/MS 21592
    bash 16678 disc of demo server root cwd DIR 0,18 560/vmfs/volumes/4fb703b6-bb64840f-e817-02215eccbdbb/MS 21592

    No results appear if I lsof files themselves.

    I can kill these processes? I have not the option to restart the server.

    I've also seen mention of restart /sbin/servicesservices. SH , but I'm hesitant because I don't know what this will do - how does affect other virtual machines running?

    I'm running ESX 4.0.0 208167 (according to VCentre) and I watched as a result of discussions among others:

    http://communities.VMware.com/message/2037529

    http://communities.VMware.com/thread/126894

    http://communities.VMware.com/thread/246141

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 10051


    Any help is greatly appreciated


    [MS root@ESX1 server demo disk] # rm - rf 2010-10A - 000001 - delta.vmdk
    RM: cannot remove "2010-10A - 000001 - delta.vmdk': device or resource busy"

    I've also seen mention of restart /sbin/servicesservices. SH , but I'm hesitant because I don't know what this will do - how does affect other virtual machines running?

    You can restart the services... There will be no impact to the VMS running... also try to restart VMware vCenter services (services.msc)

    If the above does not work, then restart the host seems to be the fastest and the most secure option.

  • Failure of power CLI remove Datastore

    The Installation of ESXi generates a "datastore1".

    It is possible to generate an additional data store named 'Datastore1' via PowerCLI.

    The name is keysensitive, because it is not possible to generate an additional "datastore1".

    I have the following problem:

    With CLI power, it is not possible to remove the Datastore1 or datastore1.

    the command remove-data store with the parameter of the data store name cannot remove the data store,

    with error: there is more than one object with the name 'datastore1 '.

    In this command, the name is not supported keysensitive.

    It is not possible to use the ID of the store of data as a parameter for the deletion.

    Anyone have an idea how I could handle this problem with Power CLI?

    Thanks for the help!

    Chris

    What you can do to remove a specific data store, is to use the operator - ceq PowerShell which performs a case-sensitive comparison. Something like:

    Get-Datastore | Where-Object { $_.Name -ceq "Datastore1" } | Remove-Datastore
    

    If you want to remove both you can do:

    Get-Datastore | Where-Object { $_.Name -eq "Datastore1" } | Remove-Datastore
    

    Robert

  • Cannot remove an e-mail account - no under account settings removal tool

    Use Thunderbird 24.5.0. Not having only not under one account choice account delete option. I tried to delete an e-mail account, but cannot remove or delete it. I read your solution but no delete option in the drop-down list in the account settings. help lease

    How about you go to the Tools menu > modules and disabling the add-on!

    Not that I can find a "manually change the files' on the site of the add-on.

    I can find a manually records sort that does exactly what it says, but does not add and the columns you show. I can also find "additional folder columns" which aims to give your comments headers. The page Add on like the third picture shows a right click option or click to turn on the power on and off columns.

  • Cannot remove the ghost folder. Error message: there is no such mailbox

    When I configure Thunderbird to connect to my Alpine Webmail, I had to rearrange my folders. Cannot remove a folder titled "mail" because according to TB "there is no such mailbox" but still shows on the tab my folders. I read through the previous discussions and have tried to unsubscribe the ghost folder, but that did not work or the other. I have a Mac OSX if this affects what it is. Please let me know if you have any suggestions. Thank you.

    Hello world. I solved the problem... somehow. By removing the account of Treasury Board and put in place again, TB has been able to sync with the files that were on Alpine. The ghost folder still presented (despite not existing not not on the Alpine site), but by changing the directory to the IMAP server of "mail" to "mailbox" the ghost folder disappeared. I found myself with records who have been named oddly (most likely due to the change of the name of directory) so when I changed the IMAP server directory to "mail" it reset my files with the way they were, with the exception of the ghost folder, that was no longer there. I'm not entirely sure why it worked, but in case someone else has a similar problem, I recommend to give it a try.

    Thank you all for your comments and help.

Maybe you are looking for

  • Attempts to deploy the GPO's default 7.0.0.102

    Hey everybody, I worked on this problem for about a month now! I can't get to deploy in any of my network. I can get the configuration of the installation to go through but I can't for the life of me to get the actual program to go well! Please, need

  • I can't save eprint. HP Photosmart 7520

    HP tells me to register first on SNAPFISH, I did. It says that my password can be used on SNAPFISH and eprint. But it won't let me register on eprint with the same password. I really need eprint. What should I do?

  • Configuration of updates 3 of 3-0% complete do not turn on your computer

    On start up there is a black screen with 2/15326 (_0000000000000000.cdf - ms) showing before it continues its cycle of configuration updates 3 of 3-0% complete do not turn off your computer

  • Window film LOSER-lists contained only place holders, not actual video

    I imported 14 strips with almost 16 hours of video on them in Windows Movie Maker and took a lot of time if it is no longer on a 2-day period sorting in 20 categories probably 16 seporate DVD video. This morning, I was going to start this process, bu

  • Verizon phones

    Can I replace chrome with Windows on a verizon LG phone?