Results 1 to 2 of 2
Hi All,
I am new to Linux. My problem is as below:
I am running an application on Redhat linux machine which writes some html files to a particular directory ...
- 04-16-2010 #1Just Joined!
- Join Date
- Apr 2010
- Location
- Pune, India
- Posts
- 2
NFS Sharing with windows
Hi All,
I am new to Linux. My problem is as below:
I am running an application on Redhat linux machine which writes some html files to a particular directory after some certain interval. That folder is NFS shared with one windows machine running IIS on that.
I can see those html files from anywhere using the internet explorer.
My problem is that on windows machine sometimes the file size of 0 bytes but on my linux box it was never of zero bytes. It seems the problem with the open file handles on linux side.
I am not sure whether it is an linux issue or windows issue.
Your help is appriciated...
- 04-16-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You are using the Windows machine as an NFS client, correct? The data actually resides on the RHEL system? If that is the case, remember that Linux caches data writes and it can be some time before the data is actually sync'd to disc. To see if this is what you are experiencing, when you see those 0 length files on Windows in the NFS mounted directory, go to the Linux system and as root run the command sync. After a bit of time, it should finish, and at that point all cached data should have been actually written to disc and the physical file system metadata updated accordingly. Then on the Windows system, refresh the directory you are looking at and see if the 0 length files now have data that Windows can see.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote