this post was submitted on 14 Jun 2023
3 points (100.0% liked)
Synology
965 readers
1 users here now
Synology
This is a place for all topics regarding Synology hard- and software - especially (but not limited to) their NAS devices.
Just one thing: Let’s please be pleasant to each other and respect that people have different experience levels. Some are pros, some are noobs, yet everybody may have good ideas or interesting questions to ask and comments to make, and all of these shall be heard and appreciated. ❤️
And since we know from TV that all IT nerds 🤓 are h4xx0rs
and wear hoodies all the time (if not even ski masks) in front of their computers, I chose an appropriate banner image (image credit).
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
OK, thanks. Is there a UI/tool for bind-mounting? I feel it's a dirty (though effective) workaround that bring its own problems and dirty workarounds (to make the mounts reboot-proof is more stuff to worry about, etc)
Not that I know of. I have had my mount bind command there for years and never had a problem.
There are different ways of making it survive a reboot, and I use the method based on this (I actually have a bunch of startup scripts, so below is just an example of what I would do for mount bind : https://community.synology.com/enu/forum/17/post/88713
Place the shell script at /usr/local/etc/rc.d
I guess you can use DSM's task scheduler to accomplish the same thing, although I am not sure if then the mount bind will be done soon enough before media server is fired up.
Any reason to prefer that to putting it in /etc/fstab? Also, it looks like my DSM has systemd, so, progress, I guess :)
Whatever works for you ! :)