JeffBeall
asked on
NFS crashes
i setup a nfs share using fedora core2 for some AIX and SUN cad machines a couple of months ago, and everything was working fine, recently ( about a week ago ) my nfs server started crashing, and i haven't been able to figure out the source of the problem. I looked in the /var/log/ directory to try and get some clues, but haven't had any luck. is there another location that might revel what the problem is?
It's rather strange you don't get anything relevant in the /var/log/messages file...
ASKER
I think I found what the problem is, just curious if anyone else has run into this, or if my theory sounds correct. I think the problem was I was sharing the same directory with NFS and SAMBA. Maybe that would have worked if I had some sort of file locking. I don’t know if lockd takes care of file locking, and if it does, in my setup lockd was reporting that it couldn’t monitor some of the NFS clients. I stopped the SAMBA service, and the crashing has stopped. Any comments would be greatly appreciated since I would like to confirm or deny my suspicions .
Aha... It may be related to this :).
In FC6 I had all sorts of problems because of this (like saving the file from an NFS mount and not seeing the changes on the SMB mount or even on the fs of the server until a looooong time has passed) however I never experienced crashes. I did gave up on sharing the same files via both rather quickly though...
In FC6 I had all sorts of problems because of this (like saving the file from an NFS mount and not seeing the changes on the SMB mount or even on the fs of the server until a looooong time has passed) however I never experienced crashes. I did gave up on sharing the same files via both rather quickly though...
ASKER
Looks like there might be a pattern here. I just wish I knew for sure if lockd is supposed to lock files to avoid this problem. When my NFS server was crashing, I had to run fsck to fix corrupted files. That is why I thought there was a problem sharing the same directory in two different ways. Probably, two people accessed the same file in SAMBA and NFS. The problem with this is I’m only speculating. I wish I knew if I am correct.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
From what you are saying, I think I would rather be safe than sorry. I’m already sorry about all the crashing, that was a nightmare. Anyhow, I’m going to just keep the, ” don’t share the same directory with NFS and SAMBA “ theory. I guess I’ll try NFS and FTP, and hope to God there isn’t a problem with that. Thanks for the help and input.
BTW... you could mount the NFS share from windows (XP Pro, 2000, 2003): http://www.microsoft.com/technet/interopmigration/unix/sfu/default.mspx