tazire Posted August 20, 2017 Share Posted August 20, 2017 Basically as my title states i am looking to convert my cache storage from raid 0 to raid 1. essentially i have been seeing the odd error creep into one of my ssd's. I have plenty of available space to convert from raid 0 to raid 1. 102gb used out of 720gb (2x120gb & 2x240gb). I have found the commands and just wanted to double check i have it all correct before implementing it and also that all the data should be fine while making this conversion? -dconvert=raid0 -mconvert=raid1 My intention is to eventually buy replacement SSD's (2x500gb samsung 850EVO) to sort out the issues but i just want to stop the cache from being completely unusable before i replace them. Thanks in advance. Link to comment
JorgeB Posted August 21, 2017 Share Posted August 21, 2017 Correct command is: -dconvert=raid1 -mconvert=raid1 It's usually a safe operation but it's a good idea to backup any irreplaceable data before beginning. Link to comment
tazire Posted August 21, 2017 Author Share Posted August 21, 2017 thanks for the reply. Link to comment
tazire Posted August 22, 2017 Author Share Posted August 22, 2017 ok I did it... although I have just gotten an error. Cache pool BTRFS too many profiles Everything seems to be working fine from what i can tell. although strangely the amount of space taken up by the cache is now half what it was while in raid0... any ideas? Link to comment
JorgeB Posted August 22, 2017 Share Posted August 22, 2017 5 hours ago, tazire said: Cache pool BTRFS too many profiles This means not all was converted to raid1, run the same command again, if the error doesn't go away post your diagnostics. Link to comment
bonienl Posted August 22, 2017 Share Posted August 22, 2017 7 hours ago, tazire said: ok I did it... although I have just gotten an error. Cache pool BTRFS too many profiles Everything seems to be working fine from what i can tell. although strangely the amount of space taken up by the cache is now half what it was while in raid0... any ideas? This message can appear while conversion is in progress. It has temporarily two profiles: existing and new. Do btrfs filesystem df /mnt/cache To verify only one profile exists. Ps. It is expected that RAID1 is half the size of RAID0 Link to comment
JorgeB Posted August 22, 2017 Share Posted August 22, 2017 1 hour ago, bonienl said: This message can appear while conversion is in progress. It has temporarily two profiles: existing and new. Good point, I assumed he was seeing the error after the conversion, sometimes a second balance it's needed to get rid of the earlier profile. Link to comment
tazire Posted August 22, 2017 Author Share Posted August 22, 2017 thanks for the responses lads. you are correct. that error has gone since. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.