#3 Cannot mount sshfs

open
nobody
None
5
2003-01-07
2003-01-07
Anonymous
No

Can mount ftpfs and locasefs with no problems, but get
the error "could not mount filesystem!" when trying with
SSH.

Here is the command I am using:
lufsmount sshfs://user@host/home/user /mnt/lufs --
uid=501

I also tried mount with the following:
mount -t lufs none /mnt/lufs -o
nosuid,fs=sshfs,host=server,username=user,root=/home/
user

Get this error:
liblufs-sshfs.so: cannot open shared object file: No such
file or directory
could not mount filesystem!

The LD_LIBRARY_PATH is set and the .so is there.

I am running RH8.0 with kernel 2.4.18-19.8.0
and openssh 3.5p1-1.

I am trying to map the directory on the same server as
lufs is running, I do not have access to any other SSH
server at the moment.

I have not setup keys for SSH login, I thought it would
prompt me for a password, could this be a problem?

Please help.

Discussion

  • Logged In: YES
    user_id=542430

    I've had the exact same problem since 0.8.3. 0.9.0 has this problem, but 0.8.2 doesn't. I will be comparing 0.8.2 and 0.9.0 and see if I can find where the difference is. If I find it, I'll let Mali know.

    Michael

     
  • Logged In: YES
    user_id=542430

    Well, I didn't have much success. But here's what I did.

    I've taken some time go go through the make output and see if I can figure anything out. I compared the output from 0.8.2 and 0.9.0. I must admit some ignorance when it comes to Linux libraries. All I can tell for sure is that the library conventions have changed. From what I can tell, there should be no problems.

    The exact error I get is as follows. It occurs when I try running lufsmount. This is from the log file from the debugging version.
    ...
    [33a3](get_filesystem) trying to load liblufs-sshfs.so
    liblufs-sshfs.so: cannot open shared object file:
    No such file or directory
    unsupported file system: sshfs
    [33a3](main) could not create fs_ctl!
    ...

    The error output from the debugging version is:
    [33a3](get_filesystem) [33a3](lu_fsctl_create)

    And the syslog does not provide anything useful.

    Liblufs-sshfs.so appears to be in the proper place (/usr/local/lib) and everything in the make log seems to indicate it is going ot the proper place. But it is not found. The same problem as the original posting.

    I do know that it has nothing to do with SSH itself, since as I've said 0.8.2 works fine for me (still does).

    Michael

     
  • Michiel de Roo
    Michiel de Roo
    2003-01-17

    Logged In: YES
    user_id=205608

    Yep, same problem here with Debian Woody.

     
  • Michiel de Roo
    Michiel de Roo
    2003-02-06

    Logged In: YES
    user_id=205608

    I had the same. I soved it by using the --libdir option

    ./configure --libdir=/usr/lib
    make
    make install

    Another hint for the password: use lussh.

    hth, Michiel.

     
  • Logged In: YES
    user_id=433019

    add line /usr/local/lib to /etc/ld.so.conf and re-run
    ldconfig (as root)

     
  • Tilmann Singer
    Tilmann Singer
    2003-10-26

    Logged In: YES
    user_id=266600

    It's a bit sad that there is no more verbose error message than
    "could not mount filesystem!". So for me it's either it works or
    I'm screwed :-(. Maybe a better logging could be part of the next
    version?