I have a server running 3.2.0-58-generic #88-Ubuntu SMP (64 bit). It's configured with nfs-kernel-server. Among other clients, it provides NFS shares to a number of embedded systems running a very stripped down Linux with a 2.4 kernel. I'm an embedded system developer and I've been running this way for many years, over a long series of servers. Today, I have a bizarre problem.
After installing updates to nfs-kernel-server and other packages yesterday, my embedded clients can mount the NFS shares successfully, can copy files to and from the shares, but they can't display any files. Scripts which depend on reading directories don't work. The files are there, just 'invisible'.
NFS shares to other more modern clients (Ubuntu 12.04 and 12.10) work fine.
There are no permission problems on the embedded clients. The mount succeeds, and I can read and write files. I just can't see them.
After the update, the current version of nfs-kernel-server is 1:1.2.5-3ubuntu3.1.
The example below is from a console session on one of the embedded clients (they all act the same way). You can see the mounted NFS filesystem. I can create a file on it and read the file, but a directory listing shows nothing. There are actually dozens of files in the mounted directory.
Any idea what's going on? This is a pretty unworkable situation. Thanks for any ideas or suggestions.
Code:
$ mount
/dev/root on / type yaffs (rw)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
192.168.1.10:/home on /mnt/copper type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=192.168.1.10)
$ ls /mnt/copper
$ echo "test" > /mnt/copper/test.txt
$ cat /mnt/copper/test.txt
test
$ ls /mnt/copper
$
Bookmarks