Date: Wed, 5 Jan 2011 00:29:53 +0100 From: "Marek Salwerowicz" <marek_sal@wp.pl> To: "Freddie Cash" <fjwcash@gmail.com>, "Jean-Yves Avenard" <jyavenard@gmail.com> Cc: Rick Macklem <rmacklem@uoguelph.ca>, freebsd-stable@freebsd.org, Maciej Milewski <milu@dat.pl> Subject: Re: NFSv4 - how to set up at FreeBSD 8.1 ? Message-ID: <DDB42FB5761D4C91B046976C8A4A371E@marekdesktop> References: <201101040037.59785.milu@dat.pl><1703110029.56794.1294098600382.JavaMail.root@erie.cs.uoguelph.ca><AANLkTik5t-jD4ZD6fLVfJ9z3VTo_XaNe%2BUfMQjQ0HzKi@mail.gmail.com> <AANLkTin56gtHATGR3DuRDgjGdEFKPviCwfgma6q-xPqe@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, so it slowly starts working: nfs4-server# cat /etc/exports V4: / / -maproot=root -network 192.168.183.0 -mask 255.255.255.0 nfs4-server# nfs4-server# ps aux | grep mountd root 857 0.0 0.6 3348 1520 ?? Is 11:53PM 0:00.01 /usr/sbin/mountd -e -r nfs4-server# ps aux | grep nfsd root 1303 0.0 0.5 3288 1324 ?? Is 12:04AM 0:00.03 nfsd: master (nfsd) root 1304 0.0 0.5 3288 1260 ?? S 12:04AM 0:00.02 nfsd: server (nfsd) nfs4-server# I am able to mount the root '/' from nfs4-server: nfs4-client# mount_nfs -o nfsv4 192.168.183.131:/ /marek_nfs4/ nfs4-client# ls /marek_nfs4/ .cshrc cdrom home proc usr .profile compat lib rescue var .snap dev libexec root COPYRIGHT dist media sbin bin entropy mnt sys boot etc plik tmp nfs4-client# mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/ad0s1e on /tmp (ufs, local, soft-updates) /dev/ad0s1f on /usr (ufs, local, soft-updates) /dev/ad0s1d on /var (ufs, local, soft-updates) 192.168.183.131:/ on /marek_nfs4 (newnfs) nfs4-client# it works also on different partition: nfs4-server# cat /etc/exports V4: /usr /usr/home -maproot=root -network 192.168.183.0 -mask 255.255.255.0 nfs4-server# nfs4-client# mount_nfs -o nfsv4 192.168.183.131:/home /marek_nfs4/ nfs4-client# ls /marek_nfs4/ marek nfs4-client# What I noticed is that in 'V4: ' line we have to specify the mount point of the WHOLE partition we want to export Regards -- Marek Salwerowicz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DDB42FB5761D4C91B046976C8A4A371E>