Hi,
I am new to this forum.
Right now I run Linux (desktops & servers) and I was curious about BSD so I installed PC-BSD 10.2 on a spare computer (192.168.0.38).
I tried to set up autofs(5) for my Linux servers NFS shares on the PC-BSD computer but something went wrong ...
Appreciate help.
Here is the error message:
Here is what I did:
I am new to this forum.
Right now I run Linux (desktops & servers) and I was curious about BSD so I installed PC-BSD 10.2 on a spare computer (192.168.0.38).
I tried to set up autofs(5) for my Linux servers NFS shares on the PC-BSD computer but something went wrong ...
Appreciate help.
Here is the error message:
Code:
sudo /etc/rc.d/automount start
/etc/rc.d/automount: WARNING: $autofs_enable is not set properly - see rc.conf(5).
Will not 'start' automount because autofs_enable is NO.
Code:
cat auto_master
# $FreeBSD$
#
# Automounter master map, see auto_master(5) for details.
#
/net -hosts -nobrowse,nosuid,intr
# When using the -media special map, make sure to edit devd.conf(5)
# to move the call to "automount -c" out of the comments section.
#/media -media -nosuid
#/- -noauto
#NFS
/nfs /etc/auto_nfs
----------------------
cat auto_nfs
# $FreeBSD$
#
# Automounter master map, see auto_master(5) for details.
#
/net -hosts -nobrowse,nosuid,intr
# When using the -media special map, make sure to edit devd.conf(5)
# to move the call to "automount -c" out of the comments section.
#/media -media -nosuid
#/- -noauto
#NFS
FARBAUTE -intr,nfsv4 192.168.0.32:/home/jurka/my_data
---------------------
sudo showmount -e 192.168.0.32
Password:
Exports list on 192.168.0.32:
/home/jurka/my_data 192.168.0.4 192.168.0.37 192.168.0.38
--------------------
cat rc.conf
# Auto-Enabled NICs from pc-sysinstall
ifconfig_alc0="DHCP"
# Auto-Enabled NICs from pc-sysinstall
ifconfig_alc0_ipv6="inet6 accept_rtadv"
hostname="pcbsd"
pcsysconfig_enable="YES"
zfs_enable="YES"
sshd_enable="YES"
#AUTOFS
autofs_enable=”YES”
#NFS CLIENT
nfs_client_enable="YES"