Can't delete .vmdk file on Datastore

Hello,
In my new company i've inherited an ESX server which runs some virtual server2003 machines stored on a SAN Datastore.
As i investigated more i discovered that is was running short of space, after using the browse function i discovered that there were some 'leftover' .vmdk files which the browser couldn't delete and which are taking up a fair amount of space.
Does anyone have any ideas what i can do to remove these files. I have tried using SCP but only know the root password which comes back as denied.
Please bear in mind when answering that i am new to VMWare ESX so may need step by steps.
Thanks to anyone who can help.

jockmcgonzo wrote:
Does anyone have any ideas what i can do to remove these files. I have tried using SCP but only know the root password which comes back as denied.
Do you know that the root password you are entering is the correct one or are you not quite sure if you know the root password?  If you don't know the root password to your ESX box that could be a very bad thing.   If you know the root password you are entering is correct and it works on the console login, then you probably have allow remote root access denied.
If you know the password is correct, then follow these steps to see if ssh is allowing remote root access. Granted this is a small hole that is opened up to your mgmt just a fyi
vi /etc/ssh/sshd_config
To enter insert mode, hit "i" and to exit insert mode, hit "esc"
Inside the sshd_config file, move down to PermitRootLogin and change no to yes, case sensitive
To save and quit, type ":wq!" which will force save and quit the vi editor
After you make the changes, restart the sshd service --> service sshd restart
then try logging back in with winSCP
Kyle

