Solved

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

Posted on 2010-08-12
13
1,784 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
  • 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
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.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
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…
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

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