brando56894
Wizard
- Joined
- Feb 15, 2014
- Messages
- 1,537
I've been struggling with two of my NFS exports that are in the same dataset, they always seem to give me the Mount Denied by Server error, even though they're accessible to everyone. I accidentally rebooted my ESXi server which rebooted FreeNAS and all my other VMs. Once I brought everything back up I found that SABnzbd wasn't working and the reason was because Arch Linux couldn't mount the export for usenet, but it mounted the one for torrents without any issue. Nothing is wrong with the dataset, everything is as it should be in FreeNAS.
Here's the fstab for my Arch VM
proof that the data still exists in FreeNAS
List of Exports
[bran@pirate-ship]: ~>$ sudo mount /mnt/downloads/usenet mount.nfs: access denied by server while mounting 192.168.1.7:/mnt/storage/downloads/usenet
I even re-created the export in the FreeNAS GUI but that didn't fix anything.
Here's the fstab for my Arch VM
Code:
192.168.1.7:/mnt/storage/downloads/torrents /mnt/downloads/torrents nfs auto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14 0 0 192.168.1.7:/mnt/storage/downloads/usenet /mnt/downloads/usenet nfs auto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14 0 0
proof that the data still exists in FreeNAS
Code:
[root@freenas] ~# ls -lh /mnt/storage/downloads/usenet/ total 58 drwxrwxrwx 4 bran users 4B Jun 17 14:55 ./ drwxrwxrwx 5 bran users 7B Sep 9 22:26 ../ drwxrwxrwx 5 bran users 5B Nov 8 19:20 complete/ drwxr-xr-x 2 bran users 2B Nov 8 04:58 incomplete/
List of Exports
Code:
Export list for freenas: /mnt/safekeeping/backups (everyone) /mnt/safekeeping/misc (everyone) /mnt/safekeeping/usenet_data/bran (everyone) /mnt/storage/downloads/torrents 192.168.1.0 /mnt/storage/downloads/usenet (everyone) /mnt/storage/multimedia/movies (everyone) /mnt/storage/multimedia/tv (everyone)
[bran@pirate-ship]: ~>$ sudo mount /mnt/downloads/usenet mount.nfs: access denied by server while mounting 192.168.1.7:/mnt/storage/downloads/usenet
Code:
[root@freenas] ~# cat /etc/exports /mnt/storage/downloads/usenet /mnt/safekeeping/misc -alldirs -mapall=bran:users /mnt/storage/downloads/torrents -network 192.168.1.0/24 /mnt/storage/multimedia/tv /mnt/storage/multimedia/movies /mnt/safekeeping/usenet_data/bran /mnt/safekeeping/backups
I even re-created the export in the FreeNAS GUI but that didn't fix anything.