Similar Messages

  • How can I delete a file from Adobe Acrobat Reader DC?

    How can I delete a file from Adobe Acrobat Reader DC?

    What operating system do you use? Where do you store the files?

  • How can I delete PDF files from my iMac desktop?

    How can I delete PDF files from my iMac desktop?

    Not on my system,When I try to dump if off in the trash it will not go. I get a message that says this file cannot be removed. I also tried going to File and clicking on Move to Trash. No dice.

  • How can I delete the files .DS_store in Mac OS Yosemite?

    How can I delete the files .DS_store in Mac OS Yosemite?

    The .DS_Store file is normal. It holds certain settings related to the folder it is found in. Removing these files is futile, as they will come back, as you have observed.
    If you are seeing them on your Mac, that means you have changed settings so that your Mac is showing invisible files in the Finder. To reverse that, run the following command in the Terminal:
    defaults write com.apple.finder AppleShowAllFiles NO
    This will hide them, and any other invisible files, from view.
    If you are seeing them on a Windows machine, just ignore them. They're not doing any harm.
    If you found a Terminal command that is supposed to stop them from being created, I would be extremely skeptical as to the wisdom of running it.

  • Time capsule intern.1TB hard drive.How can I delete all files

    Hello How can I delete all files from my timecapsule.
    I have connectet it with Wifi or ethernet. It is not possible.
    I have made a reset.
    I have tried it often.
    Please help
    Greetings from Vienna
    Pepimeier

    If you open Macintosh HD > Applications > Utiltiies > AirPort Utility and click Manual Setup, are you able to access the settings for the Time Capsule?
    Or, does AirPort Utility scan for the Time Capsule and then not find it?

  • Can i delete ALL files in directory ?

    i create a upload test using FileReference & PHP.
    In this scenario user upload files to http server.
    Now how can i delete all files in /files/uploads folder in AS3
    AS3 Code:
    req = new URLRequest();
    req.url = ( stage.loaderInfo.parameters.f )? stage.loaderInfo.parameters.f : "http://www.website.com/test/upload.php";
    uploadFile = new FileReference();
    select_btn.addEventListener( MouseEvent.CLICK, browse );
    uploadFile.addEventListener( Event.COMPLETE, complete_func );
    uploadFile.addEventListener( DataEvent.UPLOAD_COMPLETE_DATA, show_message );
    function browse( e:MouseEvent )
              filefilters = [new FileFilter('Images',"*.jpg;*.png;*.gif")];
              uploadFile.browse( filefilters );
    function complete_func( e:Event )
              trace( 'complete !' );
    function show_message(e:DataEvent)
    if (e.data == 'ok')
              label_txt.text = 'The file has been uploaded.';
    else if ( e.data == 'error')
              label_txt.text = 'The file could not be uploaded.';
    PHP Code:
    <?php
    $uploads_dir = './files/uploads';
    if( $_FILES['Filedata']['error'] == 0 ){
              if( move_uploaded_file( $_FILES['Filedata']['tmp_name'], $uploads_dir.$_FILES['Filedata']['name'] ) ){
                        echo 'ok';
                        exit();
    echo 'error';
    exit();
    ?>

    You need call another PHP file
    <?php
       $directory = './files/uploads';
       getDirectoryList ($directory);  
       //This function find all the files in the directory
       function getDirectoryList ($directory)
         // create an array to hold directory list
         $results = array();
         // create a handler for the directory
         $handler = opendir($directory);
         // open directory and walk through the filenames
         while ($file = readdir($handler)) {
           // if file isn't this directory or its parent, add it to the results
           if ($file != "." && $file != "..") {
        //$results[] = $file;
         // Delete Files
        $filename = $file;
      unlink($filename); //this delete a file
         // tidy up: close the handler
         closedir($handler);
    ?>

  • I can't delete a file in the Content-Management

    Hello,
    I can't delete a file in the Content-Management, altough I have full control.
    I get the following error message:
    System error (com.sapportals.wcm.repository.ResourceNotFoundException): null
    Many thanks for the help.

    Dear SAPMuffel ,
    As far as we can see the error "com.sapportals.wcm.repository.ResourceNotFoundException" is telling that the resource you are trying to delete could not be found, that is also to say, it might not exist any more.
    So please let me know exactly how you can reproduc this issue?
    and what kind of file it is? under what kind of KM repository? 
    Is there any other file under the same KM folder?
    Also you can reproduce the issue and then check the lastest defaulttrace file under this folder:
    ../j2ee/cluster/server0/log/defaultTrace.*.trc
    here you can find the detailed exception.
    Best Regards,
    Thunder

  • I  can't delete raw files in bridge

    I can't delete raw files in bridge anymore. I used to and it worked. Now if I click delete button, nothing happens.

    Adobe doesn't support CS5, an when I spoke to Apple, I was told that this is a known issue with OS 10.8.5 and that they're working on a patch.  In the meantime I'm using Adobe's DNG as a workaround.
    Have not heard before of this Known Issue, also find it hard to believe being true. But can't test my self because I only have CS6 and CC installed and always use Photodownloader to convert to DNG upon import. I have just installed the 10.8.5 update and checked in Bridge CC pointing to an attached card reader. no problem in showing the CR2 thumbs, it works as always and as expected.
    To my knowledge Bridge CS5 is already 64 bits and I can't think of any valid reason why an OS update would cause this problem so suddenly (but I'm not a technician I have to confess…)
    However, I would first try a check and repair permissions from Apple Disk Utility and also try Cocktail (good and cheap 3th party maintenance application for Mac) to clear caches and check permissions.
    Also try a new user account just for testing to rule out your current account as the culprit.

  • Can i delete a file on my external disk?

    I have a toshiba external hard disk. When i plug it into my macbook air, i can only see my documents and copy them to the macbook or copy files from macbook to hard disk. But i can't delete any file on my external disk. How can i can do it?

    It sounds like you originally used this drive with a Windows PC. Drives formatted as Windows NTFS can be read by a Mac but not written to (files cannot be deleted). If you want to keep the files that are on the drive, you can use Paragon NTFS (it's about $20) to install a driver allowing your Mac to write to the drive and delete files. This will allow you to continue to use the drive with both Mac and PC.
    Or, if you have copied off all the files you need, you can use Disk Utility in your Utilities folder to wipe and reformat the drive to Mac format. You will no longer be able to use the drive with a PC.
    Matt

  • I am receiving a notification that says that I am running out of storage space. I backed up time mating to an external hard drive. Can I delete some files to make room?

    I am receiving notifications that I am running out of storage space. I backed up my mac book using an external and time machine. Can I delete some files to make room?
    If so,
    When I want to restore from my time machine, can I pick and choose, say certain songs, photos or documents?

    About TM "Backup Drive is Full"
    Alert TM only deletes older files if they have been deleted from the source and when TM needs space on the backup drive for a new incremental backup. Time Machine "thins" it's backups; hourly backups over 24 hours old, except the first of the day; those "daily" backups over 30 days old, except the first of the week. The weeklies are kept as long as there's room.
    So, how long a backup file remains depends on how long it was on your Mac before being deleted, assuming you do at least one backup per day. If it was there for at least 24 hours, it will be kept for at least a month. If it was there for at least a week, it will be kept as long as there's room.
    Note, that on a Time Capsule the sparsebundle grows in size as needed, but doesn't shrink. Thus, from the user's view of the TC it appears that no space has been freed, although there may be space in the sparsebundle.
    Once TM has found it cannot free up enough space for a new backup it reports the disk is full. You can either erase the backup drive and start your backups anew or replace the drive with a larger drive. You can also use the Time Machine application to selectively remove files, but that may be ineffective if you have to free up GBs of space.

  • Hallo! How can i delete my files wich are saved not on the C: drive?

    Hallo! How can i delete my files wich are saved not on the C: drive?

    I'm guessing there must be more to this question than you are stating.
    But to answer the question you asked, if you want to delete files that are not on the C drive, select the files and then delete them (press the Delete key, and then Delete from Hard Disk or not, your choice)

  • How can I delete large files on my MacBook Pro?

    How can I delete large files on my MacBook Pro? Also my Emails wont delete, how can I delete them?

    Which email client are you using & which version?   Your emails are not appearing in the email trashcan? 

  • Can't delete a file or folde after using admin. password.

    Can't delete a file or folder after using admin. password.

    Solving Trash Problems...
    http://thexlab.com/faqs/trash.html

  • HT1526 I can't delete any files, can't empty the trash bin, can't open my iTunes. Safari isn't working properly either. I keep getting the error message -50 when i try to delete anything...HELP!

    I can't delete any files, can't empty the trash bin, can't open my iTunes. Safari isn't working properly either. I keep getting the error message -50 when i try to delete anything...HELP!

    Hello, not too helpful, but...
    enum {
      paramErr                      = -50,  /*error in user parameter list*/
    Usually means a bvad or unacceptable Charachter in a File or Folder name...
    http://support.apple.com/kb/TA20831
    Solving Trash Problems...
    http://thexlab.com/faqs/trash.html
    Open Console in Utilities & see if there are any clues or repeating messages when trying to open Safari or iTunes.

  • How can I delete a file? At the moment I delete each pic and it takes ages! I tried select all and managed to delete all my 2300 photos!!  I've got them back but I've also got back 980 which I had already deleted 1 by 1 over the past 6 months!  Help!

    Please help! How can I delete a file without deleting all my photos?  I have just managed to delete all my more than 2000 photographs by choosing' Select all' and then delete. But I thought only 'all' the photographs in the file I had open would be selected! I have got them back, but I've also got back more than 800 others that I'd deleted SINGLY over the last 6 months! HELP!

    Put a Photo in the iPhoto Trash.
    iPhoto Menu -> Empty Trash
    This removes the photo from iPhoto and the Hard Disk (in every version of iPhoto except iPhoto11)
    In iPhoto 11 the file goes to the System Trash, you need to empty that too.
    Regards
    TD

Maybe you are looking for

  • Premiere Elements 11 Error When Importing Audio

    I have PE-11 on my desktop and my laptop.  I'm getting an error - but only on the desktop.  No matter which film I'm editing - when I go to drag the music file (sound track) to  the "drag audio here" block, I get the following dialogue box, saying "A

  • How can i start to use i chat if it said my password is incorrect and i change it, but still appears that the password is wrong :(

    how can i start to use i chat if it said my password is incorrect and i change it, but still appears that the password is wrong

  • How to start SFC in activity hook.

    Hi Experts, I am trying to start SFC in Activity hook. Tried the following, but its not working. Please correct me where Im wrong... List<StartSfcRequest> sfcReqList = new ArrayList <StartSfcRequest>(); StartSfcRequest startRequest = new StartSfcRequ

  • Image size/image quality issue

    I am creating images in Illustrator at certain pixel sizes (as determined by the person I am creating the graphics for), saving them, and then exporting them as .png files.  When the person I am sending them to tries to open the .png files they are a

  • GOA DISTRIBUTION

    Hi experts I need distribute goa to backend, and all configuration in WE20. SRM SIDE. Partner profile to Backend Inbound parameter Mesage type BLAREL Backend side. Partner profile to SRM Inbound message Mesage type BLAORD Mesage type COND_A Outbound