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
quadrumaneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.