nielchiano Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Fri May 27, 2005 1:19 pm Post subject: strange NFS+samba problem: hangs on some dirs |
|
|
Hi,
Situation: I run Gentoo (duuhhh). /home is symlink to /mnt/net, which is a NFS mounted partition.
I also run a Windows in VMWare. This windows can access /mnt/net/home/niels using Samba (installed on the NFS server).
Usualy I have no problems, both systems are able to access all files. But recently I discovered strange problems. (note: i recently discovered them DOES NOT mean that everything was fine before).
I haven't found a procedure to reproduce the thing, but I have some idea's what may cause it. This is what usualy happens:
- I get a mail in gentoo, save the attachement on my home partition.
- I start windows/VMware to edit the file on the SMB mount
- Edit done, save it back.
- Try to open it again with gentoo
Sometimes it works, but sometimes I get strange things:
- Konqueror just hangs when I try to open the folder
- Bash hangs when I try to ls the folder from it's parrent (I can't remember if I can cd to the forlder or not)
- Thunderbird shows me the content of the folder, but when I send the mail it hangs
After a reboot of my (gentoo) system, everything works fine. Also, Windows can still read/write all files.
I'm quite sure that it has nothing to do with windows. (I'd like to blame it, but I can't this time... )
I think something like to following happens (correct me!!!)
- samba changes a file
- ??? somehow changes the inode number or something
- nfs has the directory already in cache/doesn't notice the change
- tries to open the moved directory
Strange thing is... normaly directories don't get another inode number... so it can't be this; but can be something similar.
I checked the log's of both my machine and the nfs server (also gentoo), nothing about NFS comes along...
Any idea's? |
|