Quantcast
Channel: VMware Communities : Popular Discussions - VI: VMware ESX® 3.0
Viewing all articles
Browse latest Browse all 60069

unable to delete .vmdk file

$
0
0

Hi, looking for some help in removing a .vmdk file as I am stuck.

 

Attempt 1

 

Open VI Client --> right click on  VM --> Delete from disk.

 

This has worked for me previously, but I always double check by double clicking on the Datastore icon and use the datastore browser in the VI Client to confirm. Unfortunately, the directory was still present and two files were still in it.

 

Attempt 2

Connected to the datastore using PuTTY and tried rm -r ITSM-TRAIN with no joy. logged in as root and managed to delete one of the .vmdk files

 

root@esx02 VmDevShare# rm -r ITSM-TRAIN

 

rm: descend into directory `ITSM-TRAIN'? y

rm: remove regular file `ITSM-TRAIN/ITSM-TRAIN-000002-delta.vmdk'? y

rm: cannot remove `ITSM-TRAIN/ITSM-TRAIN-000002-delta.vmdk': Invalid argument

rm: remove regular file `ITSM-TRAIN/ITSM-TRAIN-000002.vmdk'? y /code

 

Attempt 3

 

I have run ps aux | grep ITSM-TRAIN and no processes are running

 

I have tried /usr/sbin/lsof | grep ITSM-TRAIN and nothing is returned either

 

I am not very good with linux (yet!) and I have tried the above after searching on here and on google. Any suggestions as to how I can get rid of this file would be greatly appreciated!

TIA, Jonathan


Viewing all articles
Browse latest Browse all 60069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>