wayner Posted September 8, 2023 Share Posted September 8, 2023 I am having btrfs corruption errors on my cache drive. So I want to reformat it. Are these the correct steps? Stop Docker service. Stop VM service. Set cache to yes for all shares. appdata is currently set to prefer cache. Run Mover. Wait until Mover moves over all data from cache drive to array. Stop array. Do I need to unassign the cache drive at this point? Should I format to btrfs or xfs? It seems that btrfs corruption issues are pretty common. When I get the cache back up and change the appdata share to cache prefer and run Mover will it then move all of the appdata files back to the cache? If so, should I wait until Mover has moved all appdata files back to the cache before starting the Docker service, or does that not matter? Does it make sense to add a second cache drive? If so, does that make a difference to whether I should use btrfs or xfs on the cache drive? Quote Link to comment
JorgeB Posted September 8, 2023 Share Posted September 8, 2023 2 minutes ago, wayner said: Do I need to unassign the cache drive at this point? No, you can just click on it to change the filesystem, then start array and format. 2 minutes ago, wayner said: It seems that btrfs corruption issues are pretty common. It's usually fine with reliable hardware, but you can use xfs or zfs. 3 minutes ago, wayner said: When I get the cache back up and change the appdata share to cache prefer and run Mover will it then move all of the appdata files back to the cache? Yes. 3 minutes ago, wayner said: If so, should I wait until Mover has moved all appdata files back to the cache before starting the Docker service, or does that not matter? Wait. 3 minutes ago, wayner said: Does it make sense to add a second cache drive? If so, does that make a difference to whether I should use btrfs or xfs on the cache drive? It adds redundancy, so it will protect you in case of a device failure, only btrfs or zfs supports mirrors, not xfs. Quote Link to comment
wayner Posted September 8, 2023 Author Share Posted September 8, 2023 Thanks - how do I setup mirroring of the cache drive? Is there a doc page for that? Quote Link to comment
JorgeB Posted September 8, 2023 Share Posted September 8, 2023 Just assign two devices to a pool and then choose the fileystem and profile (raid1), start array and format. Quote Link to comment
Recommended Posts
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.