ZFS zpool raidz1 (3 disks geli encrypted) don't seem to write file in the right place

Hello everyone,

I have been looking for some time for a solution to this issue.
I have a 5 discs architecture :
2 SSD 250 G / zpool mirrored
3 HD 2.7 T / zpool raidz1

The 3HD are encrypted with geli upon boot, and the encrypted discs .eli are imported onto the zpool afterwards.

root@Rabbit-server:~ # zfs list
NAME                       USED  AVAIL  REFER  MOUNTPOINT
Rabbit-Data                389K  5.24T   133K  /Rabbit-Data
Rabbit-pool               14.1G   209G    96K  /Rabbit-pool
Rabbit-pool/ROOT          13.5G   209G    96K  none
Rabbit-pool/ROOT/default  13.5G   209G  13.5G  /
Rabbit-pool/tmp            112K   209G   112K  /tmp
Rabbit-pool/usr            634M   209G    96K  /usr
Rabbit-pool/usr/home       136K   209G   136K  /usr/home
Rabbit-pool/usr/ports      633M   209G   633M  /usr/ports
Rabbit-pool/usr/src         96K   209G    96K  /usr/src
Rabbit-pool/var            944K   209G    96K  /var
Rabbit-pool/var/audit       96K   209G    96K  /var/audit
Rabbit-pool/var/crash       96K   209G    96K  /var/crash
Rabbit-pool/var/log        432K   209G   432K  /var/log
Rabbit-pool/var/mail       120K   209G   120K  /var/mail
Rabbit-pool/var/tmp        104K   209G   104K  /var/tmp

root@Rabbit-server:~ # zpool list
Rabbit-Data  8.12T   776K  8.12T         -     0%     0%  1.00x  ONLINE  -
Rabbit-pool   230G  14.1G   216G         -     3%     6%  1.00x  ONLINE  -

root@Rabbit-server:~ # zpool status
  pool: Rabbit-Data
 state: ONLINE
  scan: none requested

    Rabbit-Data   ONLINE       0     0     0
      raidz1-0    ONLINE       0     0     0
        ada2.eli  ONLINE       0     0     0
        ada3.eli  ONLINE       0     0     0
        ada4.eli  ONLINE       0     0     0

errors: No known data errors
  pool: Rabbit-pool
 state: ONLINE
  scan: none requested

    Rabbit-pool  ONLINE       0     0     0
      mirror-0  ONLINE       0     0     0
        ada0p3  ONLINE       0     0     0
        ada1p3  ONLINE       0     0     0

errors: No known data errors

If you look at the mounting point for /Rabbit-Data it doesn't have any data however some data have been put in : 8.5 G over the 14Go present on Rabbit-pool.
There is a shared folder over samba on /Rabbit-Data/share when connected it shows only 200G of free space which indicate that the files are on the mirrored zpool...

So I don't know what's going on. Anyone has any idea ?

Thank you so much.

Your Rabbit-Data pool is pretty much empty, it's only got 772K of data on it. I suspect it isn't mounted, and so /Rabbit-Data is just a folder on the root of your system. This is why the root dataset Rabbit-pool/ROOT/default shows that it contains 13.5G of data.

The mount point shown in zfs list output is just the configured mount point; It doesn't mean it's actually mounted. Check mount output to see what filesystems are actually mounted.

Also make sure you have zfs_enable="YES" in /etc/rc.conf. Without that only the root dataset, or those in /etc/fstab will be mounted on boot.
Great ! I understand now ahah! My mistake was thinking that if the root zfs system is mounted on boot the other one should be as well. Well thank you I added zfs mount /Rabbit-Data at the end of the script launch during boot which activate the encryption and import the pool but that doesn't seem to work, I have to zfs mount manually (and the works perfectly) or so it seems... (I'm very new to bash scripting not so new to computer programming... the afore mentioned script has been taken from the internet :) )

Thanks anyway I'll try to see if I find a better solution in time !
Add zfs_enamble='YES" to /etc/rc.conf. And don't entrust your data management to random scripts you don't understand.