Replication task run amok

VulcanRidr

Explorer
Joined
Jan 5, 2015
Messages
59
I set up three replication tasks on my FreeNAS box. I have two pools on my FreeBSD desktop machine, and one on my laptop (both running 12.1p3)...And immediately ran into a problem. In the FreeNAS GUI, I set up I set up ssh keys, ssh connections, then set up my replications to the three datasets. I chose "Run Now" to make sure it worked. After I did that, the replication started failing, and I started getting errors in the FreeNAS logs like

collectd[2155]: statfs(/mnt/NX80101) failed: No such file or directory

For each and every dataset on the system. And the replications started failing at their scheduled times. When I set the replication up, I had each pool do recursive replication from the top-level dataset to my FreeNAS. I set up a dataset called "archive", then under that, a separate dataset for each replication task.

So when I checked my /mnt directory, and instead of it looking like

Code:
root@luna:~ # ls -l /mnt
total 21
-rw-r--r-- 1 root wheel 5 Apr 9 15:51 md_size
drwxr-xr-x  16 root  wheel  16 Apr  8 09:44 NX80101


It looked like

Code:
root@luna:~ # ls -l /mnt
total 188
-rw-r--r-- 2 root wheel 951 Nov 8 14:59 .cshrc
drwx------ 3 root wheel 3 Jan 22 2019 .dbus
-rw-r--r-- 2 root wheel 470 Nov 8 14:59 .profile
drwxr-xr-x 2 root wheel 46 Apr 12 11:48 bin
drwxr-xr-x 10 root wheel 63 Apr 12 14:53 boot
-r--r--r-- 1 root wheel 6181 Nov 8 14:59 COPYRIGHT
drwxr-xr-x 2 root wheel 2 Jan 22 2019 dev
-rw------- 1 root wheel 4096 Apr 12 14:54 entropy
drwxr-xr-x 25 root wheel 110 Apr 7 00:03 etc
lrwxr-xr-x 1 root wheel 8 Jan 22 2019 home -> usr/home
drwxr-xr-x 2 root wheel 2 Mar 5 2019 justman
drwxr-xr-x 5 root wheel 62 Mar 12 22:15 lib
drwxr-xr-x 3 root wheel 5 Nov 8 14:59 libexec
drwxr-xr-x 2 root wheel 2 Dec 6 2018 media
drwxr-xr-x 2 root wheel 2 Feb 2 2019 mnt
drwxr-xr-x 2 root wheel 2 Dec 6 2018 net
dr-xr-xr-x 2 root wheel 2 Dec 6 2018 proc
drwxr-xr-x 2 root wheel 150 Mar 12 22:15 rescue
drwxr-xr-x 5 root wheel 16 Apr 20 22:51 root
drwxr-xr-x   2 root  wheel   139 Apr  7 00:03 sbin


Which looks suspiciously like the root filesystem on my laptop. Can anyone explain what happened and how I can set up repplication? I have deleted those datasets and disabled the replication until I get this sorted out.

Thanks,
 
Top