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 Fix Common Problems

Featured Replies

Hello all,

 

I have had some smart errors, "uncorrectable error cnt" with my cache drive for a while. I used to have a Samsung SSD 860 500 GB in my system that gave me the uncorrectable error cnt error, so I replaced it with a Samsung 870 1 TB. The 1 TB eventually started giving me the same error, but I was unable to figure out any issues with it. I have been busy recently and haven't had much time to maintain my server, but today I went to use it and discovered an "Unable to write to cache" error in the Fix Common Problems popup. Now when I reboot the server and start the array it takes minutes to bring the array on-line, and I am unable to access my shares and the Docker service fails to start. I am assuming this is all related to the cache drive not working properly, but maybe there are additional problems?

 

A previous theory I had was that it was a bad SATA cable or port on the mobo, so I tried a new cable, and a new port on the mobo to no avail. It still does not work. I also tried a new SATA power cable, but that as well did not work. I have a Dell HBA330 SAS controller that I tried connecting to the SSD, but UNRAID would not even see the drive upon reboot. I have two drives in the array on the controller, so I know the controller is working.

 

Does anyone have any ideas what may be causing these issues? Is it just a bad drive? I have attached my diagnostics file to the post.

 

Thanks in advance!

the-beast-diagnostics-20240225-1258.zip

Solved by trurl

  • Community Expert
  • Solution
SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed: read failure       70%      4527         13602456

replace

  • Author

Thanks, @trurl! Is there anything I can do to recover the data on the cache drive, or will I need to start over? Additionally, is there anything I need to do to prevent this from happening again? 

  • Community Expert

I would try to copy (not move) as much of the data off that drive as you can, and it will then need replacing as it appears to be failing if it cannot complete the SMART test..    You seem to have been a bit unlucky with your SSDs because Samsung are one of the top brands and one does not expect their SSDs to fail early.   There should be no setting needed in Unraid to prevent this - it is a hardware issue.

  • Author

I'll be replacing the SSD with an identical drive (hopefully tonight). @itimpi, since I am unable to view my shares once the array is up, will I be able to unassign the bad SSD and copy the data to the new drive if they are both in Unassigned Devices? Is there another way I should copy the data from the old drive to the new one? I see that I can start the array without the cache drive, but I haven't looked into the implications of what that will do to the system.

  • Community Expert

You might try unassigning the bad cache drive to see if your user shares come back. Of course, they won't include anything still on cache.

 

You don't need user shares to do the copy anyway.

 

Install Dynamix File Manager plugin. It will let you work with folders and files directly on the server.

 

When you get the new cache assigned, you can try to mount the bad cache as an Unassigned Device, and copy its files to the new cache.

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.