FreeBSD noob here so sorry if I'm just not configuring something correctly. Please help me out.
I have an external USB drive that I can't get FreeBSD to NFS share. It's mounted as NTFS-3G and shares across Samba without any problems but won't do NFS.
Here's the /etc/exports and /etc/rc.conf file.
The /etc/fstab file from my other FreeBSD computer.
No access with Ubuntu either. The /etc/fstab file from Ubuntu
This is the output from FreeBSD.
And the output from Ubuntu
Without the drive mounted /usr/home/abd/nDrive gives me this and it does share under these permissions.
once the drive is mounted.
I've tried chmod and chown after the drive is mounted but the ownership remains the same and even with rwx priviledges, won't share.
Any help would be appreciated. Thanks in advance.
I have an external USB drive that I can't get FreeBSD to NFS share. It's mounted as NTFS-3G and shares across Samba without any problems but won't do NFS.
Here's the /etc/exports and /etc/rc.conf file.
Code:
/usr/home/abd/nDrive -alldirs -maproot=user 192.168.0.12
Code:
hostname="Server_18"
ifconfig_re0="DHCP"
ifconfig_re0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
mountd_enable="YES"
samba_enable="YES"
fusefs_enable="YES"
Code:
192.168.0.13:/usr/home/abd/nDrive /RPi nfs rw 0 0
Code:
192.168.0.13:/usr/home/abd/nDrive /home/julia/RPi/ nfs rw 0 0
Code:
# showmount -e
Exports list on localhost:
/usr/home/abd/nDrive 192.168.0.12
Code:
192.168.0.13:/usr/home/abd/nDrive: Permission denied
Code:
mount.nfs: access denied by server while mounting 192.168.0.13:/usr/home/abd/nDrive
Code:
# ls -l
total 40
-rw-r--r-- 1 abd smb 1066 Dec 17 12:47 .cshrc
-rw-r--r-- 1 abd smb 252 Dec 17 12:47 .login
-rw-r--r-- 1 abd smb 163 Dec 17 12:47 .login_conf
-rw------- 1 abd smb 379 Dec 17 12:47 .mail_aliases
-rw-r--r-- 1 abd smb 336 Dec 17 12:47 .mailrc
-rw-r--r-- 1 abd smb 817 Dec 17 12:47 .profile
-rw------- 1 abd smb 281 Dec 17 12:47 .rhosts
-rw-r--r-- 1 abd smb 978 Dec 17 12:47 .shrc
-rw-r--r-- 1 root smb 545 Dec 20 08:42 log.txt
-rw-r--r-- 1 root smb 0 Dec 20 08:43 log1.txt
drwxrwxrwx 2 root smb 512 Dec 18 05:44 nDrive
Code:
total 36
-rw-r--r-- 1 abd smb 1066 Dec 17 12:47 .cshrc
-rw-r--r-- 1 abd smb 252 Dec 17 12:47 .login
-rw-r--r-- 1 abd smb 163 Dec 17 12:47 .login_conf
-rw------- 1 abd smb 379 Dec 17 12:47 .mail_aliases
-rw-r--r-- 1 abd smb 336 Dec 17 12:47 .mailrc
-rw-r--r-- 1 abd smb 817 Dec 17 12:47 .profile
-rw------- 1 abd smb 281 Dec 17 12:47 .rhosts
-rw-r--r-- 1 abd smb 978 Dec 17 12:47 .shrc
-rw-r--r-- 1 root smb 0 Dec 20 08:42 log.txt
drwxrwxrwx 1 root wheel 4096 Dec 18 15:11 nDrive
Any help would be appreciated. Thanks in advance.
Code:
# service -e
/etc/rc.d/hostid
/etc/rc.d/hostid_save
/etc/rc.d/cleanvar
/etc/rc.d/ip6addrctl
/etc/rc.d/devd
/etc/rc.d/newsyslog
/etc/rc.d/syslogd
/etc/rc.d/rpcbind
/etc/rc.d/dmesg
/etc/rc.d/mountd
/etc/rc.d/nfsd
/etc/rc.d/virecover
/usr/local/etc/rc.d/samba
/etc/rc.d/motd
/etc/rc.d/ntpd
/etc/rc.d/powerd
/etc/rc.d/sshd
/etc/rc.d/sendmail
/etc/rc.d/cron
/etc/rc.d/moused
/etc/rc.d/mixer
/etc/rc.d/gptboot
/etc/rc.d/bgfsck