Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
strange NFS+samba problem: hangs on some dirs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1287
Location: 50N 3E

PostPosted: Fri May 27, 2005 1:19 pm    Post subject: strange NFS+samba problem: hangs on some dirs Reply with quote

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...:cry: )
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?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum