NFSv4 Introduction

From Linux NFS

Revision as of 11:37, 25 May 2005 by Aurelien (Talk | contribs)
Jump to: navigation, search

Contents

NFSv4

NFSv4 is a new generation of network filesystems. It is designed to be run over internet, and so, it get this capabilities :


Features

Security

Network optimisations

Interoperability

IPv6 support for the client

Here is a short description to explain how to have an IPv6 ready client for NFSv2,v3 and v4 If you want further information about the IPv6 support design, please feel free to have a look here

TI-RPC library

The ti-rpc library is designed to replace sunrpc library. It is necessary to do Remote Procedures Calls regardless the transport used. Download the tirpc tarball: libtirpc-0.1.7.tar.bz2
Build and install:

> ./configure
> make
> make install

Kernel patches

Dowload the cumulative patch: linux-2.6.11-ALL.patch
In the kernel source directory:

> patch -p1 < linux-2.6.11-NFS-IPv6-client.patch

User part patches

Download nfs-utils tarball with IPv6 support included: util-linux-2.12-3-IPv6.tar.bz2
or
Download cumulative patch for util-linux-2.12 : util-linux-2.12-IPv6.patch
Download the util-linux-2.12-3 tarball: util-linux-2.12.tar.gz
Apply patch in util-linux-2.12 directory:

> patch -p1 < nfs-utils-NFS-IPv6-client.patch

Build nfs client commands:

> make
> make install

Related links

TI-RPC library and rpcbind support
IPv6 support in NFS (client and server general design)
Current status and download
Basic Socket Interface Extensions for IPv6 (RFC_3493)

Linux configuration

Personal tools