I have my /home with a ZFS pool in Arch Linux, i reboot the PC and my directory ‘Code’ is empty !!! Code directory is a ZFS Dataset, let’s check it out ;-)

~$ cd /home/user/Code
~$ ls -la
    
    Jan 29 15:57 ./
    Jan 29 15:57 ../

First unmount the dataset and mount it again

~$ sudo zfs unmount -f tank/home/Code
~$ sudo zfs mount tank/home/Code

After finally we have content :-D

~$ ls -la

    user1.github.io/
    cloud-init/

To solve this permanently every time you boot your PC / Laptop, add this line to fstab

~$ vi /etc/fstab
    /mnt/tank/home/Code       /home/user/Code     none    bind,defaults,nofail,x-systemd.requires=zfs-mount.service   0 0