# US 2015/0178019 A1 · Ensuring storage availability for virtual machines

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0178019 A1
- Document ID: US20150178019A1
- Status: Published application
- Kind: A1
- Application number: 14/139,005
- Filed: 2013-12-23
- Published: 2015-06-25
- Earliest claimed: 2013-12-23
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Gururaja HEGDAL; Kiran KASALA; Marichetty M.S.
- Web page: https://patentgrep.com/patent/US20150178019A1

## CPC

- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0629: {Configuration or reconfiguration of storage systems}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0673: {Single storage device}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A management server allocates storage for a virtual disk of a virtual machine configured to execute on a first host computer, where the first host computer is associated with a plurality of data storage devices including first and second data storage devices, and where a first portion of storage is allocated to the virtual disk from the first storage device. The management server receives a request to allocate a second portion of storage to the virtual disk of the virtual machine and, responsive to determining that the first data storage device has insufficient free storage space from which to allocate the second portion of storage, selects the second data storage device having sufficient free storage space from which to allocate the second portion of storage. The management server allocates the second portion of storage for the virtual disk of the virtual machine from the second data storage device, wherein the virtual machine accesses the first and second portions of storage as a single virtual disk.

## Claims

### Claim 1

A method for allocating storage for a virtual disk of a virtual machine configured to execute on a first host computer, where the first host computer is associated with a plurality of data storage devices including first and second data storage devices, and where a first portion of storage is allocated to the virtual disk from the first storage device, the method comprising:
receiving a request to allocate a second portion of storage to the virtual disk of the virtual machine;
responsive to determining that the first data storage device has insufficient free storage space from which to allocate the second portion of storage, selecting the second data storage device having sufficient free storage space from which to allocate the second portion of storage; and
allocating the second portion of storage for the virtual disk of the virtual machine from the second data storage device, wherein the virtual machine accesses the first and second portions of storage as a single virtual disk.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
scanning the plurality of data storage devices for a data storage device with sufficient free storage space from which to allocate the second portion of storage.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
responsive to determining that more than one data storage device has sufficient free storage space from which to allocate the second portion of storage, selecting one of the plurality of data storage devices as the second data storage device, wherein the selected data storage device has a greatest amount of free storage space compared with each of the other data storage devices in the plurality of data storage devices.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
determining that the virtual machine is a high availability virtual machine, wherein the virtual machine is configured to execute on a second host computer if execution of the virtual machine terminates on the first host computer; and
selecting one of the plurality of storage devices as the second storage device, wherein the selected storage device is accessible to the first computer and to the second host computer.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining that the first data storage device has insufficient free storage space comprises:
performing a method to extend a storage space of the first data storage device; and
detecting that the method to extend the storage space of the first data storage device has failed.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining that the first data storage device has insufficient free storage space comprises:
performing a method to add one or more extents to the first data storage device; and
detecting that the method to add one or more extents to the first data storage device has failed.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
after allocating the second portion of storage to the second data storage device, determining that the first storage device has sufficient free space to store the second portion of storage; and
migrating the second portion of storage from the second storage device to the first storage device.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first portion of storage is allocated to a first virtual disk file and the second portion of storage is allocated to a second virtual disk file.

### Claim 9

A non-transitory computer readable storage medium having stored thereon computer readable program code for allocating storage for a virtual disk of a virtual machine configured to execute on a first host computer, where the first host computer is associated with a plurality of data storage devices including first and second data storage devices, and where a first portion of storage is allocated to the virtual disk from the first storage device, the computer readable program code comprising:
computer readable program code to receive a request to allocate a second portion of storage to the virtual disk of the virtual machine;
computer readable program code to, in response to determining that the first data storage device has insufficient free storage space from which to allocate the second portion of storage, select the second data storage device having sufficient free storage space from which to allocate the second portion of storage; and
computer readable program code to allocate the second portion of storage for the virtual disk of the virtual machine from the second data storage device, wherein the virtual machine accesses the first and second portions of storage as a single virtual disk.

### Claim 10 (depends on 9)

The computer readable storage medium of claim 9, the computer readable program code further comprising:
computer readable program code to scan the plurality of data storage devices for a data storage device with sufficient free storage space from which to allocate the second portion of storage.

### Claim 11 (depends on 10)

