Solved

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

Posted on 2010-08-12
13
1,791 Views
Last Modified: 2012-05-10
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
Comment
Question by:quadrumane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 4
13 Comments
 
LVL 40

Expert Comment

by:coolsport00
ID: 33425802
all you need to do is right click on the .vmx file and select add to inventory :)
~coolsport00
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 33425815
Most likely it was unregistered from inventory.  Perform the steps that coolsport provided and it should be added in.
0
 

Author Comment

by:quadrumane
ID: 33425821
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 40

Expert Comment

by:coolsport00
ID: 33425830
Oh...so if you browse the datastore, theyre not there but are in SSH?
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 33425832
Oh...so if you browse the datastore, theyre not there but are in SSH?
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 33425836
Sorry 4 the dbl post :)
0
 
LVL 42

Accepted Solution

by:
paulsolov earned 500 total points
ID: 33425841
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
 

Author Comment

by:quadrumane
ID: 33425844
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
 

Author Comment

by:quadrumane
ID: 33425853
Ok, but I thought I could use a command in SSH to put it back online
0
 

Author Comment

by:quadrumane
ID: 33425909
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
 
LVL 40

Expert Comment

by:coolsport00
ID: 33425921
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
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 500 total points
ID: 33425962
You could try

vmware-cmd -s register path_to_vmx_file
0
 
LVL 42

Assisted Solution

by:paulsolov
paulsolov earned 500 total points
ID: 33425969
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
Suggested Courses

628 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