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.

  • ryecoaaron

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    Are you using LUKS?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

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

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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 6.9.6-2 (Shaitan) on RPi CM4/4GB with 64bit Kernel 6.1.21-v8+

    2x 6TB 3.5'' HDDs (CMR) formatted with ext4 via 2port PCIe SATA card with ASM1061R chipset providing hardware supported RAID1


    omv 6.9.3-1 (Shaitan) on RPi4/4GB with 32bit Kernel 5.10.63 and WittyPi 3 V2 RTC HAT

    2x 3TB 3.5'' HDDs (CMR) 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

    4 Mal editiert, zuletzt von mi-hol ()

    • Offizieller Beitrag

    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.

  • 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.

  • using sata hat

    which one are you using? Would you have a URL showing specifications?

    omv 6.9.6-2 (Shaitan) on RPi CM4/4GB with 64bit Kernel 6.1.21-v8+

    2x 6TB 3.5'' HDDs (CMR) formatted with ext4 via 2port PCIe SATA card with ASM1061R chipset providing hardware supported RAID1


    omv 6.9.3-1 (Shaitan) on RPi4/4GB with 32bit Kernel 5.10.63 and WittyPi 3 V2 RTC HAT

    2x 3TB 3.5'' HDDs (CMR) 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

    • Offizieller Beitrag

    which one are you using? Would you have a URL showing specifications?

    Probably the Radxa hat. I have one too. https://wiki.radxa.com/Dual_Quad_SATA_HAT

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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?

    • Offizieller Beitrag

    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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    What if my docker is on my sd card?

    docker and the images/containers might be but your data volumes shouldn't be.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.2 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4 | scripts 7.0.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!