Fuse(sshfs) instead of NFS [message #24341] |
Tue, 04 December 2007 08:59 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
RobinVossen
Messages: 36 Registered: November 2007
|
Member |
|
|
Well,
I am in a Hurry here since we almost hit the DeathLine.
So, well thats why we though about changing from NFS ( http://forum.openvz.org/index.php?t=msg&goto=24234&# msg_24234) to SSHFS (Or at least ANYTHING that does like the same but works..)
I dont care what it is as long as its works.
So I took at look at Fuse+SSHFS.
So I did:
http://wiki.openvz.org/FUSE
Exactly as it said..
I even did change the /etc/ld.so.conf file and I did add the following lines:
/usr/local/lib/libfuse.so.2.7.1
/usr/local/lib/libfuse.so.2
Both the files are there.
But when I do:
sshd _sxb@192.168.1.1:/home_sxb /mnt
I get
Quote: | sshfs: error while loading shared libraries: libfuse.so.2: cannot open shared object file: No such file or directory
|
So I took a look at my /usr/local/lib/libfuse.so.2 file..
And it is there.
I tryed to restart the VZbox. but no luck.
And I hope I understand this correctly..
This:
sshd _sxb@192.168.1.1:/home/_sxb /mnt
is runned on the Client were I want to make a SSH-Tunnel for my FileSystem. I want to login with the user _sxb on the box 192.168.1.1 I want to mount the /home/_sxb directory from the 192.168.1.1 box to the /mnt folder of my local box?
The server just needs to have OpenSSH_4.5p1, OpenSSL 0.9.8d
The kernel I use is:
2.6.18-openvz-686
Can anyone help me with this?
Thanks..
Cheers,
Robin
|
|
|
|
Re: Fuse(sshfs) instead of NFS [message #24349 is a reply to message #24343] |
Tue, 04 December 2007 09:38 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
RobinVossen
Messages: 36 Registered: November 2007
|
Member |
|
|
kir wrote on Tue, 04 December 2007 04:10 | 1. /etc/ld.so.conf contains list of _directories_ with shared libraries, not the files itself. If you change it, you need to rerun ldconfig.
|
Ah, ok. thanks i didnt know that.
But I see now that the /usr/local/lib folder is already in that file.
kir wrote on Tue, 04 December 2007 04:10 | 2. Installing libraries manually and in a non-standard location is a bad practice. Most modern distros come with a packages supporting fuse -- say, for fedora 8 there are fuse, fuse-libs and fuse-sshfs packages available, and you need all three of them in order to mount via ssh.
|
I did do exactly what to tutorial said. So I compiled the packages myself.. (Did I screw up.. :/ ??)
kir wrote on Tue, 04 December 2007 04:10 | 3. Since you haven't specified which distro do you run inside a VE, I can not help you with determining which packages you need to install.
|
I use Gentoo and I think I need:
sys-fs/sshfs-fuse
kir wrote on Tue, 04 December 2007 04:10 | 4.
I quess you mean sshfs not sshd here. To avoid such errors please use copy/paste when showing what's happening on your system.
|
How can I copy from a Terminal Box that doesnt have any webbrowser on it?
This is a Terminal Only box.
And yea I did sshfs..
Thanks already.
I hope that my information give you the information you need to help me ![Smile](images/smiley_icons/icon_smile.gif)
Cheers,
Robin
|
|
|
|
|
|
|
|
|