ste_fairy Posted September 30, 2022 Share Posted September 30, 2022 Hi, I've searched the forums for an answer to this issue, but all similar problems/answers seem to stem from having a dual cache drive setup, which I don't have (only a single cache drive). Basically, Unraid is showing the wrong free space on my single btrfs cache drive. If you look at the screenshots you can see the used space calculated by Krusader doesn't match up with what should be free. The Unraid GUI matches these screenshots so it's not a Krusader problem. I'm lost, can anyone suggest anything? Quote Link to comment
Solution JorgeB Posted September 30, 2022 Solution Share Posted September 30, 2022 Image file types can grow with time, move everything to the array and check what was using the most space, then copy back with cp --sparse=always. 1 Quote Link to comment
ste_fairy Posted September 30, 2022 Author Share Posted September 30, 2022 Hi JorgeB, I've moved the system folder (one that contains docker.img) over to the array using mover and it looks like this is the culprit as you suspected. Would the following now work (please let me know if there is an easier way): 1) Move the system folder back to cache so that I can run docker again. 2) Enable docker using the old img then use Krusader to make a copy of the old docker.img onto the array. 3) Disable docker and delete old docker image. 4) Copy over new docker.img (using cp --sparse=always docker.img docker.img) from the array back onto cache. 5) Enable docker. Am I going around the houses with this method. I'm sure there are more efficient terminal commands to do this, if so could you run me through it? Cheers Steve Quote Link to comment
JorgeB Posted September 30, 2022 Share Posted September 30, 2022 If it's the docker image I would suggest just re-creating it, it's easier and faster: https://forums.unraid.net/topic/57181-docker-faq/?do=findComment&comment=564309 1 Quote Link to comment
ste_fairy Posted September 30, 2022 Author Share Posted September 30, 2022 Boom worked! I take it .img files need to be kept on top of over time then? Thanks for your help, been doing my head in haha. Steve 1 Quote Link to comment
JorgeB Posted September 30, 2022 Share Posted September 30, 2022 7 minutes ago, ste_fairy said: I take it .img files need to be kept on top of over time then? Yep, but they usually take some time to grow, there are reports that defragging the file system also helps, but only if there are no snapshots. 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.