unread Posted November 1, 2022 Share Posted November 1, 2022 (edited) Hi, i have 2 SSDs (raid 1) But it still shows the folders as unprotected...? usually this should happen when th ere are still files left on mnt disk 1 or disk2, but there isnt root@XXX:~# ls /mnt/disk1 BACKUP/ root@XXX:~# ls /mnt/disk2 root@XXX:~# root@XXX:~# ls /mnt/cache/ CARAT/ appdata/ domains/ isos/ system/ Edited November 1, 2022 by unread Quote Link to comment
Solution JorgeB Posted November 1, 2022 Solution Share Posted November 1, 2022 1 minute ago, unread said: But it still shows the folders as unprotected...? Yellow color in the dashboard means cache only shares, only on the "Shares" tab it means unprotected. Quote Link to comment
unread Posted November 1, 2022 Author Share Posted November 1, 2022 Just now, JorgeB said: Yellow color in the dashboard means cache only shares, only on the "Shares" tab it means unprotected. oh, thats very unintuitive... Thanks. Quote Link to comment
Kilrah Posted November 1, 2022 Share Posted November 1, 2022 It's not the color that matters, it's the "warning" icon... Quote Link to comment
unread Posted November 1, 2022 Author Share Posted November 1, 2022 25 minutes ago, Kilrah said: It's not the color that matters, it's the "warning" icon... It should be consistent across the board. Quote Link to comment
dev_guy Posted November 1, 2022 Share Posted November 1, 2022 7 hours ago, JorgeB said: Yellow color in the dashboard means cache only shares, only on the "Shares" tab it means unprotected. I'm having this issue as well and it shows unprotected on the Shares tab with the warning triangles. I have two mirrored "Raid 1" btrfs cache pools set up (one with a pair of SSDs and one with a pair of conventional drives) and Unraid considers some of the shares using them to be unprotected. The "System" share using the same cache is happy. Why? Please see the attached screen shots. Quote Link to comment
JorgeB Posted November 1, 2022 Share Posted November 1, 2022 1 hour ago, dev_guy said: I'm having this issue as well and it shows unprotected on the Shares tab with the warning triangles. Is the array protected with parity and without any disabled disk? If not any share that has files there will be unprotected. Quote Link to comment
dev_guy Posted November 1, 2022 Share Posted November 1, 2022 24 minutes ago, JorgeB said: Is the array protected with parity and without any disabled disk? If not any share that has files there will be unprotected. The main array currently has a missing disk. But, if you'll note, the shares are set to "Yes" meaning they shouldn't care about the Unraid array as data will never be stored there. And the "System" share is happy with the situation despite being set to "Yes" on the same cache. This very much seems like a bug in the latest version of Unraid? Quote Link to comment
JorgeB Posted November 1, 2022 Share Posted November 1, 2022 1 minute ago, dev_guy said: the shares are set to "Yes" meaning they shouldn't care about the Unraid array as data will never be stored there That doesn't matter, what matters if the share has data on the array or not, you can check by clicking on "compute" for that share. Quote Link to comment
dev_guy Posted November 1, 2022 Share Posted November 1, 2022 Just now, JorgeB said: That doesn't matter, what matters if the share has data on the array or not, you can check by clicking on "compute" for that share. The shares flagged as "unprotected" have no data on the array. They were created recently and have always been set to "Yes" for cache only hence have never had data on the array unless there's some bug in Unraid that writes data to the array even when you create a share that's supposed to always use a cache pool? This really seems like a bug? Quote Link to comment
JorgeB Posted November 1, 2022 Share Posted November 1, 2022 Click on compute for that share and post a screenshot together with the diagnostics. Quote Link to comment
dev_guy Posted November 1, 2022 Share Posted November 1, 2022 Clicking on compute shows SIX BYTES on the array. Again, there seems to be no reason for this? Why did Unraid write 6 bytes of information to the array for a newly created share that's set to "Yes" or cache only? How can someone prevent Unraid from doing what it's not supposed to do? Quote Link to comment
JorgeB Posted November 1, 2022 Share Posted November 1, 2022 So that confirms what I said, share has files in the array, 6 Bytes is likely just the folder, you can delete it or change the share to cache=prefer and run the mover and after that it will show protected. Quote Link to comment
dev_guy Posted November 1, 2022 Share Posted November 1, 2022 1 minute ago, JorgeB said: So that confirms what I said, share has files in the array, 6 Bytes is likely just the folder, you can delete it or change the share to cache=prefer and run the mover and after that it will show protected. Delete it how? I don't see any obvious things to delete in my array? And why was a folder created in my array in the first place when this share was created to ONLY USE CACHE from the very start? This seriously seems like a problem that needs to be addressed? It's easily re-created. This isn't some fringe weird issue. It's something anyone can recreate in a few easy steps. Unraid seems to be broken if it's writing things to the array for newly created shares that are supposed to only use cache. Can you explain how I have this wrong? Quote Link to comment
Kilrah Posted November 1, 2022 Share Posted November 1, 2022 2 hours ago, dev_guy said: They were created recently and have always been set to "Yes" for cache only hence have never had data on the array unless there's some bug in Unraid that writes data to the array even when you create a share that's supposed to always use a cache pool? This really seems like a bug? No, you chose "Yes" which is "put on cache, then move to array". It's "Only" that never moves to the array. 1 Quote Link to comment
itimpi Posted November 1, 2022 Share Posted November 1, 2022 2 hours ago, dev_guy said: The main array currently has a missing disk. But, if you'll note, the shares are set to "Yes" meaning they shouldn't care about the Unraid array as data will never be stored there. Actually the Yea value means the data WILL be stored on the array if mover gets a chance to put it there. so if the array is not currently protected then the warning triangle makes sense. It sounds as if you may not quite understand how the values for the Use Cache setting operate as the Yes setting does NOT mean you want it kept permanently on the cache. Using the help built into the GUI for this setting can help clarify how this setting operates. 1 Quote Link to comment
dev_guy Posted November 2, 2022 Share Posted November 2, 2022 2 hours ago, itimpi said: Actually the Yea value means the data WILL be stored on the array if mover gets a chance to put it there. so if the array is not currently protected then the warning triangle makes sense. It sounds as if you may not quite understand how the values for the Use Cache setting operate as the Yes setting does NOT mean you want it kept permanently on the cache. Using the help built into the GUI for this setting can help clarify how this setting operates. Thank you @itimpi @Kilrahand @JorgeB as you are correct and have hopefully provided the answer. It doesn't explain why the System share, which is also set to "Yes" is green and protected, but I agree I should have chosen "Only" if I want the shares to stay on the cache. I have more testing to do. Quote Link to comment
ChatNoir Posted November 2, 2022 Share Posted November 2, 2022 6 hours ago, dev_guy said: It doesn't explain why the System share, which is also set to "Yes" is green and protected I would guess that the files in that share are always in use when the system is started and the Mover is never able to move them. The docker image for example. Quote Link to comment
dev_guy Posted November 3, 2022 Share Posted November 3, 2022 (edited) On 11/1/2022 at 11:48 PM, ChatNoir said: I would guess that the files in that share are always in use when the system is started and the Mover is never able to move them. The docker image for example. Thanks @ChatNoir. The System share was also set up when the main array was fully intact while the shares flagged as unprotected were set up after the main array was missing a drive. While I've been using Unraid for several years, have two licenses on two servers, I'm only recently starting to make several changes and exploring some new things. I appreciate all the great people here who are very willing to help even when people like me make mistakes. It's one of the best aspects of Unraid. Edited November 3, 2022 by dev_guy 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.