Koromochii Posted January 11, 2021 Share Posted January 11, 2021 In share settings I set "Use cache (for new files/directories):" to Yes/Preferred (forgot which one, I keep changing to test them out). I pressed mover button. It says beside Yes/Preferred "Mover transfers files from array to cache". My cache drive now has files from my array which makes sense. How do I clear the files from the cache drive or flush the cache drive? It's currently at 100%. Quote Link to comment
trurl Posted January 11, 2021 Share Posted January 11, 2021 1 minute ago, Koromochii said: Yes/Preferred "Mover transfers files from array to cache" Yes and Preferred are sort of opposite. Yes transfers files from cache to array. Preferred transfers files from array to cache. Since you seem to have made a mistake with this, if you post your diagnostics we can give more detailed advice about how to fix this and how to use cache in general. Tools - Diagnostics, attach complete Diagnostics ZIP file to your NEXT post in this thread. Quote Link to comment
Koromochii Posted January 11, 2021 Author Share Posted January 11, 2021 Just now, trurl said: Yes and Preferred are sort of opposite. Yes transfers files from cache to array. Preferred transfers files from array to cache. Since you seem to have made a mistake with this, if you post your diagnostics we can give more detailed advice about how to fix this and how to use cache in general. Tools - Diagnostics, attach complete Diagnostics ZIP file to your NEXT post in this thread. Ya I was playing around with yes/preferred and wanted to see what it does. oh so if set it back to YES and use mover it will move it back to the array and clear the cache drive? Quote Link to comment
Koromochii Posted January 11, 2021 Author Share Posted January 11, 2021 (edited) Here is the diagnostics. I have over 1TB of files in my array and the cache drive is 1TB so it just transferred everything into the cache drive when I set it to preferred and use "Mover". I want to clear the cache drive 1TB and set it up so that when I transfer files it'll use the cache drive instead of directly transferring to the array. syslog.txt Edited January 11, 2021 by Koromochii Quote Link to comment
trurl Posted January 11, 2021 Share Posted January 11, 2021 21 minutes ago, Koromochii said: Here is the diagnostics. No it isn't 29 minutes ago, trurl said: Tools - Diagnostics Quote Link to comment
Koromochii Posted January 11, 2021 Author Share Posted January 11, 2021 I followed https://wiki.unraid.net/Troubleshooting#How_to_get_help "How to get help" and one of the steps was to shut down. Not sure if it's affected. steinsgate-diagnostics-20210110-2232.zip Quote Link to comment
trurl Posted January 11, 2021 Share Posted January 11, 2021 36 minutes ago, Koromochii said: one of the steps was to shut down. Not sure if it's affected. Better to not reboot before getting diagnostics if you can help it because syslog is reset when you reboot and syslog is included in diagnostics. But since you already posted syslog earlier I guess we have that. Unfortunately, you got the diagnostics without starting the array, so no disks are mounted and neither are user shares, and those are exactly what I was hoping to see from diagnostics. I usually put it like this with new users: Quote If possible before rebooting and preferably with the array started Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread. and I guess I should have taken the trouble to do it this time as well. Quote Link to comment
trurl Posted January 11, 2021 Share Posted January 11, 2021 with the array started Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread. Quote Link to comment
Koromochii Posted January 11, 2021 Author Share Posted January 11, 2021 20 minutes ago, trurl said: with the array started Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread. Done In Share settings I set "Use cache (for new files/directories):" back to "Yes". I also pressed "Mover" and it looks like the cache drive is slowly getting more space. But the array is also increasing. Maybe it's making another copy to each file to the array. I'll have to see later if that's the case. steinsgate-diagnostics-20210110-2358.zip Quote Link to comment
trurl Posted January 11, 2021 Share Posted January 11, 2021 Your appdata, domains, and system shares are cache-prefer, as they should be, so their files will try to be on cache. But they currently have files on the array, and mover can't move open files. You will have to go to Settings and disable Docker and VM Manager and run mover again to get those moved to cache where they belong. Quote Link to comment
Koromochii Posted January 11, 2021 Author Share Posted January 11, 2021 9 hours ago, trurl said: Your appdata, domains, and system shares are cache-prefer, as they should be, so their files will try to be on cache. But they currently have files on the array, and mover can't move open files. You will have to go to Settings and disable Docker and VM Manager and run mover again to get those moved to cache where they belong. I think I fixed it, thanks. The cache drive is pretty empty now. Set my share settings of "Use cache (for new files/directories):" to "Yes" appdata, domains, iso, and system shares are cache-prefer. I didn't have VM so I didn't disable it, but I did disable Docker and enabled it back this morning after the mover ran overnight. Quote Link to comment
trurl Posted January 11, 2021 Share Posted January 11, 2021 2 hours ago, Koromochii said: The cache drive is pretty empty now. Your cache drive should have system share on it if dockers were ever enabled, and it should also have appdata on it for each of your dockers. Post new diagnostics Quote Link to comment
Koromochii Posted January 11, 2021 Author Share Posted January 11, 2021 4 hours ago, trurl said: Your cache drive should have system share on it if dockers were ever enabled, and it should also have appdata on it for each of your dockers. Post new diagnostics Here is the new diagnostics. I think it looks good now. I'm testing the transfer speeds of with and without cache drive and the speed is 113MB/s with and without cache drive. Is this expected? I'm using a nvme 1TB drive, I'm expecting higher transfer speeds. Does the cache drive only make it a sustain 113MB/s? it's not dropping in speed even for a big transfers of 10GB+ steinsgate-diagnostics-20210111-1624.zip Quote Link to comment
Koromochii Posted January 12, 2021 Author Share Posted January 12, 2021 3 hours ago, Koromochii said: Does the cache drive only make it a sustain 113MB/s? it's not dropping in speed even for a big transfers of 10GB+ steinsgate-diagnostics-20210111-1624.zip 95.92 kB · 0 downloads I found this 1000Mbit (Gigabit Ethernet LAN) 100 MB/sec 6 GB/minute I think I'm getting only 113MB/s because I'm bottlenecked by my network. So in theory, it doesn't matter if my cache drive is a ssd or an nvme because it'll get bottlenecked by the network at 100MB/s anyways. Quote Link to comment
Energen Posted January 12, 2021 Share Posted January 12, 2021 8 minutes ago, Koromochii said: I found this 1000Mbit (Gigabit Ethernet LAN) 100 MB/sec 6 GB/minute I think I'm getting only 113MB/s because I'm bottlenecked by my network. So in theory, it doesn't matter if my cache drive is a ssd or an nvme because it'll get bottlenecked by the network at 100MB/s anyways. Cache drive and array drive is in the same computer so network speed doesn't have any affect on it. More likely is that you are overloading your SSD/NVMe drive's onboard cache which then reduces write speed to the actual write throughput of the drive. Unless I'm misunderstanding where you're moving data to the cache drive from, or vice versa. Quote Link to comment
Koromochii Posted January 12, 2021 Author Share Posted January 12, 2021 (edited) 11 minutes ago, Energen said: Cache drive and array drive is in the same computer so network speed doesn't have any affect on it. More likely is that you are overloading your SSD/NVMe drive's onboard cache which then reduces write speed to the actual write throughput of the drive. Unless I'm misunderstanding where you're moving data to the cache drive from, or vice versa. I'm talking about my gaming pc transferring files to the unraid NAS (different computer) through windows file explorer. It looks like the max speed I can get is 113MB/s even though the nvme (cache drive) can have 3500MB/s read and 3000MB/s writes. This is due to the network being gigabit ethernet the max speed I can transfer is 100MB/s even though the nvme can write at 3000MB/s. I'm new to all this so I didn't expect there to be a bottleneck of 100MB/s on my network when I bought the nvme, I should have bought a regular ssd instead to save a few bucks. Edited January 12, 2021 by Koromochii Quote Link to comment
trurl Posted January 12, 2021 Share Posted January 12, 2021 7 hours ago, Koromochii said: Here is the new diagnostics. I think it looks good now. Your system share still has folders/files on the array. You can see how much of each disk is used by each user share by going to the User Shares page and clicking on Compute... for the share. Quote Link to comment
sysop-gwg Posted June 3, 2022 Share Posted June 3, 2022 @trurl Hi, I'm a "newbee" here...I noticed a warning today that my cache disk is almost full. Should this be something to be concerned about? Or, is this dynamic - meaning it will remove files from cache overtime and they get "stale"? Quote Link to comment
trurl Posted June 3, 2022 Share Posted June 3, 2022 2 hours ago, sysop-gwg said: Should this be something to be concerned about Yes Quote Link to comment
trurl Posted June 3, 2022 Share Posted June 3, 2022 Attach Diagnostics to your NEXT post in this thread Quote Link to comment
sysop-gwg Posted June 3, 2022 Share Posted June 3, 2022 @trurl Attached are our diagnostics - Thank you for your assistance. diagnostics-unraid.zip Quote Link to comment
trurl Posted June 4, 2022 Share Posted June 4, 2022 Sorry I wasn't able to respond sooner. Go to the User Shares page, click Compute All button, wait for the results. You may need to refresh the page if it doesn't finish in a few minutes. Post a screenshot. Quote Link to comment
sysop-gwg Posted June 6, 2022 Share Posted June 6, 2022 Here you go @trurl - Thank you. Quote Link to comment
trurl Posted June 6, 2022 Share Posted June 6, 2022 Go to Main - Pool Devices, click on the icon under the View column for Cache, and post a screenshot. Quote Link to comment
sysop-gwg Posted June 8, 2022 Share Posted June 8, 2022 Here you go @trurl - Thank you. 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.