SOLVED can't "ls" in nested datasets

Status
Not open for further replies.

Evan Richardson

Explorer
Joined
Dec 11, 2015
Messages
76
I've got a nested dataset, set up like this:

Sirius (main Dataset
-> databases (for database mounts)
->->mariadb (for mariadb
->->->data
->->->logs

I expose /mnt/sirius/databases as an NFS export, and mount that to another machine as /nfs/databases. When I try to cd into mariadb, followed by "ls", I get
Code:
evan@mira-a:/nfs/databases/mariadb$ ls
ls: reading directory '.': Input/output error


permissions on all folders are 777
Code:
evan@mira-a:/nfs/databases$ ls -la
total 1
drwxr-xr-x 3 root root 3 Jul 20 00:27 .
drwxr-xr-x 3 root root 0 Jul 19 23:48 ..
drwxrwxrwx 4 root root 4 Jul 19 23:58 mariadb


I tried setting root/wheel for the owner of databases, that ddidn't help. I also made sure that my mount was r/w (it is). Here's the mount line:
Code:
mediastore.home:/mnt/sirius/databases/mariadb on /nfs/databases/mariadb type nfs4 (rw,noexec,relatime,vers=4.0,rsize=16384,wsize=16384,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.20,local_lock=none,addr=192.168.1.54)


I use autofs, here's the relevant statement
Code:
databases -fstype=nfs,rw,hard,intr,noexec,rsize=16384,wsize=16384,vers=4 mediastore.home:/mnt/sirius/databases


and on freenas side:
Code:
/mnt/sirius/databases  -mapall="root":"wheel" -network 192.168.1.0/24


any thoughts? running latest version of freenas
 
Status
Not open for further replies.
Top