Solved

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

Posted on 2010-08-12
13
1,786 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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 
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

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

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

Suggested Solutions

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
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…

752 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