Date: Mon, 3 Jan 2011 18:56:34 -0500 (EST) From: Rick Macklem <rmacklem@uoguelph.ca> To: Marek Salwerowicz <marek_sal@wp.pl> Cc: freebsd-stable@freebsd.org Subject: Re: NFSv4 - how to set up at FreeBSD 8.1 ? Message-ID: <1549692872.56916.1294098994272.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <4d2252305ca851.07700160@wp.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi all, > > I have installed two VMs (server and client), regular installation > with > GENERIC kernel. > I cannot manage to set up NFSv4 working on them. > > Configuration of server: > > /etc/rc.conf: > keymap="pl_PL.ISO8859-2" > hostname="nfs4-server" > ifconfig_em0="dhcp" > sshd_enable="YES" > nfs_server_enable="YES" > nfsv4_server_enable="YES" > nfsuserd_enable="YES" > > /etc/exports: > V4: / This only states where the root of the nfsv4 tree is. You also need to export the volume(s) just like for nfsv3. If you are mounting "/" as below you'd also need something like the line: / -maproot=root -network 192.168.183.1 -mask 255.255.255.0 > > > Configuration of client: > /etc/rc.conf: > keymap="pl_PL.ISO8859-2" > hostname="nfs4-client" > ifconfig_em0="dhcp" > sshd_enable="YES" > nfsuserd_enable="YES" > nfscbd_enable="YES" > > Trying to mount '/' server share at client: > nfs4-client# mount_nfs -o nfsv4 192.168.183.131:/ /marek_nfs4/ > nfs4-client# ls /marek_nfs4/ > ls: /marek_nfs4/: Input/output error > nfs4-client# > > > What am I doing wrong? My aim is to mount home directories from server > to client but currently I am unable to mount any share. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1549692872.56916.1294098994272.JavaMail.root>