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.

Validate my Cache setup for max MariaDB performance

Featured Replies

Today I was looking to install NextCloud. The Info page stated to use `/mnt/cache/` for the underlying MariaDB. In turn, I looked at my current MariaDB config, but it is actually set to `/mnt/appdata/mariadb-official/data`.

 

I also checked the `appdata` share, and it is set Primary to `Cache`, but I also have Secondary to `Array, High-water` and the Mover action set to `Array to Cache`.

 

I also note that this directory exists, but is NOT on the `/mnt/diskX/` equivalent locations:

`/mnt/cache/appdata`

 

  1. What have I configured?!?
  2. Do I need to set `appdata` Secondary to `None`?
  3. Do I need to manually run any data moves (and what sequence should be used with active processes?
  4. How do I update the MariaDB container config? Can I simply update the `Data` path to `/mnt/cache/mariab-official/data` and it will start using the Cache with no other effort or tasks required?

 

I have seen some posts on similar topics, but they occur from multiple years ago and older Unraid versions, but also I have my specific diagnostics attached for my use-case.

 

Tower Diagnostics Mar 02 2025.zip

Edited by explosionhole
more info about file directory structures

Solved by Frank1940

  • Community Expert
  • Solution

As I understand, your appdata share will remain on the cache drive unless there is not room for it there.  You have a 1TB cache drive. 

 

How much space is now free on it?

 

You have three shares (appdata, isos, and domains) assigned to the cache drive as their preferred store location.  How much bigger do you expect those shares to get?  If you feel that the appdata share must absolutely always be on the share for performance reasons, then set the secondary storage location to 'None'.  But be aware that if it should grow to the point where it does not fit on that cache drive, something is going to fail due to a lack of space. 

 

With your present configuration setup if you run out for space on the cache drive, this share could be moved to the array.  If you increase the size of the cache drive so that all of the shares marked 'Array to cache' would fit. Then the shares be moved back to the cache drive. 

  • Community Expert

One more thing for max performance.  Upgrade to version 7 of Unraid.  Under   SETTINGS   You will find one called   Power Mode   and you want to set it to 'Best Performance'. 

  • Author
11 hours ago, Frank1940 said:

As I understand, your appdata share will remain on the cache drive unless there is not room for it there.  You have a 1TB cache drive. 

 

How much space is now free on it?

 

You have three shares (appdata, isos, and domains) assigned to the cache drive as their preferred store location.  How much bigger do you expect those shares to get?  If you feel that the appdata share must absolutely always be on the share for performance reasons, then set the secondary storage location to 'None'.  But be aware that if it should grow to the point where it does not fit on that cache drive, something is going to fail due to a lack of space. 

 

With your present configuration setup if you run out for space on the cache drive, this share could be moved to the array.  If you increase the size of the cache drive so that all of the shares marked 'Array to cache' would fit. Then the shares be moved back to the cache drive. 

 

Thanks @Frank1940 - ISOs and Domains are empty. They were default shares when I installed Unraid originally. I am using 15% of that 1TB Cache SSD. The server is fairly static now, with the essential configs already in place. However, I obviously do tinker with new containers over time, such as this NextCloud exploration.

 

 

  • Author
8 hours ago, Frank1940 said:

One more thing for max performance.  Upgrade to version 7 of Unraid.  Under   SETTINGS   You will find one called   Power Mode   and you want to set it to 'Best Performance'. 

 

Yes, I saw this recently as well, but need to read more around the upgrade process, known issues, etc, before attempting it... I have what I would expect is a typical implementation, but I obviously have my configs and usage to be wary of, such as Tailscale community script / plugin and a number of Docker containers.

 

Any insight how safe / mature this is would be appreciated, but I also expect everybody's mileage to vary...

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.