Hi, I have configured mergerfs to mount 5 4tb drive. It is working with snapraid. Normally it works ok.
However, if a file system error occurs during boot or the system fails to mount a drive, mergerfs makes the OMV to go for emergency mode.
A ctrl+d and some sudo fsck fixes things most of the time.
I am using no fail options for the drives. There is no such option for mergerfs sadly.
Is there any way the system continues to GUI bypassing the maintenance mode. The system is really installed far from me and I can't do maintenance until it completes the boot sequence and connects to internet.
Thanks.
MergerFS stops the OMV 6 to continue boot.
-
- OMV 6.x
- sakib.buet51
-
-
chente
Approved the thread. -
While mergerfs doesn't support nofail, systemd mount (what the mergerfs plugin creates) should support it to not cause rescue mode. I haven't tried this because it is hard to simulate this problem. But it seems like you should fix the system since it is doing what it should - protecting your data.
-
Thanks. I have fixed my drive problem for now.
But this has happened before . What I only needed was to get out of emergency mode and run a fsck. The problem was someone had to connect keyboard and press ctrl d which would be highly inconvenient.
I was thinking, if it would be possible to run mergers after network.online.
The Mount file generated did put the omv to emergency mode I think.
-
-
if it would be possible to run mergers after network.online.
mergerfs waits on network-fs.target which would have to have network-online. But if the system goes into single user, it won't matter.
The Mount file generated did put the omv to emergency mode I think.
You are correct. That is why I said to try adding nofail to the mergerfs pool options. According to the systemd.mount page, even though mergerfs doesn't do anything with nofail, it looks like systemd should.
QuoteWith
nofail, this mount will be only wanted, not required, bylocal-fs.targetorremote-fs.target. -
Thanks again,
I have configured it with nofail.
In future, I will update the thread with the effect of no fail either as success or failure.So if I get a gui/ssh remote access with drive needing for fsck, it would be a success.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!