"invalid argument" accessing files on hgfs after modified on host

Bug #871747 reported by Marty Vona
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
open-vm-tools (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Ubuntu 11.04 client, OSX 10.6.8 host, vmware fusion 4.02

Accessing files on the host via hgfs seems to work initially (after working around 376639), but usually begins to report "invalid argument" upon trying to access files within the client that have been recently modified on the host. These files then also show ????? in their props columns (but filename is ok) in ls -l.

A workaround is to

sudo umount /mnt/hgfs
sudo mount -t vmhgfs .host:/ /mnt/hgfs

See also [1,2]. I'm reporting this here because

1) I tested both open-vm-tools and vmware proprietary tools, both exhibit this behavior
2) this seems to only happen with ubuntu 11.04, earlier versions of Ubuntu as client work fine
3) there is a report [1] that this happens with 11.04 on parallels too

[1] http://askubuntu.com/questions/55316/changed-files-are-not-recognised-on-mounted-drive
[2] http://communities.vmware.com/message/1843232

Changed in open-vm-tools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Marty Vona (vona) wrote :

I should add that the "workaround" I suggested is quite annoying, as in order to unmount hgfs you first have to exit it in all shells (pushd/popd does not help). I have actually had to downgrade to ubuntu 10.04; 11.04 is effectively unusable in vmware fusion for me. Is it working for anyone else?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in open-vm-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Marty Vona (vona) wrote :

Recently I've reverted to a 2.6.32 kernel in oneiric under vmware. This is not that fun but was the only way I could work around another very annoying regression that I documented in bug 941945.

Since reverting to 2.6.32 I've also gone back to using hgfs, and have not seen the "invalid argument" issue.

[Another workaround I tried for a while is to use the older method of SMB mounting the host filesystem; this also seemed to work fine even with the regular oneiric kernel. Details in the vmware communities thread linked in the bug desc.]

Revision history for this message
Ed Cranford (ed--cranford) wrote :

After updating some files, usually via git on the host, the files are reflected as ???? entries on the guest, same as other users.
It's remedied on the guest by using "find . | xargs touch" on an affected directory, but it's still inconvenient.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.