Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2016 01:44:49 +0000
From:      "Mueller, Brian" <bmueller@panasas.com>
To:        "fs@freebsd.org" <fs@freebsd.org>
Cc:        "rpokala@freebsd.org" <rpokala@freebsd.org>
Subject:   Add NFSv3 tree root to mountd
Message-ID:  <BN3PR0801MB09618F66071B9ACA4656E9B6C2600@BN3PR0801MB0961.namprd08.prod.outlook.com>

next in thread | raw e-mail | index | archive | help
Similar to mountd's ability to specify the NFSv4 tree root via the V4: line=
 in the exports file, I would like to add the ability to specify a NFSv3 tr=
ee root.  The goal to have the same exported path for both the V3 and V4.  =
If you have exports file like the following:

/foo/bar
V3: /foo/bar
V4: /foo/bar

NFS clients would mount /foo/bar by running

mount -t nfs -o ver=3D3 server:/ /mnt/v3
mount -t nfs -o ver=3D4 server:/ /mnt/v4

Without the change, the NFS client would need to specify different paths fo=
r v3 and v4

mount -t nfs -o ver=3D3 server:/foo/bar /mnt/v3
mount -t nfs -o ver=3D4 server:/ /mnt/v4

Feedback appreciated.  If there aren't any objections with incorporating th=
is change into FreeBSD, I will start working on the changes to mountd.

Brian

Brian Mueller
Panasas Inc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BN3PR0801MB09618F66071B9ACA4656E9B6C2600>