openSUSE Forums > Surveys/Polls » sshfs vs nfs

Go Back   openSUSE Forums > Surveys/Polls
Forums FAQ Members List Search Today's Posts Mark Forums Read


Surveys/Polls Share opinions about various topics

Reply
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-May-2009, 23:27
Wise Penguin
 
Join Date: Sep 2008
Location: Dubai
Posts: 1,008
syampillai is on a distinguished reputation roadsyampillai is on a distinguished reputation road
Default sshfs vs nfs

I found sshfs to be extremely convenient to set up and use (almost no setup when ssh is already running).
What are the disadvantages when compared to nfs?
In terms of speed, performance, reliability ...
__________________
openSUSE 11.2 (x86_64) with KDE 4.3.1 (Release 6) on MacBook Pro
Reply With Quote
  #2 (permalink)  
Old 19-May-2009, 02:21
Chrysantine's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: European Union
Posts: 1,581
Chrysantine has a spectacular reputation aura aboutChrysantine has a spectacular reputation aura aboutChrysantine has a spectacular reputation aura aboutChrysantine has a spectacular reputation aura about
Default Re: sshfs vs nfs

Compression overhead, poorer low latency toleration and if connection cuts every now and then sshfs get cranky.
__________________
:: save me from myself I can't relate
:: we're mouth to mouth and still I suffocate
:: there's nothing left inside for me to break
:: save me from myself ..
Reply With Quote
  #3 (permalink)  
Old 19-May-2009, 03:27
Wise Penguin
 
Join Date: Mar 2009
Posts: 1,824
Akoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the roughAkoellh is a reputation jewel in the rough
Default Re: sshfs vs nfs

Typical tradeoff when using a secure (sshfs) via an unsecure (nfs) protocol.

If only used in a LAN without _any_ possibility to access the shares from the "outside world", nfs will perform better, however nfs is no real option if the shares should be available from outside the LAN.

(Same story for smb, of course, never make shares accessible to the WAN.)
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon)
Reply With Quote
  #4 (permalink)  
Old 19-May-2009, 04:57
Chrysantine's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: European Union
Posts: 1,581
Chrysantine has a spectacular reputation aura aboutChrysantine has a spectacular reputation aura aboutChrysantine has a spectacular reputation aura aboutChrysantine has a spectacular reputation aura about
Default Re: sshfs vs nfs

Actually the NFS 'insecurity' is a bit of a misconception, v4 has full encryption support so if properly configured is quite secure even over 'unsecure' networks.
__________________
:: save me from myself I can't relate
:: we're mouth to mouth and still I suffocate
:: there's nothing left inside for me to break
:: save me from myself ..
Reply With Quote
  #5 (permalink)  
Old 19-May-2009, 11:42
Global Moderator
 
Join Date: Jul 2008
Location: Salt Lake City, Utah
Posts: 1,251
hendersj 's reputation will be famous soon enoughhendersj 's reputation will be famous soon enoughhendersj 's reputation will be famous soon enough
Default Re: sshfs vs nfs

On Tue, 19 May 2009 07:26:01 +0000, Chrysantine wrote:

> Compression overhead,


As well as the encryption overhead.

