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.

Help: Unable to write to cache

Featured Replies

I was running balance for the first time in ages last night and I think it crashed/went wrong as my dockers stopped working and I woke up to a FCP 'Unable to write to cache' error.  I've tried rebooting but the error is still there and I'm not sure how to fix.  Help please

 

Diagnostics attached from before the reboot

 

highlander-diagnostics-20191102-0740.zip

  • Community Expert

Syslog is flooded with unrelated errors and because of that there several hours are missing, but there are hardware issues with one of the cache devices:

 

Nov  2 05:40:14 Highlander kernel: BTRFS error (device sde1): bdev /dev/sdc1 errs: wr 238, rd 20533, flush 1, corrupt 0, gen 0

 

Post clean diags after a reboot to see current state, also see here for better pool monitoring.

  • Community Expert

Cache2 is dropping offline:

 

Nov  2 08:14:41 Highlander kernel: ata1: hard resetting link
Nov  2 08:14:51 Highlander kernel: ata1: softreset failed (device not ready)
Nov  2 08:14:51 Highlander kernel: ata1: hard resetting link
Nov  2 08:15:01 Highlander kernel: ata1: softreset failed (device not ready)
Nov  2 08:15:01 Highlander kernel: ata1: hard resetting link
Nov  2 08:15:12 Highlander kernel: ata1: link is slow to respond, please be patient (ready=0)
Nov  2 08:15:36 Highlander kernel: ata1: softreset failed (device not ready)
Nov  2 08:15:36 Highlander kernel: ata1: limiting SATA link speed to 3.0 Gbps
Nov  2 08:15:36 Highlander kernel: ata1: hard resetting link
Nov  2 08:15:41 Highlander kernel: ata1: softreset failed (device not ready)
Nov  2 08:15:41 Highlander kernel: ata1: reset failed, giving up
Nov  2 08:15:41 Highlander kernel: ata1.00: disabled

 

Replace cables and see link above for fixing pool.

  • Author
1 hour ago, johnnie.black said:

 

Replace cables and see link above for fixing pool.

Replacing cables did the trick.  Maybe one of my old cables came lose, not sure how but thanks anyway.

 

I ran btrfs dev stats /mnt/cache and it kicked up no errors this time.  I'm going to add the script to monitor going forwards.  Are there any other checks I should run?

  • Community Expert

Like mentioned on the FAQ entry you should run a scrub and confirm there are no uncorrectable errors.

42 minutes ago, DZMM said:

Maybe one of my old cables came lose, not sure

It happens. They seem to be designed to come loose.

  • Author

hmm same problem occurred again.  I've changed cables again and run scrub with no errors coming up, so no idea what the problem is

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.