Comments (5)
Oh they're just fstab options, silly me...
It works! I put this in my fstab
x-systemd.requires-mounts-for=/mnt/hdd/M-Drive,x-systemd.requires-mounts-for=/mnt/hdd/MyBook
I don't really understand the difference between x-systemd.requires-mounts-for
& x-systemd.requires
, but this seems to be working.
I will have to play around to see if I can use wildcards with this too rather then having to enter each drive.
Thank you so much again!
from mergerfs.
if the mount timeout isn't working then something about the setup is waiting for it.
https://www.freedesktop.org/software/systemd/man/latest/systemd.mount.html
Details on the settings.
from mergerfs.
Look at your boot logs. You will likely see that those paths don't exist at boot. You are pointing to locations inside a mount point, correct? If mergerfs runs before them then naturally those paths won't exist. As mentioned in the docs the globbing happens at configure/start time. You must either use dependencies to force mergerfs to be mounted last or if your init system mounts things concurrently you can try the branches-mount-timeout
option. The best bet is the former.
from mergerfs.
Thank you for your dedication to support.
That makes sense and I think you are right. Using journalctl -b
to get my most recent boot without using branches-mount-timeout
, I see that the system tries to mount M-NAS about 2 seconds before the two other drives and I believe fails due to the directories not being MTP devices?
Feb 02 07:20:42 m-pi mtp-probe[337]: bus: 2, device: 2 was not an MTP device
Feb 02 07:20:42 m-pi mtp-probe[339]: bus: 1, device: 4 was not an MTP device
However, when I add in a 3 second delay with branches-mount-timeout
, I see mergerfs wait, the system mounts the two external drives, but after 3 seconds I get these messages: boot_3s_delay.log
Feb 02 07:29:55 m-pi mergerfs[323]: /mnt/hdd/*/M-NAS not mounted within timeout
Feb 02 07:29:55 m-pi mergerfs[323]: Continuing to mount mergerfs despite 1 branches not being different from the mountpoint filesystem
Feb 02 07:29:55 m-pi mergerfs[505]: running basic garbage collection
Feb 02 07:29:55 m-pi mergerfs[505]: threadpool (fuse.read): spawning 4 threads w/ max queue depth 4
Feb 02 07:29:55 m-pi mergerfs[505]: read-thread-count=4; process-thread-count=-1; process-thread-queue-depth=-1; pin-threads=false;
Feb 02 07:29:55 m-pi systemd[1]: Mounted share-M\x2dNAS.mount - /share/M-NAS.
resulting in the drives not being merged. I tried 1,3,5,10,&20 seconds and got the same 'not mounted within timeout' message.
I have attached both logs. Thank you again so much for your help!
from mergerfs.
Is this what you mean by dependencies? Where would I put this line?
https://askubuntu.com/a/1054394
from mergerfs.
Related Issues (20)
- Merge of directory level
- MergerFS mount randomly disappears, only displays ??? when listed HOT 66
- Operation not permitted when mounting as non-root HOT 5
- Add support for "cp --reflink" HOT 4
- ubuntu 18.04 fresh install, with error HOT 1
- Permissions issue qBittorrent file creation when preload library is used in docker instance HOT 9
- unable to create new files (touch: cannot touch 'test': Not a directory) HOT 6
- Hangs when overlayfs is mounted on top of mergerfs's branch HOT 7
- Mergerfs volume with a single disk pool HOT 2
- Is it possible to use 'mount -a' to rebuild a mergerfs pool that is defined in fstab? HOT 6
- Tiered caching clarification HOT 7
- mergerfs - fuse `allow_other` and security HOT 3
- Benchmarking tool HOT 3
- fluctuating write performance HOT 13
- "&" sign in dirs path HOT 3
- The Debian12 mergerfs ls&df command displays an exception. HOT 7
- FUSE passthrough HOT 3
- Android smb clients issue on remove files. HOT 1
- How can I avoid moving files across file systems (mechanical hard disks) caused by Path Preservation? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mergerfs.