Beiträge von Samuel Burg

    Well


    after some research, this seams to be an issue with the NFS plugin, not ZFS.
    the /exports/* directories are not mounted as it should be when using ZFS.
    the is not the needed simlinks between the ZFS file system and the /exports mount points.


    still need to analyze this to found the exact error,
    but maybe it's an error occurring when you do not use the default ZFS mount points.


    Best regards,

    Some more info :


    I do not manged to make it work as I want using cron jobs.
    So I have make some try with systemd.


    Here my systemd service file calling the bash script from previous post :



    You have to copy the service file in /etc/systemd/system/ZFS_Fix.service


    Then, to enable the script :




    Code
    systemctl daemon-reload
    systemctl enable ZFS_Fix.service
    reboot

    It seams to work for me !


    Best regards,
    Samuel

    Hi,


    I have written this script as a workaround :



    and I call it from a cronjob at reboot time :


    @reboot /root/OMV_ZFS_Fix.sh


    but it seams the script is not run at good timing ... result is not what expected ...


    how to run this script at END of reboot ?


    Best regards,
    Samuel