Kai Timmer
Dabbler
- Joined
- May 9, 2014
- Messages
- 15
Hello,
I have a lot of ZFS datasets (one for every host) under /mnt/backups and I want to create only one nfs share so that all my hosts are allowed to mount their dataset.
So I created a share for /mnt/backups and checked the "all directories" box.
Now, when I try to mount /mnt/backups/host1 from a host, I get this:
But this works:
What did I miss?
I have a lot of ZFS datasets (one for every host) under /mnt/backups and I want to create only one nfs share so that all my hosts are allowed to mount their dataset.
So I created a share for /mnt/backups and checked the "all directories" box.
Now, when I try to mount /mnt/backups/host1 from a host, I get this:
Code:
root@test3:/home/kait# mount -vvv -t nfs -o rw,timeo=60,retrans=20,proto=udp,vers=3,bg,soft,intr freenas.local:/mnt/backups/host1/ /backup/ mount: fstab path: "/etc/fstab" mount: mtab path: "/etc/mtab" mount: lock path: "/etc/mtab~" mount: temp path: "/etc/mtab.tmp" mount: UID: 0 mount: eUID: 0 mount: spec: "freenas.local:/mnt/backups/host1/" mount: node: "/backup/" mount: types: "nfs" mount: opts: "rw,timeo=60,retrans=20,proto=udp,vers=3,bg,soft,intr" mount: external mount: argv[0] = "/sbin/mount.nfs" mount: external mount: argv[1] = "freenas.local:/mnt/backups/host1/" mount: external mount: argv[2] = "/backup/" mount: external mount: argv[3] = "-v" mount: external mount: argv[4] = "-o" mount: external mount: argv[5] = "rw,timeo=60,retrans=20,proto=udp,vers=3,bg,soft,intr" mount.nfs: trying text-based options 'timeo=60,retrans=20,proto=udp,vers=3,bg,soft,intr,addr=10.2.1.12' mount.nfs: prog 100003, trying vers=3, prot=17 mount.nfs: trying 10.2.1.12 prog 100003 vers 3 prot UDP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 10.2.1.12 prog 100005 vers 3 prot UDP port 745 mount.nfs: mount(2): Permission denied mount.nfs: access denied by server while mounting freenas.local:/mnt/backups/host1/
But this works:
Code:
mount -t nfs -o rw,timeo=60,retrans=20,proto=udp,vers=3,bg,soft,intr freenas.local:/mnt/backups/ /backup/
What did I miss?