Skip to contentSkip to conversation

Problem with nfs data caching?

DISCUSSION Terry Bates 3 participants 3 messages Feb 25, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

We are experiencing a problem which seems to be related to data caching on our linux nfs clients;

Using Mental Ray, we render picture to an NFS mounted filesystem (I have tried both SGI and Auspex file servers). We have an inhouse application which we use to view the rendered pictures. If you attempt to view a picture which has not completely finished rendering, you get a plain grey window. Once that situation has happened, you cannot view that picture from that machine until you umount and mount that filesystem again. You can view it from other machines however.

Most of our machines are running RedHat 7.2 with a 2.4.7-10 kernel and nfs-utils-0.3.1-13.

I have tried using RedHat 8.0 with a 2.4.18-14, 2.4.20-28, and most recently 2.6.2 kernel, and nfs-utils-1.0.1-2. Same result. Here the line from the /etc/fstab file for the filesystem that I'm testing on:

holly:/images_temp /images_temp nfs
rw,bg,rsize=32768,wsize=32768

I don't have this problem with any of our Irix clients.

Terry

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 11 lines · Terry Bates

We are experiencing a problem which seems to be related to data caching on our linux nfs clients;

Using Mental Ray, we render picture to an NFS mounted filesystem (I have tried both SGI and Auspex file servers). We have an inhouse application which we use to view the rendered pictures. If you attempt to view a picture which has not completely finished rendering, you get a plain grey window. Once that situation has happened, you cannot view that picture from that machine until you umount and mount that filesystem again. You can view it from other machines however.

Quoted 2 lines

Most of our machines are running RedHat 7.2 with a 2.4.7-10 kernel and nfs-utils-0.3.1-13.

I wonder if this is the same problem we see? What does 'dmesg' on that client show when this happens. If it reports:

NFS: Buggy server - nlink == 0!
__nfs_fhget: iget failed

(or something similar), then it's probably the same problem. If so, I haven't seen a solution posted yet...

Signature · 12 lines
Steve Wampler -- [email protected]
The gods that smiled on your birth are now laughing out loud.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#2 lore raw
In reply to Terry Bates

På on , 25/02/2004 klokka 13:37, skreiv Terry Bates:

Quoted 1 line

We are experiencing a problem which seems to be related to data caching

on our linux nfs clients;

Quoted 2 lines

Using Mental Ray, we render picture to an NFS mounted filesystem (I have

tried both SGI and Auspex file servers). We have an inhouse application which we use to view the rendered pictures. If you attempt to view a picture which has not completely finished rendering, you get a plain grey window. Once that situation has happened, you cannot view that picture from that machine until you umount and mount that filesystem again. You can view it from other machines however.

See the thread on the mailing list yesterday concerning shared mmap() and the limitations of the Linux VM...

Cheers,
Trond

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs