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

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

  • 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.

  • 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é

  • 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

  • Cannot remove dumpfile created volume vmfs - 5.5

    I have a 5.5 with only local storage server I recently upgraded to 5.1.

    A few days ago I had inventoried all my VM folders on the next partition:

    / vmfs/volumes/comments.

    Today, when cleaning latest virtual machines, I find the following:

    /vmfs/volumes/guest/vmkdump/44454C4C-4400-1048-805A-C7C04F4C4631.dumpfile

    I don't know what created this... I understand there dumpfiles that can be created on PSODs, but I can't find any reference to a real folder called "vmkdump."

    When I try to delete it, I get the following:

    / vmfs/volumes/524f80a6-f18c10c7-2 c 16-001e4f204bc4/vmkdump # rm - rf 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile

    RM: cannot remove ' 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile': device or resource busy

    I looked at various KBs and I can't understand it:

    -lsof does not list this file or directory

    -all virtual machines have been cut (maintenance mode)

    -the server has been restarted several times

    I found the following info that may be useful:

    VMkernel.log shows (apparently at the start):

    VMkernel.log:2013 - 10-17 T 03: 13:28.048Z cpu3:70444) FS3: 196: START 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 13:28.048Z cpu3:70444) FS3: 198: END 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 17:10.392Z cpu6:70981) FS3: 196: START 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 17:10.392Z cpu6:70981) FS3: 198: END 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 33:22.900Z cpu0:73786) FS3: 196: START 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 33:22.900Z cpu0:73786) FS3: 198: END 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 40:31.233Z cpu7:75668) FS3: 196: START 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 40:31.233Z cpu7:75668) FS3: 198: END 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 41:25.409Z cpu3:75805) FS3: 196: START 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 03: 41:25.409Z cpu3:75805) FS3: 198: END 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 04: 36:02.444Z cpu3:36299) FS3: 196: START 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    VMkernel.log:2013 - 10-17 T 04: 36:02.444Z cpu3:36299) FS3: 198: END 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile >

    Also, I get the following with vmkfstools result:

    / vmfs/volumes/524f80a6-f18c10c7-2 c 16-001e4f204bc4/vmkdump # vmkfstools d 44454C4C-4400-1048-805 a - C7C04F4C4631.dumpfile

    Lock [type 10 c 00001 compensate 206995456 v 2409, hb offset 3920384

    GEN 27, mode 1, owner 525f6851-c5108b26 -001e4f204bc4 mtime ce23 - 645

    [num 0 gblnum 0 gblgen 0 gblbrk 0]

    < 4, 465, 104 > addr gen 2238, links 1, type reg, flags 0, uid 0, gid 0, mode 100666

    Len 166723584, n. b. 159 tbz 0, 0, newSinceEpoch 159 cow, mrz 1, bs 1048576

    According to KB 10051, the number of updates in bold above is intended to indicate the MAC address of the owner of the lock.  Which makes absolutely no sense to me, that's the address, it belongs to the second internal NETWORK card in this system:

    list/vmfs/volumes/524f80a6-f18c10c7-2 c 16-001e4f204bc4/vmkdump # esxcli network nic

    Name PCI Device Driver link speed Duplex MAC address MTU Description

    ------  -------------  ------  ----  -----  ------  -----------------  ----  -------------------------------------------------------------

    vmnic0 bnx2 up to 1000 Full 00:1e:4f:20:4 b 0000:003:00.0: c2 1500 Broadcom Broadcom NetXtreme II BCM5708 1000Base-T Corporation

    vmnic1 bnx2 0000:007:00.0 half low 0 00:1e:4f:20:4 b: c4 1500 Broadcom Broadcom NetXtreme II BCM5708 1000Base-T Corporation

    As you can see that this NETWORK adapter is in down state... it is not plugged in and has never been used (recently) for anything.

    EDIT - Holy coincidence Batman!  It seems that the Mac address of my second card happens to match exactly the last UUID of some of VMFS volumes section!

    / vmfs/volumes # esxcli list of file system storage

    Mount a Volume mounted UUID Type size free name

    -------------------------------------------------  -----------  -----------------------------------  -------  ------  -------------  -------------

    / vmfs/volumes/524f80a6-f18c10c7-2 c 16-001e4f204bc4 invited true VMFS of the 524f80a6-f18c10c7-16-001e4f204bc4-5 1999038840832 2 c 1153078132736

    swap/vmfs/volumes/5250f9ba-1c2084a1-ccc8-001e4f204bc4 5250f9ba-1c2084a1-ccc8-001e4f204bc4 true VMFS-5 493384368128 492335792128

    / vmfs/volumes/52583d 27-570697be-161 b - 001e4f204bc4 52583 d 27-570697be-161 b - real 001e4f204bc4 4293591040 4161273856 vfat

    / vmfs/volumes/d789b775-b425486f-ac6f-1a3cee25ec3d d789b775-b425486f-ac6f-1a3cee25ec3d true 261853184 13754368 vfat

    / vmfs/volumes/492adf74-59b63f60-76FA-01385be4c120 492adf74-59b63f60-76fa-01385be4c120 true 261853184 97005568 vfat

    / vmfs/volumes/506469eb-d746eb51-3D 506469eb-d746eb51 - 3 d 04-001e4f204bc4 04-001e4f204bc4 true 299712512 99147776 vfat

    If the NIC information above seem to be a loophole... and the owner of the directory in question seems to be simply the volume itself (?)

    I'm worried because not only I want to remove this file from my store of data (or at least understand the need for it), but because of the small cryptic information that I can see so far I don't think that sounds a coredump is / was being created.

    To the best of my knowledge, this system has no other problems, it starts very well and apart from some other errors not apparent, miners, I saw in newspapers, I know not what could be the cause.

    Advice is very welcome as to what is happening!

    Yes NightWing... the coredump file is 5.5

    Size of the system increases lead to larger ESXi unannounced dumps core. The partition of coredump for new installations of ESXi 5.5 is 2.5 GB. For upgrades from previous versions of ESXi 5.5, the core dump partition is limited to 100 MB for ESXi crashes. For many large systems, this limit is not enough space and dump logs are truncated. The limit has an impact on the ability of triage ESXi system issues and the core.

    Updates with limits on partitions of 100 MB, during the boot process, the system might create a dump file. If it does not create a dump file, you can create it manually with the command of file coredump esxcli system.

    The partition which added isn't the vmfs partition, but since the partition created during installation esxi coredump.

    No, you can not have created /vmkdump if you do not have a coredump in vmfs.

    If you think, that your esxi broke down somewhere, look at/var/core... If any coredump is, your Inbox may have thrown some time, otherwise you're good to go.

    In addition, in the case of vmfs partition coredump configured, once you have deleted the file, a new file will be in place if and only if your box has panicked and dumped core.

    Documentation Centre of vSphere 5.5

  • 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.

  • Cannot remove the flash drive obsolete no matter what I do

    Have tried everything told to do but still support cannot remove the obsolete shock wave. the file is not on my computer. also when I put never activate it does for the latest version. How can I remove what it is causing crashes because the 2 versions

    Hello, please type Subject: plugins in the address bar - it should list all the available plugins, including their location on the file system.

  • Cannot remove syncing videos to the iPhone (hroniz) ed from iTunes?

    Hello.

    After to tell iTunes to sync my very old Windows Update (hronize)

    HDD XP Pro SP3 on my iPhone 4 (iOS v9.3.1), I noticed the video iPhone

    Cannot remove copies. Is it normal? I wanted to delete his

    copy to free disk space after watching them.

    Thank you in advance.

    You must connect your phone to your computer and the unsync.

  • 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.

  • Cannot remove iCloud backup of my old iphone

    I upgraded from an iPhone 4 to a 6 s iPhone yesterday. Activation and downloading my settings and applications from the iCloud went perfectly. I am now trying to delete the backup of the iPhone 4 on the iCloud, so I can have enough space to save my iPhone 6 s. I get a message, "this backup cannot remove because it is in use". Any suggestions?

    Hi Poppabear5,

    Congratulations on your new iPhone 6 s! I understand that you have a problem with deleting your iPhone upward iCloud. Let's see if we can understand what is happening.

    The type of message you see, looks like your iPhone 6s is not made backup upward. The best way to confirm this is to see if it is possible to make a backup with your iPhone 6s and see if Yes see a message in the sense of "this iPhone is currently being restored and will back up automatically when it's done.". If this is the case, then you want to wait for the restore before you delete the backup. Another thing to think about is if you still have your iPhone 4, make sure it is not turned on and backup. It would be considered in service as well.

    iCloud: alert messages of understanding when restoring a backup to iCloud
    https://support.Apple.com/en-us/HT203756

    Nice day

  • Novice... need a simple program to open all my doc. & post pdf file in my documents. Just upgded. for Win7, accidentally chose Win Media Cntr. don't want that & cannot remove it. Answers, thanks, Russell.

    Tech file transferred my documents to an open 500 Gig HD could not all files. Continued w/Win med Cntr. program, I accidentally chose to open my files. Cannot remove Win Med. CNTR... How?

    Hi, Russell,.

    Right-click on the file and select open with

    Select Choose program to choose the program you want to open the file

    . Doc is an extension that is associated with the Microsoft Word application

    . PDF is an extension associated with Adobe Reader

    How can I change this program opens a specific file in Windows (applies to Windows 7)

    http://www.FileInfo.com/help/windows_change_program

Maybe you are looking for