Spikerman Posted December 10, 2020 Share Posted December 10, 2020 I have been going through forum links but they are all dated from a few years ago and the guides are not working. I am trying to remove 1 cache drive from a 2 drive cache pool. when i stop the array, remove the drive, it wont let me start it back up with 1 drive. Quote Link to comment
Spikerman Posted December 10, 2020 Author Share Posted December 10, 2020 Somehow its now a raid 0, i guess i just need to clear all cache drives and re-add a single one. Whats the best process for this? I already have appdata backed up, but whats the best practice for the system folder? change cache form prefer to no? Quote Link to comment
JorgeB Posted December 11, 2020 Share Posted December 11, 2020 If you have the space you can convert back to raid1 and then remove a device, both procedures are in the FAQ pinned on this sub-forum. Quote Link to comment
Spikerman Posted December 11, 2020 Author Share Posted December 11, 2020 (edited) 14 hours ago, JorgeB said: If you have the space you can convert back to raid1 and then remove a device, both procedures are in the FAQ pinned on this sub-forum. My system is doing some strange stuff. my cache array is now showing 250gb instead of 500gb. I tried to convert to raid 1, but its doing nothing. I trying a full balance now, then will try to convert to raid 1. I tried following the guide before and when I removed the cache drive, it would not let me start the array since there was not a 2nd cache disk assigned. My cache is showing as: Data, DUP: total=165.00GiB, used=164.59GiB System, DUP: total=32.00MiB, used=48.00KiB Metadata, DUP: total=1.00GiB, used=615.00MiB GlobalReserve, single: total=224.03MiB, used=0.00B Edited December 11, 2020 by Spikerman Quote Link to comment
Spikerman Posted December 11, 2020 Author Share Posted December 11, 2020 (edited) Looks like i'm getting a error trying to convert: balance: invalid convert data profile raid1 mover wont run as well. attached is my diagnostic logtower-diagnostics-20201211-1445.zip Edited December 11, 2020 by Spikerman Quote Link to comment
JorgeB Posted December 12, 2020 Share Posted December 12, 2020 Cache is currently a single device, so it can't be converted to raid1: Data Metadata System Id Path DUP DUP DUP Unallocated -- --------- --------- --------- -------- ----------- 1 /dev/sdb1 328.00GiB 2.00GiB 64.00MiB 135.70GiB -- --------- --------- --------- -------- ----------- Total 164.00GiB 1.00GiB 32.00MiB 135.70GiB Used 163.59GiB 616.27MiB 48.00KiB For some reason you are using the DUP profile for data, convert to single. Quote Link to comment
Spikerman Posted December 12, 2020 Author Share Posted December 12, 2020 (edited) When I try to convert to single mode, I get this error in console: Quote Dec 12 07:26:14 Tower ool www[23487]: /usr/local/emhttp/plugins/dynamix/scripts/btrfs_balance 'start' '/mnt/cache' '-dconvert=single -mconvert=raid1' Dec 12 07:26:14 Tower kernel: BTRFS error (device sdb1): balance: invalid convert metadata profile raid1 Edited December 12, 2020 by Spikerman Quote Link to comment
itimpi Posted December 12, 2020 Share Posted December 12, 2020 You cannot have the -—mconvert=raid1 option with only a single device in the pool Quote Link to comment
Spikerman Posted December 12, 2020 Author Share Posted December 12, 2020 @itimpiit shows two devices in pool and when I go to convert here, it pipes out that error when trying to setup a single Quote Link to comment
JorgeB Posted December 13, 2020 Share Posted December 13, 2020 17 hours ago, Spikerman said: it shows two devices in pool But that's not correct, like I mentioned above On 12/12/2020 at 9:24 AM, JorgeB said: Cache is currently a single device, so it can't be converted to raid1: You can balance to single and remove the other device. Quote Link to comment
Spikerman Posted December 13, 2020 Author Share Posted December 13, 2020 @JorgeB how do I balance it to single then? Is there a command I need to use directly in terminal? Quote Link to comment
JorgeB Posted December 14, 2020 Share Posted December 14, 2020 btrfs balance start -dconvert=single /mnt/cache Quote Link to comment
Spikerman Posted December 14, 2020 Author Share Posted December 14, 2020 ran the command and now cache is showing as Quote Data, single: total=164.00GiB, used=163.59GiB System, DUP: total=32.00MiB, used=48.00KiB Metadata, DUP: total=2.00GiB, used=617.25MiB GlobalReserve, single: total=226.34MiB, used=0.00B I am following your faq post @JorgeB on the process. Quote Procedure: stop the array unassign pool disk to remove it's OK to reorder remaining pool members if you want (but see point below), i.e., you had a three device pool and removed cache2, you can assign cache3 to slot2 before starting the array (you can also do it later) while it's OK to reorder members it's currently not OK to change the number of cache slots at the same time you remove a device, you can do that after the pool is balance down, i.e., just don't do both things at the same time. start the array a balance and/or a device delete will begin depending on the profile used and number of pool members remaining, wait for cache activity to stop, the stop array button will be inhibited during the operation, this can take some time depending on how much data is on the pool and how fast your devices are. when the cache activity stops or the stop array button is available the replacement is done. I'm trying to remove the 2nd cache drive, but when I set it as unassigned I cannot start the array to perform the balance down. Quote Link to comment
JorgeB Posted December 14, 2020 Share Posted December 14, 2020 Cache2 is already not part of the pool, despite what the GUI shows, you just need to stop the array, unassign cache2, need to click the check box to allow array start and start the array, no balance will be needed. Quote Link to comment
Spikerman Posted December 14, 2020 Author Share Posted December 14, 2020 @JorgeB got it, thanks! I totally missed the checkbox, it needs to be bigger! haha 1 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.