Jump to content
Luke787

Cache drive errors after unclean shutdown

4 posts in this topic Last Reply

Recommended Posts

Unraid 6.8.3

Hardware: Dell R710 + Lenovo SA120

 

I recently installed PiHole in a docker which lead to a kernel panic that caused an unclean shutdown. After starting UnRaid back up, I had the Fix Common Problems plugin  showing the error:

Unable to write to cache     Drive mounted read-only or completely full. 

 

I've had multiple issues with multiple containers having Sql issues, likely due to something wrong with the cache. If I perform an 'ls' on the cache drive, I get:

root@R710:/mnt/cache# ls
/bin/ls: reading directory '.': Input/output error
 

The disk log info shows a lot of this and more:

Oct 16 04:40:06 R710 kernel: verify_parent_transid: 8 callbacks suppressed
Oct 16 04:40:06 R710 kernel: BTRFS error (device sdg1): parent transid verify failed on 114130944 wanted 1964701 found 1964700
### [PREVIOUS LINE REPEATED 5 TIMES] ###
Oct 16 04:40:08 R710 kernel: BTRFS error (device sdg1): parent transid verify failed on 113278976 wanted 1964701 found 1964700
Oct 16 04:40:08 R710 kernel: BTRFS error (device sdg1): parent transid verify failed on 114130944 wanted 1964701 found 1964700
### [PREVIOUS LINE REPEATED 2 TIMES] ###
Oct 16 04:40:09 R710 kernel: BTRFS info (device sdg1): no csum found for inode 30816523 start 0
Oct 16 04:40:09 R710 kernel: BTRFS warning (device sdg1): csum failed root 5 ino 30816523 off 0 csum 0x39ffcf77 expected csum 0x00000000 mirror 1
Oct 16 04:40:09 R710 kernel: BTRFS info (device sdg1): no csum found for inode 30816523 start 0

 

I'm not terribly familiar with Btrfs, and I assume there is corruption somewhere due to the unclean shutdown. Wondering what the best next steps are to get my cache disk working again and hopefully not lose the data on it. 

 

Any help or insight would be appreciated.

r710-diagnostics-20201016-0106.zip

Edited by Luke787

Share this post


Link to post
10 minutes ago, Luke787 said:

transid verify failed

These are fatal with btrfs, it means some writes were lost, there are some recovery options here, most likely to work for this is option 2, btrfs restore.

Share this post


Link to post

Awesome. Appreciate the quick response. I'll try these out over the weekend and respond with the results. I appreciate the input!

Share this post


Link to post

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...

×   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.