1

Here's a pretty strange one: I am getting the following error in a VMware Fusion Virtual Machine:

cannot access /usr/share/postgresql: Stale NFS file handle

The weird part being that this is not actually an NFS mount; I don't even have the NFS client installed on this server! I'm not really sure where to go with this as mount -O and restarting don't fix anything. I've restored snapshots as old as a week, when things were working fine, without success. Any ideas?

user9517
  • 115,471
  • 20
  • 215
  • 297
user8585
  • 117
  • 1
  • 5

2 Answers2

4

I've seen it relatively often that a "stale NFS file handle" really indicates that a file system is corrupted or unclean - try running fsck on it.

Tim
  • 1,158
  • 1
  • 14
  • 23
  • Heh, that hadn't even crossed my mind. Running fsck automatically on reboot (then manually when that failed) fix the problem. Thanks! – user8585 Jun 07 '09 at 07:35
1

First of all, this probably has nothing to do with VMware Fusion. You are, as Tim states, probably just having issues with the filesystem on your VM.

Also, there is no "NFS client"; it is probably built in to the kernel of your Linux distro as a, well, filesystem.

joshk0
  • 465
  • 2
  • 5
  • That's the case for some OSes, say FreeBSD, but isn't so with Ubuntu. I would need to install the nfs-client package. – user8585 Jun 07 '09 at 07:37