[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q abt ssh, sshfs, and Stale NFS file handle



On Sat, Apr 3, 2010 at 3:23 AM, Paul E Condon <pecondon@mesanetworks.net> wrote:
> I have debian (lenny and squeeze) running on several hosts that
> are interconnected via ethernet. I sit at the console of one
> and use ssh and sshfs to control operations on the others.
>
[snip]

> cmpq:~# ls -l /media/WDP-5/mystuff/arxiv_5/arxiv/asof/
> ls: cannot access /media/WDP-5/mystuff/arxiv_5/arxiv/asof/20091025_010711: Stale NFS file handle
> total 4
> drwxr-xr-x 2 root root 4096 20100402_083812 00nullbk
> d????????? ? ?    ?       ?               ? 20091025_010711
>
> I do not get this message when I view the same directory using sshfs.
> The sshfs response to a similar command indicates that there is no
> such directory as the one whose name begins with 200...
>
> Restarting the nfs-common on the controlling host does not fix the
> problem. Is the problem actually on the controlling host? My
> understanding of sshfs is that it is built on top of ssh. How can it
> be clearing its hidden cache(s) when ssh does not? I'd rather not have
> to reboot the host where I sit.

Can I suggest mount nfs with udp instead of tcp, that might help.

>
>
> --
> Paul E Condon
> pecondon@mesanetworks.net
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20100402162310.GA2984@big.lan.gnu">http://lists.debian.org/[🔎] 20100402162310.GA2984@big.lan.gnu
>
>


Reply to: