Whilst I was setting up my new OMV system, I wanted to give a try to openmediavault-mergerfsfolder, instead of using the "old" openmediavault-unionfilesystems.
Well, it's been a nightmare: it crippled my OMV installation twice before I realised it.
Disclaimer: I don't have many details and I don't want to replicate the issue because I already wasted a lot of time, but I thought was still worth reporting the issue.
OMV: 5.3.3-1
openmediavault-mergerfsfolder: 5.0.1
I installed OMV along with many plugins: backup, usbbackup, flashmemory, snapraid, resetperms, diskstats, wakealarm and mergerfsfolder.
I didn't configure most of them and didn't make any weird change to the system.
I configured mergerfsfolder to merge two main folders from different drives. Yes, I used /srv/dev-by-disk-by-label-XXX .
It seemed to work fine, I could see the new filestystem, browse it via WinSCP, mount it in SMB and do all sort of things.
Until I rebooted the system.
- I could not login to OMV UI - I think the error was very similar to this thread
- Any command issued via shell such as omv-update or other simple tasks resulted in "Read Only File System"
- I was able to remount the root FS and login to WebUI issuing the command mount -o remount / but the issue was still there If I rebooted again, services like SMB would not start (RED status in Dashboard)
I thought was my fault. Before rebooting I also updated from 5.3.2-1 to 5.3.3-1, so I thought this could have caused the issue.
I had to start all over again, because I hadn't made a backup yet ( ),
This time I configured everything but mergerfsfolder, and made a backup first. Rebooted, everything went fine, so the backup was healthy.
I configured mergerfsfolder and as before I could use correctly the merged FS.
Rebooted and bang! The same issue.
I managed to remount the root fs via the command above, install systemrescuecd and boot to it. By the way, it does not start ssh automatically (nothing was listening on port 22 but the system was connected correctly as I could ping it)
I restored the backup, removed mergerfsfolder and installed unionfilesystems.
I configured unionfilesystems, rebooted and everything has been working great since then.
Sorry for the rant, I hope this will help.