reoccurring issue with cache drives


Recommended Posts

every few weeks i run into an issue with my cache drives where it ends up taking the system off line.  

The disk log shows the following:

ar 24 10:21:42 TheBeast kernel: BTRFS error (device nvme1n1p1): unable to find ref byte nr 505982324736 parent 0 root 5 owner 5166944 offset 0
Mar 24 10:21:42 TheBeast kernel: BTRFS: error (device nvme1n1p1) in __btrfs_free_extent:7073: errno=-2 No such entry
Mar 24 10:21:42 TheBeast kernel: BTRFS info (device nvme1n1p1): forced readonly
Mar 24 10:21:42 TheBeast kernel: BTRFS: error (device nvme1n1p1) in btrfs_run_delayed_refs:3089: errno=-2 No such entry
Mar 24 10:21:42 TheBeast kernel: BTRFS error (device nvme1n1p1): pending csums is 8060928

 

I also see BTRFS errors in the syslog around the same time.  I've repaired and even completely re-created the cache.  I have 2 drives in the cache pool both Samsung SSD 960 256 GB drives, every few weeks the issue reoccurs.  What information can i share to help diagnose why this happens and how to avoid it from occurring again?

 

 

Link to comment

Thanks for the quick reply, here is the output from the dev stats command:

[/dev/nvme1n1p1].write_io_errs    0
[/dev/nvme1n1p1].read_io_errs     0
[/dev/nvme1n1p1].flush_io_errs    0
[/dev/nvme1n1p1].corruption_errs  159
[/dev/nvme1n1p1].generation_errs  0
[/dev/nvme0n1p1].write_io_errs    0
[/dev/nvme0n1p1].read_io_errs     0
[/dev/nvme0n1p1].flush_io_errs    0
[/dev/nvme0n1p1].corruption_errs  159
[/dev/nvme0n1p1].generation_errs  0

 

Link to comment
  • 1 month later...

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.