VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
11 Replies Last post: Aug 21, 2008 2:13 AM by AndyMcM  

Installing VMware Tools on RHEL w/o VMHGFS Module? posted: Mar 7, 2008 9:32 AM

Click to view obpa's profile Novice 20 posts since
Oct 17, 2007

I installed a RHEL 5.1 VM on ESX 3.5 this morning. I then installed VMware Tools, using the RPM. During the reboot, I get a couple of errors "loading local filesystems". After looking @ /etc/fstab on this VM - it has the following lines:

  1. Beginning of the block added by the VMware software
.host:/ /mnt/hgfs vmhgfs defaults,ttl=5 0 0
  1. End of the block added by the VMware software

Commenting out this line gets rid of the error. Why is there a hgfs module loading w/ the tools on an ESX VM? I thought hgfs did not work on ESX hosts. Any ideas/input? Just ignore it and continue on? If it is meant to be there, is there an error w/ this particular line?

According to vmware-config-tools.pl, there is a vmhgfs module loading that loads perfectly. Possibly this is happening b/c the OS is trying to mount the hgfs fs prior to the hgfs module being started w/ the tools?

Re: Installing VMware Tools on RHEL w/o VMHGFS Module?

1. Mar 7, 2008 9:44 AM in response to: obpa
Click to view mcowger's profile Virtuoso vExpert 2,199 posts since
Aug 22, 2007
I suspect its because the same tools are used for ESX as Workstation, hence hte inclusion of the HGFS. We've seen the same issue, and found it benign, so we just ignore it.

--Matt

Re: Installing VMware Tools on RHEL w/o VMHGFS Module?

2. Mar 11, 2008 5:10 AM in response to: obpa
Click to view Nocturne's profile Novice 14 posts since
Nov 23, 2005
The same issue here with SLES10. And there are no documents about this "feature" on a esx host. No chance to disable this function?
Click to view Texiwill's profile Guru User Moderators vExpert 10,407 posts since
Jan 13, 2004
Hello,

VMware has finally unified all the different versions of VMware Tools. VMHGFS does not work on ESX that is a fact, you can also further disable it within the VM using the isolation tools setting. However, the configuration step will still add the line unless you edit /etc/vmware-tools/locations and change VMHGFS_CONFED from yes to no. However to be ever vigilant just commenting out the line and setting the isolation tool setting is the best method just in case you migrate the VM to somewhere else.

But yes, if ESX is in use the driver can not be loaded and even if it was the other side of the equation (ESX) does not provide that functionality.


Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education. As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization
Click to view Nocturne's profile Novice 14 posts since
Nov 23, 2005

Hello

Thanks for help, it works now!

I 've add the line isolation.tools.hgfs.disable = "TRUE" to the .vmx file from the VM and uncomment the /etc/fstab line from VMware.

Re: Installing VMware Tools on RHEL w/o VMHGFS Module?

5. Mar 28, 2008 8:22 AM in response to: obpa
Click to view jadamt's profile Novice 22 posts since
Jul 26, 2007
Have you run into any other issues with 5.1 on 3.5? It's not yet officially supported but hopefully when the release a patch to fix this issue it will be.
Click to view OaktonIT's profile Novice 20 posts since
Jul 11, 2007

"However, the configuration step will still add the line unless you edit /etc/vmware-tools/locations and change VMHGFS_CONFED from yes to no"

I did this but the lines were still added to the fstab after running vmware-config-tools.pl. Is there something else that needs to happen or do we just remove/comment out the lines from fstab?

TIA!

Click to view Texiwill's profile Guru User Moderators vExpert 10,407 posts since
Jan 13, 2004
Hello,

You will have to comment out the line from /etc/fstab, even the must recent version adds this in.


Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354
As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization
Click to view wolfwolf's profile Enthusiast 50 posts since
Aug 2, 2006
Hi,

Is there a way to prevent the VMware Tools config script from modifying the /etc/fstab file?

Thanks.
Click to view Texiwill's profile Guru User Moderators vExpert 10,407 posts since
Jan 13, 2004
Hello,

Short of modifying the vmware-config-tools.pl, there is no way.


Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354
As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization
Click to view wolfwolf's profile Enthusiast 50 posts since
Aug 2, 2006
Thanks for your reply.

I hope that VMware will fix this issue in the next VMware Tools release.

Thanks.
Click to view AndyMcM's profile Enthusiast 49 posts since
Mar 30, 2007


On the /etc/fstab file and this subject. Make sure that you have a backup copy of /etc/fstab before running vmware-config-tools.p, as the script file does not always edit the fstab file correctly and we have had many cases of our fstab files being defaulted on our VMs and loosing all our NFS mounts.

A.

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities