Solved

unable to remove datastore

Posted on 2015-02-22
7
299 Views
Last Modified: 2015-03-17
I am unable to delete a one of the the datastore which was created for test on starwind Software based storage and then we remove the software based storage.

i am having esxi 5.5 following is the path of that datastore

ds:///vmfs/volumes/vsan:522ec4742912aa48-1d807bc397b3a60b/

i tried to delete by renaming this data store but no luck.
the data store named which i want to delete is named as "test"
datastore-names.docx
0
Comment
Question by:kastro Abbasi
  • 3
  • 3
7 Comments
 
LVL 25

Accepted Solution

by:
Zephyr ICT earned 500 total points
ID: 40625213
Was the datastore used for VSAN (seeing the name mentioned)?

If so, you might still have a vsantraces folder on the datastore, this needs to be deleted before you can delete the store.

You can delete these folders by first stopping the vsan trace service (but watch out if you still use this service), stopping this service can be done over the cli:

/etc/init.d/vsantraced stop

Open in new window


Use "start" in place of stop to start the service once you've deleted the vsantraces folders on the datastore you wish to delete.
0
 

Author Comment

by:kastro Abbasi
ID: 40625224
There is nothing in this data store and even the storage having this datastore is also removed
the datastore is empty
 
anyways i run this command and try to delete but no luck.the same error as attached
datstore-deletion-error.png
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40625285
Are you absolutely sure the datastore is empty? No hidden files to be found? Did you look using cli?
Most of the time these issues are related to files still to be found on the datastore.

Also, run over the list mentioned in this VMWareKB to make sure that all is checked for removing a datastore.

If all fails, please provide us with some more information regarding your environment, what were testing, what happened before trying to remove the datastore... etc...
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:kastro Abbasi
ID: 40625360
~ # esxcli storage vmfs extent list
Volume Name     VMFS UUID                            Extent Number  Device Name                           Partition
--------------  -----------------------------------  -------------  ------------------------------------  ---------
datastore1 (1)  53703261-7960360c-b700-d89d671c0a34              0  naa.600508b1001c603cc8045033b8319426          3
Datstore-03     5385145a-ae03c0b3-9117-d89d671c0a34              0  naa.6006048ccc663d7695f542b675ff2aba          1
~ #

even the data store which i m deleting is not there.i checked nothing on this data store .its empty even not attached .i dont know from where it  appearing here .
0
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 40625506
I see, without being able to look around I'm not sure what the issue can be, do you have a chance to reboot the affected host/server? Or did you already reboot it? Maybe it's an issue with vCenter?

I'll have another think ...
0
 

Author Comment

by:kastro Abbasi
ID: 40626567
yes i already restarted the host 2 times. and also restart the vcenter but nothing happend
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 40626773
Can you post the output of the following?

esxcli storage core device detached list
esxcfg-scsidevs -m
esxcli storage core device list -d

Open in new window

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How i can calculate the provisioned space in vmware 5.5 ? 1 42
create a Clone to consolidate snapshot 17 58
mcrypt_create_iv() is deprecated 4 69
Veeam Manuall Backup 2 52
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

912 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

19 Experts available now in Live!

Get 1:1 Help Now