WEHA Posted July 30, 2017 Share Posted July 30, 2017 (edited) So I was adding a pcie card in the unraid system and booted it back up. Array was on auto start so this started but I noticed one of the cache disks was missing. Not sure why this would be allowed to happen as an array disk missing would prevent the array from starting, is this normal behavior? Anyway, I removed the card and I got the cache disk back and it was balancing. The strange was that the used data status was dropping so it scared me at first but when checking with du, nothing changed. The balance finished and now I have a 2TB cache disk where this should be 1TB (2 x 1TB nvme sdd). Cache shares are still showing green meaning protected but when I check balance on the cache page it says no balance found. Stopping and starting the array does not change anything. So 2 questions: - How do I fix this? unless the only way is remaking the cache... - How can I make unraid not mount the cache when one of the disks is missing? Diagnostics attached tower-diagnostics-20170730-1757.zip Edited July 31, 2017 by WEHA mark as solved Quote Link to comment
JorgeB Posted July 30, 2017 Share Posted July 30, 2017 12 minutes ago, WEHA said: is this normal behavior? Yes, for the cache pool, it won't start with a missing array disk. Cache was convert to single profile, convert to RAID1 again: Quote Link to comment
WEHA Posted July 30, 2017 Author Share Posted July 30, 2017 Fair enough but why do the shares indicate that they are protected? Quote Link to comment
WEHA Posted July 30, 2017 Author Share Posted July 30, 2017 1 hour ago, johnnie.black said: Cache was convert to single profile, convert to RAID1 again: Do I have to use : -dconvert=single -mconvert=raid1 single as in single disk or as in raid 0? thanks! Quote Link to comment
JorgeB Posted July 30, 2017 Share Posted July 30, 2017 RADI1 for both: -dconvert=raid1 -mconvert=raid1 Quote Link to comment
WEHA Posted July 31, 2017 Author Share Posted July 31, 2017 12 hours ago, johnnie.black said: RADI1 for both: Alright Thanks, 2 questions though. If you don't mind. Do I need to move the data first or can I be sure not to loose any data with the conversion? This is not mentioned in the post so I'd like to be sure, I can imagine btrfs is smart enough to do this when enough space is available. Reading your faq post properly I see that metadata can be in raid 1 mode separately, what exactly does this mean -> are the files protected or not? Unraid indicates they are but I would think metadata is not enough, this confuses me as you would surely understand. thanks again! Quote Link to comment
JorgeB Posted July 31, 2017 Share Posted July 31, 2017 1 hour ago, WEHA said: Do I need to move the data first or can I be sure not to loose any data with the conversion? Data should be safe, but a backup of any important data is always good is case something goes wrong. 1 hour ago, WEHA said: Reading your faq post properly I see that metadata can be in raid 1 mode separately, what exactly does this mean -> are the files protected or not? Metadata should be raid1, even when data isn't like with single or raid0 profiles mostly for metadata corruption protection, but in those modes if you lose a disk you'll lose all data. Quote Link to comment
WEHA Posted July 31, 2017 Author Share Posted July 31, 2017 (edited) 16 minutes ago, johnnie.black said: Metadata should be raid1, even when data isn't like with single or raid0 profiles mostly for metadata corruption protection, but in those modes if you lose a disk you'll lose all data. Just as I suspected, but then unraid showing it protected is a bug then no? Balance status: Data, single: total=871.00GiB, used=801.92GiB System, single: total=32.00MiB, used=128.00KiB Metadata, single: total=4.00GiB, used=1.25GiB GlobalReserve, single: total=512.00MiB, used=0.00B So nothing is raid 1... Edited July 31, 2017 by WEHA Quote Link to comment
JorgeB Posted July 31, 2017 Share Posted July 31, 2017 (edited) 6 minutes ago, WEHA said: but then unraid showing it protected is a bug then no? Yes, by default unRAID always makes the pool raid1 and won't check for the actual profile in use, so it considers the pool protected when there are 2 or more cache devices. Edited July 31, 2017 by johnnie.black Quote Link to comment
WEHA Posted July 31, 2017 Author Share Posted July 31, 2017 Ok well that's not that interesting I'm sure there are reasons for this... anyway, thanks for assisting me! 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.