The computer readable storage medium of claim 10, the computer readable program code further comprising:
computer readable program code to, in response to determining that more than one data storage device has sufficient free storage space from which to allocate the second portion of storage, select one of the plurality of data storage devices as the second data storage device, wherein the selected data storage device has a greatest amount of free storage space compared with each of the other data storage devices in the plurality of data storage devices.

### Claim 12 (depends on 10)

The computer readable storage medium of claim 10, the computer readable program code further comprising:
computer readable program code to determine that the virtual machine is a high availability virtual machine, wherein the virtual machine is configured to execute on a second host computer if execution of the virtual machine terminates on the first host computer; and
computer readable program code to select one of the plurality of storage devices as the second storage device, wherein the selected storage device is accessible to the first host computer and to the second host computer.

### Claim 13 (depends on 9)

The computer readable storage medium of claim 9, wherein the computer readable program code to determine that the first data storage device has insufficient free storage space comprises:
computer readable program code to perform a method to extend a storage space of the first data storage device; and
computer readable program code to detect that the method to extend the storage space of the first data storage device has failed.

### Claim 14 (depends on 9)

The computer readable storage medium of claim 9, wherein the computer readable program code to determine that the first data storage device has insufficient free storage space comprises:
computer readable program code to perform a method to add one or more storage extents to the first data storage device; and
computer readable program code to detect that the method to add one or more storage extents to the first data storage device has failed.

### Claim 15 (depends on 9)

The computer readable storage medium of claim 9, the computer readable program code further comprising:
computer readable program code to determine, after allocating the second portion of storage to the second data storage device, that the first storage device has sufficient free space to store the second portion of storage; and
computer readable program code to migrate the second portion of storage from the second storage device to the first storage device.

### Claim 16 (depends on 9)

The computer readable storage medium of claim 9, wherein the first portion of storage is allocated to a first virtual disk file and the second portion of storage is allocated to a second virtual disk file.

### Claim 17

A virtualized computing system, comprising:
a first host computer with a virtual machine executing therein;
a plurality of data storage devices including first and second data storage devices that are associated with the first host computer, wherein a first portion of storage is allocated to the virtual disk from the first storage device; and
a management server configured to allocate storage for the virtual disk of the virtual machine, wherein the management server is configured to:
receive a request to allocate a second portion of storage to the virtual disk of the virtual machine;
in response to determining that the first data storage device has insufficient free storage space from which to allocate the second portion of storage, select the second data storage device having sufficient free storage space from which to allocate the second portion of storage; and
allocate the second portion of storage for the virtual disk of the virtual machine from the second data storage device, wherein the virtual machine accesses the first and second portions of storage as a single virtual disk.

### Claim 18 (depends on 17)

The system of claim 17, wherein the management server is further configured to scan the plurality of data storage devices for a data storage device with sufficient free storage space from which to allocate the second portion of storage.

### Claim 19 (depends on 18)

The system of claim 18, wherein the management server is further configured to:
in response to determining that more than one data storage device has sufficient free storage space from which to allocate the second portion of storage, select one of the plurality of data storage devices as the second data storage device, wherein the selected data storage device has a greatest amount of free storage space compared with each of the other data storage devices in the plurality of data storage devices.

### Claim 20 (depends on 18)

The system of claim 18, wherein the management server is further configured to:
determine that the virtual machine is a high availability virtual machine, wherein the virtual machine is configured to execute on a second host computer if execution of the virtual machine terminates on the first host computer; and
select one of the plurality of storage devices as the second storage device, wherein the selected storage device is accessible to the first host computer and to the second host computer.

### Claim 21 (depends on 17)

The system of claim 17, wherein the management server is further configure to:
perform a method to extend a storage space of the first data storage device; and
detect that the method to extend the storage space of the first data storage device has failed.

### Claim 22 (depends on 17)

The system of claim 17, wherein the management server is further configured to:
perform a method to add one or more storage extents to the first data storage device; and
detect that the method to add one or more storage extents to the first data storage device has failed.

### Claim 23 (depends on 17)

The system of claim 17, wherein the management server is further configured to:
after allocating the second portion of storage to the second data storage device, determine that the first storage device has sufficient free space to store the second portion of storage; and
migrate the second portion of storage from the second storage device to the first storage device.

### Claim 24 (depends on 18)

The system of claim 18, wherein the first portion of storage is allocated to a first virtual disk file and the second portion of storage is allocated to a second virtual disk file.
