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.

Unable to write to cache

Featured Replies

Using latest version, Unraid 6.12.13 with following plugins:

  • Appdata Backup
  • Community Applications
  • Dynamix File Manager
  • Fix Common Problems
  • GPU Statistics
  • Nvidia Driver
  • RTL8168 Drivers
  • unbalanced
  • Unraid Connect
  • User Scripts (with a script provided via tutorial to spin down Nvidia GPU fans automatically at array start and hourly)

 

No VMs and one docker: Plex (binhex-plex)

AMD Ryzen 2600 CPU | 16GB RAM | Nvidia 1660 Ti GPU

 

I am getting **unable to write to cache** error from Fix Common Problems. This happened last year, and I forget exactly what I did but was eventually able to 'fix' it and it was running fine until this past weekend when I couldn't access my Plex docker via GUI. I don't have a ton of setup/critical data so I just wound up trying a different docker (linuxserver-io) and it worked for maybe a day and then same issue. I then got the **unable to write to cache** and decided to just buy a new cache drive, a 250GB SATA III PCIE drive, replacing a ~5 year old equivalent. I also replaced the SATA cable with a new one. Ran fine for last ~4 days and then this morning received the error again.

 

When I try to access any of my plex libraries the UI shows "Something went wrong."

 

First, tell us the exact version of Unraid, the plugins and addons you have loaded, and what hardware you are using.  You can tell us about your hardware either here in the post, or in your signature.
 
Diagnostics attached. Thank you in advance for your assistance.

unraid-diagnostics-20240905-0813.zip

Solved by JorgeB

  • Community Expert
  • Solution
Sep  4 04:39:30 unRAID kernel: BTRFS error (device sdc1): block=1054228480 write time tree block corruption detected

 

Pool went read-only, rebooting should make it read/write again, but note that this error usually means a RAM problem, and running a Ryzen CPU with overclocked RAM like you have is known to cause data corruption, which was also being detected by btrfs, so see here and also recommend running memtest.

  • Author

Thank you JorgeB. I just checked and I am not overclocking the RAM per the BIOS settings, which are all just set to AUTO. I then ran memtest and immediately it started throwing errors! I then rebooted and went back into the BIOS and forced the RAM speed to 1600mhz, which is the lowest setting, restarted memtest and still got errors immediately. Fortunately, I have some old 2400mhz RAM that was sitting unused so I threw that in, reset the BIOS, rebooted and started memtest. It's running now and so far, no errors! Thank you!

 

If it caused any data corruption due to the bad RAM, do you have any next steps I should take to ensure my data is good? I'm fine with reinstalling the plex docker if needed. I have a fairly simple/small library.

Edited by mark2741

  • Community Expert

Run a scrub on the pool, but depending how the corruption happened, it my not detect everything, also any data written to the array may also be corrupt.

  • Author

Thanks again. Scrub ran without error. I did notice - after booting up the system for the first time after replacing the RAM - all of my apps, settings, plex docker, etc. seem just as before, but the name of server reverted back to "Tower". I changed it and all seems to be working great now.

 

I went from 16GB down to 8GB (2x4GB) but even with a plex stream running it is only using 35% of memory so I think all is well. I may buy new RAM eventually. Thanks again for your help. Fingers crossed no corruption on the array but as of now everything seems fine so far.

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.