FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 06-17-2011, 04:41 PM
Default NFSv4 and ssh

On Wed, Jun 15, 2011 at 3:57 PM, William Hopkins <we.hopkins@gmail.com> wrote:
> On 06/15/11 at 03:17pm, Dan wrote:
>> Another nice thing about NFS4 is that it does everything in a single port
>> (2049), so it is easier to do a ssh tunnel.
> Easier in the sense of less typing? You can repeat the -L and -R options as
> many times as needed in a single SSH command (and can easily store them in your
> .ssh/config under an alias)
> --
> Liam

This comes from the thread "Translate user names with NFS". It seems
that the advantage of NFSv4 over NFSv3 when tunneling with ssh is that
NFSv3 file locking does not work. It is not possible to ask statd or
the locking manager to make requests to a particular port for a
particular mount; therefore, any locking requests will cause statd to
connect to statd on localhost, i.e., itself, and it will fail with an

But that is not an issue with NFS4 because all the communication goes
through one single port:

Are there any disadvantages when tunneling NFS4 with ssh?


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTikqt9yVvHv166O+fX1O_qwhp9_yJQ@mail.gmail.com ">http://lists.debian.org/BANLkTikqt9yVvHv166O+fX1O_qwhp9_yJQ@mail.gmail.com

Thread Tools

All times are GMT. The time now is 07:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org