Hello. I set up a NFSv4 server located on a FreeBSD 8.0/amd64 box (most recent world). It seems I successfully set up the NFSv4 service and this results in a successful mount of a file system by another FreeBSD 8.0 box. But their is a weirdnes I do not understand. Mounting the filessystem via mount_newnfs host:/path /path works fine, but not mount -t nfs4 host:/path /path. When doing the latter, I always get the error : Operation not supported by device What I'm doing wrong? Regards, Oliver P.S. Kernel has both NFSSERVER and NFSD, NFSCL and NFSCLIENT, /etc/rc.conf has nfsv4_server_enable="YES" nfsuserd_enable="YES" rpcbind_enable="YES" on serverside, on clientside, it's nfsuserd_enable="YES" nfscbd_enable="YES"
On Mon, 8 Feb 2010, O. Hartmann wrote:> > Mounting the filessystem via > > mount_newnfs host:/path /path > > works fine, but not > > mount -t nfs4 host:/path /path. >The mount command can be either: mount -t nfs -o nfsv4 host:/path /path or mount -t newnfs -o nfsv4 host:/path /path (The above was what the old now removed nfs4 used.) Have fun with it, rick
On Mon, 8 Feb 2010, O. Hartmann wrote:> > Mounting the filessystem via > > mount_newnfs host:/path /path >Oh, and you should set: sysctl vfs.newnfs.locallocks_enable=0 in the server, since I haven't fixed the local locking yet. (This implies that apps/daemons running locally on the server won't see byte range locks performed by NFSv4 clients.) However, byte range locking between NFSv4 clients should work ok. rick