oznah
Cadet
- Joined
- Aug 18, 2014
- Messages
- 4
At this point I have read the manual and searched around and I still can't figure this out. I trying to connect to a FreeNAS NFS export from an Arch Linux box. I setup the export on the NAS and it seems ok. On the nix box I can mount the export but I can't write anything. I also can't chown any of the files. This is on a home network so functionality is more important than security.
Here's how FreeNAS is configured:
NFS export config
NFS service config
ZFS dataset config
Here's the output of a few commands from the nix box to help illustrate:
I can see the export
# showmount -e nas.localnet
Export list for nas.localnet:
/mnt/vol0/data 192.168.23.0
I can mount the export
# mount
nas.localnet:/mnt/vol0/data on /mnt/nas type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.23.10,mountvers=3,mountport=833,mountproto=udp,local_lock=none,addr=192.168.23.10)
Here are the perms
ll /mnt/nas
total 202
drwxrwxr-x 2 root root 22 Aug 18 21:28 iso
drwxrwxr-x 257 root root 259 Jun 15 23:10 music
drwxrwxr-x 271 root root 281 Jun 14 23:55 photo
-rwxrwxr-x 1 root root 9395 Jul 21 22:26 pkgs.txt
I can't write to the nas
# touch /mnt/nas/iso/test.txt
touch: cannot touch ‘/mnt/nas/iso/test.txt’: Permission denied
# sudo touch /mnt/nas/iso/test.txt
[sudo] password for oznah:
touch: cannot touch ‘/mnt/nas/iso/test.txt’: Permission denied
can't change ownership
# sudo chown uid:gid /mnt/nas/pkgs.txt
chown: changing ownership of ‘/mnt/nas/pkgs.txt’: Operation not permitted
Any ideas?
oznah
Here's how FreeNAS is configured:
NFS export config

NFS service config

ZFS dataset config

Here's the output of a few commands from the nix box to help illustrate:
I can see the export
# showmount -e nas.localnet
Export list for nas.localnet:
/mnt/vol0/data 192.168.23.0
I can mount the export
# mount
nas.localnet:/mnt/vol0/data on /mnt/nas type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.23.10,mountvers=3,mountport=833,mountproto=udp,local_lock=none,addr=192.168.23.10)
Here are the perms
ll /mnt/nas
total 202
drwxrwxr-x 2 root root 22 Aug 18 21:28 iso
drwxrwxr-x 257 root root 259 Jun 15 23:10 music
drwxrwxr-x 271 root root 281 Jun 14 23:55 photo
-rwxrwxr-x 1 root root 9395 Jul 21 22:26 pkgs.txt
I can't write to the nas
# touch /mnt/nas/iso/test.txt
touch: cannot touch ‘/mnt/nas/iso/test.txt’: Permission denied
# sudo touch /mnt/nas/iso/test.txt
[sudo] password for oznah:
touch: cannot touch ‘/mnt/nas/iso/test.txt’: Permission denied
can't change ownership
# sudo chown uid:gid /mnt/nas/pkgs.txt
chown: changing ownership of ‘/mnt/nas/pkgs.txt’: Operation not permitted
Any ideas?
oznah
Last edited: