Hello everyone!
I'm trying to build diskless system with some mounts done by NFSv4, and i can't figure out how to mount share without kerberos, with -sec=sys flavour. Doing all by handbook, on server i have:
server's /etc/rc.conf:
server's /etc/exports
client's /etc/rc.conf:
Client is diskless, mounted /mnt/diskless10 as read-only NFS root, system is booted just fine. Trying to mount NFSv4 share from server:
In the server's /var/log/messages:
I don't understand why it's denied, there is no other messages. Tried to search web and this forum, no luck - there's stories about successful mount in kerberized environment (and me myself got this done at another place, mounted share from FreeBSD on Ubuntu by NFSv4 just fine), but i don't want kerberos complexity in this system.
I'm trying to build diskless system with some mounts done by NFSv4, and i can't figure out how to mount share without kerberos, with -sec=sys flavour. Doing all by handbook, on server i have:
server's /etc/rc.conf:
Code:
ifconfig_em1="inet 10.101.0.1/24"
nfs_server_enable="YES"
nfsuserd_enable="YES"
nfsv4_server_enable="YES"
Code:
/mnt/diskless10 -network 10.101.0 -mask 255.255.255.0
V4: /mnt/v4share -sec=sys -network 10.101.0 -mask 255.255.255.0
client's /etc/rc.conf:
Code:
nfsuserd_enable="YES"
nfscbd_enable="YES"
Client is diskless, mounted /mnt/diskless10 as read-only NFS root, system is booted just fine. Trying to mount NFSv4 share from server:
Code:
root@netboot_v4: ~# mount_nfs -o nfsvers=4 10.101.0.1:/mnt/v4share /var/mnt
[tcp] 10.101.0.1:/mnt/v4share: Permission denied
In the server's /var/log/messages:
Code:
Aug 14 21:06:58 virt mountd[7392]: mount request denied from 10.101.0.20 for /mnt/v4share
I don't understand why it's denied, there is no other messages. Tried to search web and this forum, no luck - there's stories about successful mount in kerberized environment (and me myself got this done at another place, mounted share from FreeBSD on Ubuntu by NFSv4 just fine), but i don't want kerberos complexity in this system.