{"action":"created","issue":{"url":"https://api.github.com/repos/emc-openstack/storops/issues/8","repository_url":"https://api.github.com/repos/emc-openstack/storops","labels_url":"https://api.github.com/repos/emc-openstack/storops/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/emc-openstack/storops/issues/8/comments","events_url":"https://api.github.com/repos/emc-openstack/storops/issues/8/events","html_url":"https://github.com/emc-openstack/storops/issues/8","id":162856310,"number":8,"title":"Getting all types of Capacity(Used, Free raw disk capacity,Free Storage pool capacity) for VNX","user":{"login":"sunnyrarora","id":13348767,"avatar_url":"https://avatars.githubusercontent.com/u/13348767?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnyrarora","html_url":"https://github.com/sunnyrarora","followers_url":"https://api.github.com/users/sunnyrarora/followers","following_url":"https://api.github.com/users/sunnyrarora/following{/other_user}","gists_url":"https://api.github.com/users/sunnyrarora/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnyrarora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnyrarora/subscriptions","organizations_url":"https://api.github.com/users/sunnyrarora/orgs","repos_url":"https://api.github.com/users/sunnyrarora/repos","events_url":"https://api.github.com/users/sunnyrarora/events{/privacy}","received_events_url":"https://api.github.com/users/sunnyrarora/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emc-openstack/storops/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/emc-openstack/storops/labels/VNX","name":"VNX","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"Tianqi-Tang","id":8002307,"avatar_url":"https://avatars.githubusercontent.com/u/8002307?v=3","gravatar_id":"","url":"https://api.github.com/users/Tianqi-Tang","html_url":"https://github.com/Tianqi-Tang","followers_url":"https://api.github.com/users/Tianqi-Tang/followers","following_url":"https://api.github.com/users/Tianqi-Tang/following{/other_user}","gists_url":"https://api.github.com/users/Tianqi-Tang/gists{/gist_id}","starred_url":"https://api.github.com/users/Tianqi-Tang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tianqi-Tang/subscriptions","organizations_url":"https://api.github.com/users/Tianqi-Tang/orgs","repos_url":"https://api.github.com/users/Tianqi-Tang/repos","events_url":"https://api.github.com/users/Tianqi-Tang/events{/privacy}","received_events_url":"https://api.github.com/users/Tianqi-Tang/received_events","type":"User","site_admin":false},"assignees":[{"login":"Tianqi-Tang","id":8002307,"avatar_url":"https://avatars.githubusercontent.com/u/8002307?v=3","gravatar_id":"","url":"https://api.github.com/users/Tianqi-Tang","html_url":"https://github.com/Tianqi-Tang","followers_url":"https://api.github.com/users/Tianqi-Tang/followers","following_url":"https://api.github.com/users/Tianqi-Tang/following{/other_user}","gists_url":"https://api.github.com/users/Tianqi-Tang/gists{/gist_id}","starred_url":"https://api.github.com/users/Tianqi-Tang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tianqi-Tang/subscriptions","organizations_url":"https://api.github.com/users/Tianqi-Tang/orgs","repos_url":"https://api.github.com/users/Tianqi-Tang/repos","events_url":"https://api.github.com/users/Tianqi-Tang/events{/privacy}","received_events_url":"https://api.github.com/users/Tianqi-Tang/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/emc-openstack/storops/milestones/1","html_url":"https://github.com/emc-openstack/storops/milestones/0.2.13","labels_url":"https://api.github.com/repos/emc-openstack/storops/milestones/1/labels","id":1854132,"number":1,"title":"0.2.13","description":null,"creator":{"login":"jealous","id":1789979,"avatar_url":"https://avatars.githubusercontent.com/u/1789979?v=3","gravatar_id":"","url":"https://api.github.com/users/jealous","html_url":"https://github.com/jealous","followers_url":"https://api.github.com/users/jealous/followers","following_url":"https://api.github.com/users/jealous/following{/other_user}","gists_url":"https://api.github.com/users/jealous/gists{/gist_id}","starred_url":"https://api.github.com/users/jealous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jealous/subscriptions","organizations_url":"https://api.github.com/users/jealous/orgs","repos_url":"https://api.github.com/users/jealous/repos","events_url":"https://api.github.com/users/jealous/events{/privacy}","received_events_url":"https://api.github.com/users/jealous/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-06-29T03:32:32Z","updated_at":"2016-06-30T02:48:11Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-06-29T07:13:54Z","updated_at":"2016-07-01T10:21:14Z","closed_at":null,"body":"Hi Team,\r\nI am looking for getting information on all types storage capacity of VNX. Attached image shows \"Storage capacity summary\" on Unisphere Dashboard of VNX. It shows 3 types of capacity in our environment.  \r\n\"Free Storage pool capacity\": 274812.95 GB( I am able to get/calculate this correctly Via Storops)\r\n\"Free raw disk capacity\": 14552.92 GB\r\n\"Used Capacity\": 78257.92 GB\r\n![vnx](https://cloud.githubusercontent.com/assets/13348767/16443006/d13d7c88-3df3-11e6-9f50-0e00905f8d5e.PNG)\r\n\r\nMy Query is : How to get info on \"Used\" & \"Free raw disk capacity\" using storops.\r\nI did some analysis as shown below.\r\n\r\n```\r\n>>>pools = vnx.get_pool()\r\n>>> pools.available_capacity_gbs\r\n[260031.885, 14781.063]\r\n```\r\ni.e Addition of these Two pools is 274812.948 , This is correctly shown in the Dashboard of storage for \"Free Storage pool capacity\".\r\nBut whenever i try to get consumed capacity,  it shows the  capacity of actual luns which are allocated from the two pools. \r\n```\r\n>>> pools.consumed_capacity_gbs\r\n[842.142, 243.976]\r\n\r\n```\r\n\r\nBelow are some links which can be checked/referred on what exactly i am looking for.\r\n\r\n[How does Unisphere calculates Capacity on Dashboard](https://community.emc.com/message/630742)\r\n.\r\nOR Is there any way we can get logical_capacity, raw_capacity, used_capacity, free_capacity as shown here [How to compile capacity and used capacity of an EMC VNX via CLI?](http://serverfault.com/questions/655505/how-to-compile-capacity-and-used-capacity-of-an-emc-vnx-via-cli)\r\n\r\nYou can also check  [Available space and Used space](https://community.emc.com/thread/163141?tstart=0)\r\n\r\nPlease let me know if you have any questions.\r\n\r\nThanks\r\nSunny"},"comment":{"url":"https://api.github.com/repos/emc-openstack/storops/issues/comments/229912583","html_url":"https://github.com/emc-openstack/storops/issues/8#issuecomment-229912583","issue_url":"https://api.github.com/repos/emc-openstack/storops/issues/8","id":229912583,"user":{"login":"Tianqi-Tang","id":8002307,"avatar_url":"https://avatars.githubusercontent.com/u/8002307?v=3","gravatar_id":"","url":"https://api.github.com/users/Tianqi-Tang","html_url":"https://github.com/Tianqi-Tang","followers_url":"https://api.github.com/users/Tianqi-Tang/followers","following_url":"https://api.github.com/users/Tianqi-Tang/following{/other_user}","gists_url":"https://api.github.com/users/Tianqi-Tang/gists{/gist_id}","starred_url":"https://api.github.com/users/Tianqi-Tang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tianqi-Tang/subscriptions","organizations_url":"https://api.github.com/users/Tianqi-Tang/orgs","repos_url":"https://api.github.com/users/Tianqi-Tang/repos","events_url":"https://api.github.com/users/Tianqi-Tang/events{/privacy}","received_events_url":"https://api.github.com/users/Tianqi-Tang/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T10:21:14Z","updated_at":"2016-07-01T10:21:14Z","body":"Hi Sunny,\r\n\r\nFYI. The Total capacity and the free raw disk capacity hasn't count on the capacity consumed by vault drivers. However, storops can't get the vault drivers capacity from naviseccli. Thus, the capacity returned by storops may not the same as GUI.\r\n\r\nThanks,\r\nTina"}}
{"actor":{"display_login":"Tianqi-Tang"}}