Fresh install OMV not working on PI4 after setting up unionFS plugin

  • I have been stuck, uninstalling and reinstalling OMV on my new pi 4 multiple time in the past couple of days, and narrow the problem down to unionfs plugin. Once I installed and pool my 3 drives together, next reboot will stuck at the "root account is locked". The server only become bootable again, once I edit in the cmdline.txt in the sd card, edited the fstab to remove the line added by the unionfs plugin.


    Below is the error message from the boot screen:


    2MJ5MZw


    This is the line I need to remove from my fstab in order to get it bootable again.


    /srv/dev-disk-by-uuid-1cbb3ff5-a3ef-4b26-8cf9-0d8c16a9716f:/srv/dev-disk-by-uuid-565a0e37-55b6-4651-9503-a138d8f43285:/srv/dev-disk-by-uuid-c1cd54fb-889f-4008-9a61-11a96855616b /srv/ccb605bf-522c-4215-b959-1a4d830da0df fuse.mergerfs defaults,allow_other,cache.files=off,use_ino,category.create=mfs,minfreespace=4G,fsname=omvunion:ccb605bf-522c-4215-b959-1a4d830da0df,x-systemd.requires=/srv/dev-disk-by-uuid-1cbb3ff5-a3ef-4b26-8cf9-0d8c16a9716f,x-systemd.requires=/srv/dev-disk-by-uuid-565a0e37-55b6-4651-9503-a138d8f43285,x-systemd.requires=/srv/dev-disk-by-uuid-c1cd54fb-889f-4008-9a61-11a96855616b 0 0


    I am novice in linux, so any help to assist me me running unionFS in my OMV is greatly appreciated.

  • Seems your usb drives are not ready when mergerfs is mounted. I would try the mergerfsfolders plugin instead.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Please copy& past pictures and screenshot directly

    Most of us won't click on unclear external links like "https://ibb.co/2MJ5MZw" for security reasons


    Multiple USB disks will be a source of further issues and bad performance.


    I'd recommend an external SATA disc enclosure with a single USB3 connection to RPi.

    Most USB HDDS are using SATA internally and can therefore be reused


    More details on this topic are in Jeff Geerling's blog here

    omv 5.5.23-1 (usul) on RPi4 with Kernel 5.10.x and WittyPi 3 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

    Edited 4 times, last by mi-hol ().

  • I am novice in linux, so any help to assist me me running unionFS in my OMV is greatly appreciated

    This is doable and after seeing ryecoaaron quote about the drives not being ready I finally found this that a reddit user also posted on here, but what makes that work is the specific usb hub used as it can also power the Pi.

    Raid is not a backup! Would you go skydiving without a parachute?

  • Nvm, this is solved. Im using sata hat that is using its proprietary driver, which doesnt load when the drive being mounted. Solved it by editing disabling automount in fstab, and add them in rc.local.

  • The solution is here if anyone else facing the same issue:

    Not the best solution since delaying the mount of your data drives could also prevent some services from starting.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • My OS is on the SD card, where I assume all the services will run from, is not delayed. Only the data harddisk that combined in the unionfs is delayed. Will that be a problem, and if is, what kind of service are affected by this?

  • My OS is on the SD card, where I assume all the services will run from, is not delayed. Only the data harddisk that combined in the unionfs is delayed. Will that be a problem, and if is, what kind of service are affected by this?

    While the service itself may run from the SD card, some services may require files to run. docker and plex are two examples.

    omv 5.6.0 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.5.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!