Bjur Posted July 23 Share Posted July 23 (edited) I have a share where I moved some files into from an unprotected drive, but they were not really moved but more like symbolic links. When I tried to move them back from array to the unprotected SSD it still shows share as unprotected because it shows a folder from SSD still available for a few bytes. When I browse the share and seach for the folder it doesn't show anymore but share is still unprotected. unraid-diagnostics-20240723-1938.zip Its the Download folder I have on a SSD that's causing the trouble but it doesn't show up anymore when I browse the share. Edited July 23 by Bjur Quote Link to comment
Frank1940 Posted July 23 Share Posted July 23 (edited) 1 hour ago, Bjur said: Its the Download folder I have on a SSD that's causing the trouble but it doesn't show up anymore when I browse the share. A file from your Diagnostics in the 'Shares' folder shows this: This indicates that the share only exists on the cache drive. (I am assuming that this is the 'Download' folder that you are talking about!) Whether a file is moved from the cache to the array depends on these setting being set correct: If there are any files of an array share that are on a cache drive/pool without redundancy, the share will always be shown as 'Unprotected". EDIT: One more thing. Linux is case sensitive. 'Downloads' and 'downloads' are two separate and unique Share/directory names on your server! Edited July 23 by Frank1940 Quote Link to comment
Bjur Posted July 23 Author Share Posted July 23 (edited) @Frank1940Thanks for the answer Frank. I have a spare SSD which I created a separate pool for and called download (Unraid made it with capital D) In that SSD I created a share called downloads: When computing the other share serier i get Download to show up with 22 bytes which makes is unprotected. I dont want that. I browsed the array share and didn't find Download in it. How can I get the 22 bytes to dissapear. It must be a directory name or something. Thanks for the help. Edited July 23 by Bjur Quote Link to comment
Frank1940 Posted July 23 Share Posted July 23 1 hour ago, Bjur said: It must be a directory name or something. There should be a folder/directory on the 'Download' pool device named downloads and that folder/directory will be empty. That share will always be unprotected as long as it is on that disk and it (being empty) takes up 22 bytes. If you set up a 'Secondary storage' destination to the array and run mover, that folder/directory (and all of its contents) will be moved off of the 'Primary storage' onto the array. ( And the Download pool disk will empty.) Since you have a Parity protected array that Share will then become protected. IF you click on this symbol on the MAIN tab in front of the Download pool Device, it will open up the Unraid file manager. Quote Link to comment
Bjur Posted July 24 Author Share Posted July 24 @Frank1940: Hi Frank. Yes I agree there are a folder in downloads on the SSD with two small/empty files in it. But the problem is this SSD should have nothing to do with the array whatsoever which is was before and the array share was showing protected and the SSD was showing unprotected which was fine. Somehow eventhough I have browsed from the array shares arrow as you mentioned to the "download" location where the 22 bytes was supposed to be it doesnt show anything so Im not able to delete the 22 bytes and have it protected. How do I get it to show protected? Quote Link to comment
JorgeB Posted July 24 Share Posted July 24 Probably the folder exists on downloads, move or delete the data there. Quote Link to comment
Bjur Posted July 24 Author Share Posted July 24 Seriously I don't understand this. - I have now moved the SSD share to array with mover, still shows Download folder when I compute on the Array Share and shows unprotected. - I have now deleted the SSD Download share completely, still shows Download folder when I compute on the Array Share and shows unprotected. What is going on??? The Download share is not even there anymore... Quote Link to comment
JorgeB Posted July 24 Share Posted July 24 8 minutes ago, Bjur said: I have now moved the SSD share to array with mover, still shows Download folder when I compute on the Array Share and shows unprotected. That means there's something still there, set the primary and secondary storage options correctly for the mover to move that data to where you want, enable mover logging, run the mover, and post new diags if it doesn't move everything. Quote Link to comment
Frank1940 Posted July 24 Share Posted July 24 Go to the 'Shares' tab of the GUI. At the bottom of the the 'User Shares' section is a "COMPUTE ALL" button. Click it and wait. Then get a screen shot of the results. Post up the screen capture. Repeat for the 'Disk Shares'. Quote Link to comment
Bjur Posted July 24 Author Share Posted July 24 (edited) I got it working. What I did was remove the share, remove the pool and start over again. Called the share another name and now it's showing correct. SSD unprotected and the other array share protected. Followup question: 1. I have another share where I moved two small metadata libraries from cache SSD to share. The 2 libraries are not on cache SSD anymore, but I can't delete them no matter what I try. Have tried mc, doublecommander, CLI and Total Commander. When I try and run a script where I change permissions on the share with the two libraries included it says: "cannot read directory xxx structure needs cleaning". How do I fix that so I can delete them. When I compute it shows the two libraries as cache. 2. With the new share it's called dls and maybe because it's on an SSD outside of the array it shows as /mnt/dls. When I use the share with dockers, - A) Should I use /mnt/dls or - B) /mnt/user/dls as mountpath in configuration of dockers and when I move files manually from SSD share dls to array shares? I want to be 100% sure to do it correctly, so I move it correctly. Edited July 24 by Bjur 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.