Kash76 Posted February 22, 2017 Share Posted February 22, 2017 I am having trouble finding what is taking up almost 20GB on my SD cache drives. Does anyone have an idea why there is a difference here? root@unRAID:/mnt/cache# du -sh .67G . Thanks! Sent from my ONEPLUS A3000 using Tapatalk Quote Link to comment
CHBMB Posted February 22, 2017 Share Posted February 22, 2017 docker.img would be my first guess..... Quote Link to comment
Kash76 Posted February 22, 2017 Author Share Posted February 22, 2017 That is in /mnt/user/system/docker/docker.img the system share is set to "no" for cache. That's not it then right? Sent for my OnePlus 3T Quote Link to comment
CHBMB Posted February 22, 2017 Share Posted February 22, 2017 I think "No" means no new files can be created there, but I guess it's possible that if the docker.img is already there it may not have been moved. ls -la /mnt/cache/system/docker/ would tell you though Quote Link to comment
trurl Posted February 22, 2017 Share Posted February 22, 2017 2 minutes ago, Kash76 said: That is in /mnt/user/system/docker/docker.img the system share is set to "no" for cache. That's not it then right? Sent for my OnePlus 3T Why on earth would you have your system share set to cache-no? In any case, that setting only controls where things get written. It doesn't necessarily mean something for the share wasn't written there before it was set to cache-no. Quote Link to comment
CHBMB Posted February 22, 2017 Share Posted February 22, 2017 My guess is he wanted to preserve space on the cache disk array, but yeah I agree, wouldn't be how I'd play things either. Quote Link to comment
Kash76 Posted February 22, 2017 Author Share Posted February 22, 2017 Nope... root@unRAID:/mnt/cache/domains# ls -la /mnt/cache/system/docker/ /bin/ls: cannot access '/mnt/cache/system/docker/ ': No such file or directorySent for my OnePlus 3T Quote Link to comment
Kash76 Posted February 22, 2017 Author Share Posted February 22, 2017 May have been a setting that I set early on as I was getting familiar. I'd like to find out what is taking the extra space and then I can move the docker image back in. Sent for my OnePlus 3T Quote Link to comment
trurl Posted February 22, 2017 Share Posted February 22, 2017 1 minute ago, Kash76 said: May have been a setting that I set early on as I was getting familiar. I'd like to find out what is taking the extra space and then I can move the docker image back in. Sent for my OnePlus 3T ls -la /mnt/cache Then repeat for any subfolders of /mnt/cache, like ls -la /mnt/cache/system etc. Quote Link to comment
Kash76 Posted February 22, 2017 Author Share Posted February 22, 2017 I used "du -sh ." and get 67G when in /mnt/cache that alone should verify that it's not the 84.5GB that the gui is claiming right? Sent for my OnePlus 3T Quote Link to comment
trurl Posted February 22, 2017 Share Posted February 22, 2017 What filesystem is your cache disk? Quote Link to comment
CHBMB Posted February 22, 2017 Share Posted February 22, 2017 It'll be btrfs as there's two cache disks.... Quote Link to comment
Kash76 Posted February 22, 2017 Author Share Posted February 22, 2017 It'll be btrfs as there's two cache disks....Correct Sent for my OnePlus 3T Quote Link to comment
John_M Posted February 22, 2017 Share Posted February 22, 2017 Try du -s --si . from the same place instead. Does that give a "better" result? It's the old 1024 vs 1000 argument again. Quote Link to comment
Kash76 Posted February 22, 2017 Author Share Posted February 22, 2017 81GB with your command and 75 GB with "du - sh" now with the Docker image moved back in. The gui still says 92.9GB which is much more. Sent for my OnePlus 3T Quote Link to comment
Kash76 Posted February 22, 2017 Author Share Posted February 22, 2017 Did everyone's match between gui and these commands? Sent for my OnePlus 3T Quote Link to comment
JorgeB Posted February 22, 2017 Share Posted February 22, 2017 du may not always work reliably with btrfs, use btrfs filesystem df, or btrfs fi df for short: btrfs fi df /mnt/cache Values will be in GiB, for GB like displayed by the GUI use: btrfs fi df --si /mnt/cache Quote Link to comment
Kash76 Posted February 26, 2017 Author Share Posted February 26, 2017 Thanks, that is showing what I have. 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.