Patent ID: 9128745
Filing Date: 2015-09-08
Classification: G06F

Abstract:
1. A method, in a data processing system, for automatically expanding a virtual storage of a virtual machine executing in the data processing system, comprising: monitoring, by the virtual machine, a usage of the virtual storage of the virtual machine; determining, by the virtual machine, based on the monitoring of the usage of the virtual storage, whether to expand the virtual storage of the virtual machine; and in response to the virtual machine determining to expand the virtual storage of the virtual machine, executing, by a virtual machine manager, an operation to expand the virtual storage, wherein monitoring the usage of the virtual storage of the virtual machine comprises periodically polling partition sizes of the virtual storage, and wherein determining whether to expand the virtual storage of the virtual machine comprises comparing a total size of the partition sizes against a total size of the virtual storage allocated to the virtual machine to determine how much of the virtual storage is allocated to partitions within the virtual machine and to determine if a difference between the total size of the partition sizes and the total size of the virtual storage allocated to the virtual machine is equal to, or less than, a predetermined threshold.