I tend to use sshfs for short connections (for example to rsync data from
a server I don't have access to set up NFS exports on) or over the public
internet (mostly for the same reason - no access to set up NFS exports or
server config), NFS for persistent connections that are used constantly.

Jim
Reply With Quote
  #6 (permalink)  
Old 19-May-2009, 12:27
cjcox's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Frisco, TX
Posts: 777
cjcox hasn't been rated much yet
Default Re: sshfs vs nfs

On Tue, 2009-05-19 at 04:36 +0000, syampillai wrote:
> I found sshfs to be extremely convenient to set up and use (almost no
> setup when ssh is already running).
> What are the disadvantages when compared to nfs?
> In terms of speed, performance, reliability ...


Peformance penalty will be huge.

Just fyi.

Does sshfs support locking? How is client side caching done (hint, it
isn't, only directory contents)? Sshfs is just a neato tool. It's not
a network file system. It's not going to be all that reliable either.

NFS is EASY to setup. Sshfs is arguably insecure in many/most setups.



Reply With Quote
  #7 (permalink)  
Old 19-May-2009, 13:08
Global Moderator
 
Join Date: Jul 2008
Location: Salt Lake City, Utah
Posts: 1,251
hendersj 's reputation will be famous soon enoughhendersj 's reputation will be famous soon enoughhendersj 's reputation will be famous soon enough
Default Re: sshfs vs nfs

On Tue, 19 May 2009 17:27:45 +0000, cjcox wrote:

> Sshfs is arguably insecure in many/most setups.


How so?

sshfs only exposes the remote filesystem (in the default configuration)
to the user who invoked it (that's a FUSE feature, I believe), so what
about it is insecure?

Jim
Reply With Quote
  #8 (permalink)  
Old 19-May-2009, 14:08
cjcox's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Frisco, TX
Posts: 777
cjcox hasn't been rated much yet
Default Re: sshfs vs nfs

On Tue, 2009-05-19 at 18:08 +0000, Jim Henderson wrote:
> On Tue, 19 May 2009 17:27:45 +0000, cjcox wrote:
>
> > Sshfs is arguably insecure in many/most setups.

>
> How so?
>
> sshfs only exposes the remote filesystem (in the default configuration)
> to the user who invoked it (that's a FUSE feature, I believe), so what
> about it is insecure?


Obviously then you're NOT getting an NFS resplacement then are you?
I'm talking about turning on the insecure options to allow it to behave
more generically like a network file system rather than a "one user"
client access.


Reply With Quote
  #9 (permalink)  
Old 19-May-2009, 14:31
Global Moderator
 
Join Date: Jul 2008
Location: Salt Lake City, Utah
Posts: 1,251
hendersj 's reputation will be famous soon enoughhendersj 's reputation will be famous soon enoughhendersj 's reputation will be famous soon enough
Default Re: sshfs vs nfs

On Tue, 19 May 2009 19:08:53 +0000, cjcox wrote:

> On Tue, 2009-05-19 at 18:08 +0000, Jim Henderson wrote:
>> On Tue, 19 May 2009 17:27:45 +0000, cjcox wrote:
>>
>> > Sshfs is arguably insecure in many/most setups.

>>
>> How so?
>>
>> sshfs only exposes the remote filesystem (in the default configuration)
>> to the user who invoked it (that's a FUSE feature, I believe), so what
>> about it is insecure?

>
> Obviously then you're NOT getting an NFS resplacement then are you?


No, but as I said, I'm not using it that way anyways.

> I'm
> talking about turning on the insecure options to allow it to behave more
> generically like a network file system rather than a "one user" client
> access.


I don't think "most people" use it that way. I think it's more likely
"most people" use it as intended.

Like most tools, if you use it the way it's designed to be used, you
won't have a problem with it. :-)

Jim
Reply With Quote
  #10 (permalink)  
Old 20-May-2009, 09:34
cjcox's Avatar
Parent Penguin
 
Join Date: Jun 2008
Location: Frisco, TX
Posts: 777
cjcox hasn't been rated much yet
Default Re: sshfs vs nfs

On Tue, 2009-05-19 at 19:31 +0000, Jim Henderson wrote:
....
> I don't think "most people" use it that way. I think it's more likely
> "most people" use it as intended.
>
> Like most tools, if you use it the way it's designed to be used, you
> won't have a problem with it. :-)


My point is THAT is NOT an NFS replacement. It's more like somebody
running WinSCP under Windows (it's better, yes... understood). But
it's wrong to compare this to NFS... NFS is different, and this
isn't a replacement. But for somebody that doesn't need NFS but
just wants a friendlier access via ssh, yes... I suppose it is fine.


Reply With Quote
Reply
Page 1 of 2 1 2

Bookmarks

Tags
nfs, sshfs


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2