nmills3 Posted April 3 Share Posted April 3 So a while back i had to remove 1 disk of my 3 drive cache pool because of an issue that was causing write errors for the drive. Since then i've worked out that the drive is fine and that it was an issue with the sas to 4 x sata cable that i was using, i've replaced the cable now. How do i go about re adding the previously removed cache drive back to the cache pool? Before removing the drive the pool was made up of 3 x 1TB ssds and i think i had it as a mirror (yes that was dumb) and it had a total capacity of 1.5TB. After removing the drive the pool got converted into what i think is just a 2 disk mirror with 1TB of total storage. My goal is to re add the failed drive to go back up to 3 disks total and then i want to convert it into whatever raid will give me 2TB of storage with 1 disk being used for redundancy. Ideally it would be nice if there is a way to do this while leaving the data in place and not having to move everything to the array and then back onto the cache pool as the cache pool has a lot of tiny files and will probably take a long time to move over and back again Quote Link to comment
JorgeB Posted April 3 Share Posted April 3 Please post the current diagnosticis to see the pool profile. Quote Link to comment
nmills3 Posted April 3 Author Share Posted April 3 tower-diagnostics-20240403-1722.zip Quote Link to comment
JorgeB Posted April 3 Share Posted April 3 Pool is raid1, you can just add the new device. Quote Link to comment
nmills3 Posted April 3 Author Share Posted April 3 well it's not technically a new device, it's the old device being re added after an extended period of time, will the system just play nice with that or will it try and do something strange as it will recognise it as a previously existing disk in the pool? Also how hard should it be to convert the pool to a raid 5 after adding the drive back? Quote Link to comment
Solution JorgeB Posted April 3 Solution Share Posted April 3 It shouldn't matter is it was a previous pool device, it will be wiped first, there will be a "all data on this device will be deleted" when you add it to the pool. 21 minutes ago, nmills3 said: Also how hard should it be to convert the pool to a raid 5 after adding the drive back? It's easy, but btrfs raid5/6 is not really recommend, I would recommend using zfs raidz instead, of course that would require that you backup and re-format the pool. Quote Link to comment
nmills3 Posted April 3 Author Share Posted April 3 is there a solution so switch to a 3 drive pool with 2TB of storage without needing to switch to zfs or is that my only option? Quote Link to comment
JorgeB Posted April 3 Share Posted April 3 You can use btrfs raid5, but like mentioned it's not recommended, other than that only zfs. 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.