Help: Unable to write to cache


DZMM

Recommended Posts

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.

Link to comment

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.

Link to comment
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?

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.

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.