Solved

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

Posted on 2010-08-12
13
1,783 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
 
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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Suggested Solutions

Title # Comments Views Activity
Exchange in VMware 14 90
Unable to install vSphere Client 5.5 update 3e 8 68
Maximum Memory and CPU for  ESXi 6 Server 3 76
Graphical DTX 970 in workstation VMWARE 4 25
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now