SSHFS, NFS, ... : what's the best? what else is there?

SSHFS, NFS, ... : what's the best? what else is there?

Post by linuxad.. » Tue, 06 Mar 2007 20:39:08



hello everyone!

i have a notebook and a desktop-pc, both running opensuse.

i want to be able to seamlessly connect and disconnect each
computers from the aspect of storage: just to plug in
the network cable into the notebook and few seconds later
(automatically) to have desktop-pc storage mounted
(and unmounted after disconnection).

it that possible (and implementable in a easy way?)
what protocol can be used? SSHFS? NFS? what else is there?
(i know, there is also SMBFS. but it would be great to reflect all
permissions
correctly and AFAIK SMBFS is not able to do this for *nix, right?)

thanks in advance!

 
 
 

SSHFS, NFS, ... : what's the best? what else is there?

Post by Sir Jacker » Wed, 07 Mar 2007 02:19:51



> hello everyone!

> i have a notebook and a desktop-pc, both running opensuse.

> i want to be able to seamlessly connect and disconnect each
> computers from the aspect of storage: just to plug in
> the network cable into the notebook and few seconds later
> (automatically) to have desktop-pc storage mounted
> (and unmounted after disconnection).

> it that possible (and implementable in a easy way?)
> what protocol can be used? SSHFS? NFS? what else is there?
> (i know, there is also SMBFS. but it would be great to reflect all
> permissions
> correctly and AFAIK SMBFS is not able to do this for *nix, right?)

> thanks in advance!

I would go with NFS, unless you are communicating over an insecure link in
which case I would go with the encrypted SSHFS. I wouldn't use SMBFS
unless you need to connect to Windows shares. I suppose if you tie an
interrupt to your NIC's cable insertion (assuming it can flag one) you can
configure things to automagically work. That wouldn't be very *nixie of
you though.

--Sir Jackery

 
 
 

SSHFS, NFS, ... : what's the best? what else is there?

Post by Carbo » Wed, 07 Mar 2007 14:22:03



> hello everyone!

> i have a notebook and a desktop-pc, both running opensuse.

> i want to be able to seamlessly connect and disconnect each computers
> from the aspect of storage: just to plug in the network cable into the
> notebook and few seconds later (automatically) to have desktop-pc
> storage mounted (and unmounted after disconnection).

> it that possible (and implementable in a easy way?) what protocol can be
> used? SSHFS? NFS? what else is there? (i know, there is also SMBFS. but
> it would be great to reflect all permissions correctly and AFAIK SMBFS
> is not able to do this for *nix, right?)

> thanks in advance!

I'm using sshfs to connect two Ubuntu boxes. It took only a few minutes to
set up and is extremely convenient to use.

I installed sshfs, added the fuse module to /etc/modules, added myself to
the fuse group, logged out and back in to activate the group membership,

very convenient to use and I don't have to be root to mount my remote
share. I can unmount just as easily, fusermount -u ~/mountdir.

You can list the sshfs partition in /etc/fstab, enabling you to mount the
fileshare with mount -a or even automount if you like.

This trick is hack #84 in O'Reilly's "Ubuntu Hacks." It's an excellent
linux book, as are "Linux Server Hacks", vols 1 & 2. I haven't used
opensuse but the basic method will be similar.

 
 
 

1. **GUI Engineer** - Red Herring's Best Company with the Best Product for 1998

**GUI Engineer**

Description:
The GUI engineer will help expand the capabilities of the StoryServer
user interface and will develop long-term solutions for moving the
user interface forward and broadening its cope with Java. StoryServer
3 is the premier Web content  application platform for building,
managing and delivering service-based applications, such as online
publishing,  knowledge management and sophisticated e-commerce systems
for corporate Internets, intranets and extranets.

 Requirements:
The ideal candidate will have strong client/server  application user
interface development experience under
Windows, UNIX, and/or Macintosh using Java or C++  (Java is
preferred), have excellent problem-solving skills and be highly
adaptable to the every changing challenges of the Internet. Must have
at least six years experience in  developing applications on Windows,
Unix and/or  Macintosh, with at least three years of that experience
involving graphical user interfaces for applications in those
environments. Must have experience with object-oriented  programming,
in either Java or C++.

About Vignette Corporation

Vignette Corporation, a key player in the emerging category of
Internet Relationship Management provides enterprise solutions for
companies that are building successful business' online. Vignette's
products and services, which include industry-leading StoryServer4,
allow businesses to use the Web as a new channel for customer
acquisition and retention.  More than 80 premier companies, including
National  Semiconductor, First Chicago NBD, Bay Networks, Ziff-Davis'
ZDNet and CNET, use StoryServer to serve a combined 30 million page
views per day. Vignette has received numerous industry awards,
including The Red Herring's "Best Private Company" and "Best Product"
in the August 17th edition. The company partners with 20 leading
vendors in ad management, electronic commerce and personalization to
provide comprehensive solutions for its customers. Headquartered in
Austin, Texas, Vignette Corporation is on the World Wide Web at
http://www.vignette.com.

If you meet these requirements, please send your resume to

file.  Please insert the job title in your subject line.

2. apache variable "SSL=on" or "SSL=yes" ??

3. **Performance Engineer** - Red Herring's Best Company with the Best Product for 1998

4. Xserver

5. **Core Engineer** - Red Herring's Best Company with the Best Product for 1998

6. SuSE6.1 and KDE / mouse problem

7. 2.6.0 NFS server giving 'stale NFS handle' errors

8. Programming manual

9. **Tools Developer** - Red Herring's Best Company with the Best Product for 1998

10. sshfs to a machine ok but ls fail with Permission denied

11. sshfs ?

12. Kernel Module / Patch with implements "sshfs"

13. How do I get 'w' to say that i am doing something else