{"action":"closed","issue":{"url":"https://api.github.com/repos/claudyus/LXC-Web-Panel/issues/61","labels_url":"https://api.github.com/repos/claudyus/LXC-Web-Panel/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/claudyus/LXC-Web-Panel/issues/61/comments","events_url":"https://api.github.com/repos/claudyus/LXC-Web-Panel/issues/61/events","html_url":"https://github.com/claudyus/LXC-Web-Panel/issues/61","id":56680295,"number":61,"title":"\"Disk usage\" calculated wrong and not using the right location","user":{"login":"psarossy","id":207358,"avatar_url":"https://avatars.githubusercontent.com/u/207358?v=3","gravatar_id":"","url":"https://api.github.com/users/psarossy","html_url":"https://github.com/psarossy","followers_url":"https://api.github.com/users/psarossy/followers","following_url":"https://api.github.com/users/psarossy/following{/other_user}","gists_url":"https://api.github.com/users/psarossy/gists{/gist_id}","starred_url":"https://api.github.com/users/psarossy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psarossy/subscriptions","organizations_url":"https://api.github.com/users/psarossy/orgs","repos_url":"https://api.github.com/users/psarossy/repos","events_url":"https://api.github.com/users/psarossy/events{/privacy}","received_events_url":"https://api.github.com/users/psarossy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T14:56:24Z","updated_at":"2015-02-05T20:00:51Z","closed_at":"2015-02-05T20:00:51Z","body":"Hello!\r\n\r\nI've just installed LWP, and so far I'm quite happy with it (was giving up on it before I found your fork).\r\n\r\nOne issue I ran into is that the \"Disk usage\" part is using not taking into account the location of the containers and just shows the df of /. Given that my containers are not located there, it's not helpful, but what I thought of is even in case it would use the right device, it would not be useful as it's a raid array that just happens to have the LXC folder too.\r\n\r\nI think a better way would be to read lxc.lxcpath from the config, and do the free/used space calculation based on that.\r\n\r\nCheers,\r\nPeter"}}