Solved

cannot delete files on a vSphere Datastore

Posted on 2014-12-18
3
636 Views
Last Modified: 2016-02-25
Hey folks,

it is driving me nuts, but I cannot delete some files on our vsphere Datastore. There is folder where we put in some iso-files to have a better and easier connection as a virtual cd-rom-drive.

However, now I can't delete some ISOs out of this. I'm really sure that they aren't assigned to a virtual machine or something else. I tried to delete them with VEEAM Backup and Replication 8.0. There is a "better" error-message than in vsphere-client...

Here is a screenshot from VEEAM error-message:
18-12--2014-18-41-59.png
Hope somebody can help me.

Kind regards and best wishes.
0
Comment
Question by:maxworx
3 Comments
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 200 total points
ID: 40507529
Are you sure this is not currently connected to any VM?

Is this an NFS datastore ?
0
 
LVL 1

Accepted Solution

by:
Dave Marshalonis earned 300 total points
ID: 40508029
Run the following commands to see who is mounting ISOs:

Get-VM |
Get-CDDRive |
Where-Object {$_.IsoPath} |
Set-CDDrive -NoMedia -Confirm:$false -WhatIf
0
 
LVL 1

Author Comment

by:maxworx
ID: 40508660
You are both absolutely right! The ISOs were connected...

Sorry for bother you!

Kind regards and merry Christmas!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

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.
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

776 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