January 28, 201511 yr Good day crew - I am using 2 1 TB WD Red drives as a cache pool (v6b12) After booting up TOWER2 the 2 Cache drives show as 2 TB worth of unprotected Cache available. By navigating to MAIN/CACHE/CACHE and clicking onto Balance (-dconvert=raid1 -mconvert=raid1) I can convert the array to a Raid 1 and I see 1 TB worth of data post Balance. How do I keep the balance / raid 1 selection persistent? Thanks everyone FYI I can fully saturate my networks writes to a raid 1 cache pool... NO need for additional speed of a raid 0 .
February 1, 201511 yr Is there a problem? I think he's asking how does he keep this working after a reboot/power cycle. I assume he tried a reboot and the RAID-1 BTRFS Cache Pool he setup isn't persisted, so he'd have to redo the same steps again to make it work again.
February 1, 201511 yr Clearly that's what he's asking. landS => I infer from your question that when you reboot the array the cache is reset to RAID-0 ... is that correct? I don't have a cache, so I can't confirm the settings -- but if you've made and applied these changes they certainly should be persistent [be sure you're checking any "Apply" button that may be on the configuration page]. If the setting is not retained after a shutdown/reboot, I'd send Tom a note [ [email protected] ] and outline the issue ... you could just include a link to this thread.
February 1, 201511 yr Author thanks Gary - when we have power back up consistently (middle of a blizzard here) I will pound away on this. The first 2 reboots after starting up a cache pool I had to rebalance for the capacity shown on the cache drive to indicate a raid-1.
February 1, 201511 yr Author strange - this may have been caused from a disabled disk in the array. ran a new confg, removed the bad data disk (which had no data on it), and now it is not replicating.
February 2, 201511 yr Good ... glad it's working okay now. I suspect this "glitch" was related to the power issues you had ... hopefully it will behave now
February 2, 201511 yr Author solved - 6b12 with a disabled disk in the array causes btrfs cache pool to require manual re-balance upon reboot. Remove disabled disk and all is good.
February 2, 201511 yr Strange behavior => a disabled array disk certainly shouldn't have any impact on the cache !!
February 2, 201511 yr Author agreed - and in all honesty I did do a new config... so it could have been something other than the disabled disk. The only things that changed with new config 1 - disk 3 became disk 2 2 - disk 2 (disabled - no data) removed 3 - disk 4 removed (2 TB WD drive - spot to be taken by a 4 TB hgst) I do not really want to play with bad 3TB disk now - but willing to ship it off if any MOD wants to mess with it.
February 2, 201511 yr Strange behavior => a disabled array disk certainly shouldn't have any impact on the cache !! Indeed. Perhaps it was to give the user an option of using part of the cache-drive as a replacement data-drive? Might just have been a data-drive error causes cache-drives bit to not execute...
Archived
This topic is now archived and is closed to further replies.