Posts by wenzhuo

    With the above fixed shutdown unit, sync on shutdown works for me now. But I bumped into another problem of folder2ram. It rotates logs too many times on one invocation.


    Expected result:



    After rebooting, verify it's working using command journalctl -b -1 -u folder2ram_shutdown.service, also check:

    1. journalctl -xe for journals of previous boots
    2. OMV webif | Diagnostics | Performance Statistics

    There are a number of issues with folder2ram_shutdown.service I'm trying to fix. Please test this:



    Code
    sudo systemctl edit folder2ram_shutdown.service --full
    sudo systemctl daemon-reload
    sudo systemctl reenable folder2ram_shutdown.service
    sudo folder2ram -syncall
    sudo reboot

    After rebooting, verify the following

    Code
    journalctl -u folder2ram_shutdown.service
    journalctl -xe

    Tested


    sudo systemctl edit folder2ram_shutdown.service --full:


    But clamav still doesn’t start at boot with the flashmemory plugin

    Code
    cd /etc/systemd/system/
    sudo mkdir folder2ram_startup.service.d
    echo -e '[Unit]\nBefore=clamav-daemon.service clamav-freshclam.service' | sudo tee folder2ram_startup.service.d/clamav.conf

    Reboot, and you should be good to go

    That also rules out any power topics, since that SSD got its power only via the USB connector.

    Unfortunately, you still cannot rule out the possibility. The USB power draw problem is more prevalent and complex than you think.


    Have you tried booting up the 16/64GB OMV flash drives on a computer? Also, why not get a powered USB 3.0 hub to rule out the possibility?