Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is it safe to symlink /config/<dir> ?

Featured Replies

I keep all my dockers /config on appdata cache-only share and it works fine in most cases.

 

As cache disk capacity is rather limited is it safe to symlink some of the subdirectories of /config to array share for storing larger amounts of data?

 

Example: JDownloader docker uses /config/Downloads for storing downloaded content. In some cases downloads can take lots of cache space. I'd like to symlink /config/Downloads (in fact /mnt/user/appdata/jdownloader/Downloads/) so it points to /mnt/user/<array sharename>/<dir>. Effectively JD config files would stay on cache, but downloaded content would be sent straight to disk array.

Is it safe/effective way to handle the problem?

  • Author

None of the docker veterans know how to do it?

 

I experimented with symlinks and they are totally ignored by docker.

 

I also tried to mount a directory with option bind (mount --bind /<array share>/<dir> /<cache disk/<dir>) and it seems to work i.e. such directory is visible for docker. One thing to note is that you probably should not bind two user shares like so:

/mnt/user/download/jdownloader on /mnt/user/appdata/jdownloader/mydownloads type none (rw,bind)

(Binding two user shares produces strange results)

 

but direct reference to cache works

/mnt/user/download/jdownloader on /mnt/cache/appdata/jdownloader/mydownloads type none (rw,bind)

 

command:

mount -o bind /mnt/user/download/jdownloader/ /mnt/cache/appdata/jdownloader/mydownloads/

 

So far the above seems to work (also mover behaves correctly as /mnt/user/download utilizes cache)

 

Any comments?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.