Jump to content

Fix Common Problems Error: Unable to write to cache_ssd


Recommended Posts

Logs are filled with HBA related errors, difficult to see anything else, but looks like a device pool dropped offline:

 

Oct 14 15:38:28 phoenix kernel: BTRFS error (device dm-22: state EA): bdev /dev/mapper/sdad1 errs: wr 8, rd 1, flush 0, corrupt 0, gen 0

 

Reboot and post new diags after array start.

Link to comment
  • 3 weeks later...

I pulled that drive suspecting it has failed they are old ssds at this point.

I was able to replace it with a new larger SSD and I can insert that into the cache pool

image.png.6c84605454470245351df3453d76b052.png

But when I try to start the array I get an error about the pool.

image.png.459f0bd08e20b0ee50d6670ccdd95b7c.png

Could have sworn when I did this a few years back it prompted me to format the disk and then rebuild the array.

Link to comment

Oh my!  I assume by "single profile" you mean I was not using btfs version of Raid1 or higher.  So I had no redundancy...  How did I do that I could have sworn this was setup with at least one spare drive guess I'm wrong.

My only option then I guess is to create a new pool.

Trying to do that via the GUI I don't see a way to remove the old cache_ssd pool though how can I do that after I remove all the disks and create the new pool?

Link to comment

Got ya...

Well since those drives were all very old anyway.  I removed the old cache_ssd pool and created a new one with 2 new 1TB SSDs.

Now that its back up with the new pool I guess I just need to edit my share "logic" to include the new ssd_cache pool where I desire it.

Then I'll let it run a bit to see if any more issues come up.  Its using the same controller + cables + power cables as before, so if it was a drive it should be fixed.  If it is a power cable or such I would expect to see the same issue.

*fingers crossed*

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.

×
×
  • Create New...