NFSv4 - how to set up at FreeBSD 8.1 ?

Marek Salwerowicz marek_sal at wp.pl
Mon Jan 3 23:15:01 UTC 2011


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: /


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.

--
Marek Salwerowicz




More information about the freebsd-stable mailing list