Cache Drive Stopped Working


kenoka

Recommended Posts

I had a cache pool of three drives. A couple of days ago, one of the drives dropped out of the pool, and I had to rebuild my dockers. I tested the suspect drive, and it seemed fine, but I had been using it in an external eSATA dock before putting it into my case, and it seems like that dock has failed. So I put the drive into the case, and started up.

 

The drive showed up again, and shows as part of the cache pool, but the cache capacity remains at 480 GB, rather than ~720 GB (two 480 GB drives and one 500 GB). The third cache drive will also show as spun down after some time, and there is essentially no read or write activity on it. When I originally added it, it was quite busy, and I expected this to happen again.

 

SMART reports attached.

mediaserver-smart-20161017-0737.zip

mediaserver-smart-20161017-0737_long.zip

Link to comment

You'll need to clear the SSD that dropped out before re-adding it, all data on it will be lost.

 

-if there's important data on the cache pool backup in case something goes wrong.

-stop array

-unassign the problem SSD

-clear it by typing on the console:

 

blkdiscard /dev/sdX

replace X with actual letter.

 

-start the array with the only two remaining cache devices, make sure cache pool mounts and on the cache page "btrfs filesystem show" total devices are correct and it's not displaying "***some devices missing"

-stop array, re-add SSD to the pool, a balance should begin, when done check again "btrfs filesystem show" and that total devices are correct.

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.