#68 sshfs mount problem

open
nobody
None
5
2003-09-21
2003-09-21
Pete Holmes
No

Command:
lufsmount sshfs://user@host /mountdir

Appears to mount OK, but then:

#ls
ls: .:reading directory .: Connection reset by peer
#ls
ls: .:stale NFS file handle
#ls
Actually get a listing on 3rd attempt, but cannot cd,
or access any files. Repeated ls attempts only work on
every 3rd try, with failures giving one the the errors
above.

Other filesystems work fine.

System is Mandrake 9.2, kernel = 2.4.21-0.13mdk.

Discussion

  • Logged In: NO

    i get the exact same behavior in gentoo running kernel
    2.6.0-gentoo-r1 and lufs-0.9.7

     
  • Logged In: YES
    user_id=429078

    Hi,
    I've got the same problems with 2.6.3 and lufs-0.9.7 and the
    latest code from CVS. log output looks like:

    Feb 28 20:31:01 jmn-laptop sshd[5454]: Accepted password for
    jmn from 127.0.0.1 port 32843 ssh2
    Feb 28 20:31:01 jmn-laptop sshd[5456]: subsystem request for
    sftp
    Feb 28 20:32:01 jmn-laptop (lu_execute) - error executing
    command!

    I've tried a remote system and got the same problem.

     
  • harlequin11
    harlequin11
    2004-04-23

    Logged In: YES
    user_id=1027502

    It's nowhere near ideal, but I've been getting around this
    problem by limiting the channels to 1. Slow as a wet week,
    but at least it works...

     
  • Logged In: NO

    I have the exact same issue with kernel 2.6.3-7mdksecure and
    lufs-0.9.7

     
  • harlequin11
    harlequin11
    2004-10-09

    Logged In: YES
    user_id=1027502

    You should try to use your public key instead of simply
    entering your use password.

    SSH will allow the use of multiple channels if you're
    connected by secure key, otherwise it's only allowing you to
    use the one channel and you get these kind of parity errors.