[ https://issues.apache.org/jira/browse/CLOUDSTACK-6797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14013481#comment-14013481 ]
prashant kumar mishra edited comment on CLOUDSTACK-6797 at 5/30/14 10:02 AM: ----------------------------------------------------------------------------- 1->newly created volumes doesn't get counted in allocated space until it is attached to a vm , so it is not going to affect storage operation even we create huge disk . 2->resized disk get counted it allocated space , so if user create huge disk , it will affects all storage operation . 3->there should be some checks for max size based on current storage size. was (Author: prashantkm): 1->newly created volume don't get counted in allocated space until it is attached to a vm , so it is not going to affect storage operation even we create huge disk . 2->resized disk get counted it allocated space , so if user create huge disk , it will affects all storage operation . 3->there should be some checks for max size . > volume resize hsould not be allowed for detached volumes > -------------------------------------------------------- > > Key: CLOUDSTACK-6797 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6797 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Storage Controller > Affects Versions: 4.2.0, 4.4.0 > Reporter: prashant kumar mishra > Assignee: Min Chen > Priority: Critical > Fix For: 4.4.0 > > Attachments: Logs_db.rar, screenshot-1.jpg, screenshot-2.jpg > > > =>since resize space is counted in allocated space even though it cant be > attach to VM , other storage operation will fail because threshold value > If resize is allowed in volume detach > ============================== > 1-since there is no check for how much can be increased , suppose user has > resized it to 1000GB > 2-when user try to attach volume to vm it will fail since available space is > not sufficient . > 3-even though user is not able to use the resized volume ,CS will count > 1000GB in allocated storage . > 4-Dash will show allocated percentage >100% > 5-Because threshold values , we cant perform any operation to that PS > If resize is allowed online ( volume Attach) state it will fail in first > place and will not cause any problem -- This message was sent by Atlassian JIRA (v6.2#6252)