{"action":"created","issue":{"url":"https://api.github.com/repos/Storj/dataserv-client/issues/85","labels_url":"https://api.github.com/repos/Storj/dataserv-client/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/Storj/dataserv-client/issues/85/comments","events_url":"https://api.github.com/repos/Storj/dataserv-client/issues/85/events","html_url":"https://github.com/Storj/dataserv-client/issues/85","id":103887006,"number":85,"title":"Friendly size vs. explicit size on --max_size variable.","user":{"login":"nrenich","id":855213,"avatar_url":"https://avatars.githubusercontent.com/u/855213?v=3","gravatar_id":"","url":"https://api.github.com/users/nrenich","html_url":"https://github.com/nrenich","followers_url":"https://api.github.com/users/nrenich/followers","following_url":"https://api.github.com/users/nrenich/following{/other_user}","gists_url":"https://api.github.com/users/nrenich/gists{/gist_id}","starred_url":"https://api.github.com/users/nrenich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrenich/subscriptions","organizations_url":"https://api.github.com/users/nrenich/orgs","repos_url":"https://api.github.com/users/nrenich/repos","events_url":"https://api.github.com/users/nrenich/events{/privacy}","received_events_url":"https://api.github.com/users/nrenich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-29T22:37:12Z","updated_at":"2015-08-29T22:45:51Z","closed_at":null,"body":"I observed that using \"--max_size 10995116277760\" I would generate 81920 shards, 10TB. I arrived at that byte number using the conversion site: http://www.convertunits.com/from/TB/to/byte\r\nWhen switching on the command line to \"--max_size 10TB\" it would report to use a max height of 74505. \r\n```\r\nC:\\dataserv-client>dataserv-client.exe --debug --store_path D:\\Storj\\Store_1_10TB --max_size 10TB --\r\nurl=http://status.driveshare.org:5000 build\r\nResuming from height 74505\r\n```\r\nAlso, it does not appear that you can use decimal places, for example if you selected \"--max_size 10.1TB\" it will crash with the following:\r\n```\r\nC:\\dataserv-client>dataserv-client.exe --debug --store_path D:\\Storj\\Store_1_10TB --max_size 10.1TB\r\n--url=http://status.driveshare.org:5000 build\r\nTraceback (most recent call last):\r\n  File \"dataserv-client\", line 10, in <module>\r\n  File \"E:\\dataserv-client\\dataserv_client\\cli.py\", line 151, in main\r\n  File \"E:\\dataserv-client\\dataserv_client\\api.py\", line 33, in __init__\r\n  File \"E:\\dataserv-client\\dataserv_client\\deserialize.py\", line 34, in byte_count\r\n  File \"E:\\dataserv-client\\dataserv_client\\deserialize.py\", line 14, in _get_byte_count\r\nValueError: invalid literal for int() with base 10: '10.1'\r\n```\r\nThe later may be more of a feature request as it could be quite helpful to easily expand your build on the remaining space of a physical volume. "},"comment":{"url":"https://api.github.com/repos/Storj/dataserv-client/issues/comments/136058697","html_url":"https://github.com/Storj/dataserv-client/issues/85#issuecomment-136058697","issue_url":"https://api.github.com/repos/Storj/dataserv-client/issues/85","id":136058697,"user":{"login":"littleskunk","id":6333390,"avatar_url":"https://avatars.githubusercontent.com/u/6333390?v=3","gravatar_id":"","url":"https://api.github.com/users/littleskunk","html_url":"https://github.com/littleskunk","followers_url":"https://api.github.com/users/littleskunk/followers","following_url":"https://api.github.com/users/littleskunk/following{/other_user}","gists_url":"https://api.github.com/users/littleskunk/gists{/gist_id}","starred_url":"https://api.github.com/users/littleskunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littleskunk/subscriptions","organizations_url":"https://api.github.com/users/littleskunk/orgs","repos_url":"https://api.github.com/users/littleskunk/repos","events_url":"https://api.github.com/users/littleskunk/events{/privacy}","received_events_url":"https://api.github.com/users/littleskunk/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T22:45:51Z","updated_at":"2015-08-29T22:45:51Z","body":"Try it with 10T and not 10TB"}}