Cache forced readonly

Recommended Posts

This morning I have 2 errors from Fix Common Problems and I'm not sure what I need to do. Thought I would ask before I jump and assume.

Error 1:

Unable to write to cache - Drive mounted read-only or completely full. Begin Investigation Here: Unraid Main

Error 2:

Unable to write to Docker ImageDocker - Image either full or corrupted. Investigate Here: Docker Settings


Here is the disk log from the cache.

Mar 16 00:00:40 UnNAS kernel: BTRFS error (device sdd1): unable to find ref byte nr 128548089856 parent 0 root 5 owner 265457 offset 85291008
Mar 16 00:00:40 UnNAS kernel: BTRFS: error (device sdd1) in __btrfs_free_extent:6802: errno=-2 No such entry
Mar 16 00:00:40 UnNAS kernel: BTRFS info (device sdd1): forced readonly
Mar 16 00:00:40 UnNAS kernel: BTRFS: error (device sdd1) in btrfs_run_delayed_refs:2935: errno=-2 No such entry
Mar 16 00:00:40 UnNAS kernel: BTRFS error (device sdd1): pending csums is 66195456

I assume this is the cause of the unwriteable docker but I'm unsure of how to fix it. I'm still only a month green at this.

I've attached my log file as well.


Link to comment
3 minutes ago, said:

Yes, don't try to backup the docker image, it's easy to recreate, also see here if the fs goes unmountable before the backup is done.

Ok, thanks. I couldn't run krusader so I'm manually copying the cache drive to a local computer now. I also have an auto backup from yesterday as well. I'll wait for the backup to finish, hopefully before anything happens, and then follow the instructions you provided.

Link to comment

Well, the backup finished so I attempted to stop the array but it got stuck in a loop trying to unmount the disk shares. Gave it about 20 minutes then opened a terminal and ran "fuser -km /mnt/user" but that didn't help. I remembered I was sshed in to the cache so I ran "fuser -km /mnt/cache" but that didn't help. When to run it for disk1 but accidently hit enter after "fuser -km /mnt/" and my terminal connection dropped and the webgui is unavailable.


Guess I'll have to wait till I get home tonight and do a hard reboot.

Link to comment

Daughter is home today so I had her reboot my server. Aside from the forced parity check, everything came back up normal, including docker, all it's containers and the cache doesn't show any errors.


Is there anything I should look at or maybe rebuild the cache anyway? Parity check will take about 14 hours. Should I just let things run their course and see if I get a file system corruption again?

Link to comment

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.