• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1805
  • Last Modified:

vm not visible in the datastore from vsphere but visible from the console

A VM is no longer visible from the vsphere client in the datastore.  But I can see it and all files from the console in vmfs\volumes...

I would like to put it back online.  

Thank you
0
quadrumane
Asked:
quadrumane
  • 5
  • 4
  • 4
3 Solutions
 
coolsport00Commented:
all you need to do is right click on the .vmx file and select add to inventory :)
~coolsport00
0
 
Paul SolovyovskySenior IT AdvisorCommented:
Most likely it was unregistered from inventory.  Perform the steps that coolsport provided and it should be added in.
0
 
quadrumaneAuthor Commented:
I think I didn't not explain correctly.  I cannot click on the file when I< in putty.  I cannot see the vm files from the vsphere client but I can see it from putty.
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
coolsport00Commented:
Oh...so if you browse the datastore, theyre not there but are in SSH?
0
 
coolsport00Commented:
Oh...so if you browse the datastore, theyre not there but are in SSH?
0
 
coolsport00Commented:
Sorry 4 the dbl post :)
0
 
Paul SolovyovskySenior IT AdvisorCommented:
Download veeam  fastscp client, it uses ssh.  Copy it over to a safe place first to ensure you have  a good backup.  Rename folder and copy back to datastore if you have room.  Register VM and test.  If all works delete the old folder via putty.
0
 
quadrumaneAuthor Commented:
yes in SSH all files are there.  I've  probably done something I can't remember of but now the files still there for sure but I need to register it from putty (command line)  
0
 
quadrumaneAuthor Commented:
Ok, but I thought I could use a command in SSH to put it back online
0
 
quadrumaneAuthor Commented:
Are you sure we can't make it visible in the datastore without copying all files ?  It's a file serveur so it<s huge
0
 
coolsport00Commented:
Again...are the files not visible within the Client when you browse the datastore? If they are...just follow my instructions. If not, Paul's suggestion is best option...
0
 
Paul SolovyovskySenior IT AdvisorCommented:
You could try

vmware-cmd -s register path_to_vmx_file
0
 
Paul SolovyovskySenior IT AdvisorCommented:
vmware-cmd -s register vmfs/volume/vmfslabel/VMName/VMName.vmx

Use the path with the UUID (vmfslabel) where requested when using vmware-cmd and you can use vmware-cmd -l command to retrieve the UUID
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now