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.

Reorganization of UnRaid Dir Structure (/tmp vs /dev/shm)

Featured Replies

Generally speaking it seems 1/2 of available ram is used for creation of a rootfs with the other half being allocated for a tmpfs mounted to /dev/shm.

 

Right now a suggested approach is to use /dev/shm for tmp tasks (media transcoding) as fully populating /dev/shm will not crash the system like populating /tmp will. However this isn't really a correct usage of /dev/shm which is designed as shared memory and not the temporary storage of files. I'd like to propose a more dynamic approach in that a default amount (say 2GB) plus zfs arc allocation, plus a slight overhead is used for the rootfs. The same value is also used for the creation of a tmpfs at /dev/shm. The balance is then allocated as a tmpfs mounted to /tmp or another dir marked for temporary file usage, maybe /mnt/volatile ?.

 

Example breakdown of a system with 128GB ram with default arc allocation and 20% buffer.

 

rootfs                       21.6G     /

tmpfs                       128M     /run
overlay                     21.6G     /lib
overlay                     21.6G     /usr
devtmpfs                  8.0M      /dev
tmpfs                       21.6G     /dev/shm

tmpfs                       106.4G   /tmp
tmpfs                       128M      /var/lo

 

 

 

 

Edited by DiscoverIt

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.