Storing virtual machines on a file system in a distributed environment
First Claim
Patent Images
1. A method, comprising:
- initializing, by a hypervisor executed by a processing device of a host machine, creation of a plurality of virtual machines (VMs); and
for each VM of the plurality of VMs;
allocating, by the hypervisor, a logical volume from a logical volume group of a shared storage pool to the VM, the allocated logical volume solely assigned to the VM;
mounting, by the hypervisor, a file system dedicated to the VM on the allocated logical volume assigned to the VM, the dedicated file system to manage information of the VM stored in the allocated logical volume and does not manage information of other allocated logical volumes assigned to other VMs of the plurality of VMs, wherein the information of the VM assigned to the allocated logical volume comprises virtual disks, snapshots, data, and metadata of the VM; and
filing, by the hypervisor, the virtual disks, the snapshots, the data, and the metadata of the VM inside the dedicated file system of the VM on the allocated logical volume assigned to the VM, wherein the filed virtual disks, snapshots, data and metadata are each treated as files in the dedicated file system, and wherein the virtual disks are separate from the allocated logical volume.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism for storing virtual machines on a file system in a distributed environment is disclosed. A method of the invention includes initializing creation of a VM by a hypervisor of a host machine, allocating a logical volume from a logical volume group of a shared storage pool to the VM, and creating a file system on top of the allocated logical volume, the file system to manage all files, metadata, and snapshots associated with the VM.
-
Citations
20 Claims
-
1. A method, comprising:
-
initializing, by a hypervisor executed by a processing device of a host machine, creation of a plurality of virtual machines (VMs); and for each VM of the plurality of VMs; allocating, by the hypervisor, a logical volume from a logical volume group of a shared storage pool to the VM, the allocated logical volume solely assigned to the VM; mounting, by the hypervisor, a file system dedicated to the VM on the allocated logical volume assigned to the VM, the dedicated file system to manage information of the VM stored in the allocated logical volume and does not manage information of other allocated logical volumes assigned to other VMs of the plurality of VMs, wherein the information of the VM assigned to the allocated logical volume comprises virtual disks, snapshots, data, and metadata of the VM; and filing, by the hypervisor, the virtual disks, the snapshots, the data, and the metadata of the VM inside the dedicated file system of the VM on the allocated logical volume assigned to the VM, wherein the filed virtual disks, snapshots, data and metadata are each treated as files in the dedicated file system, and wherein the virtual disks are separate from the allocated logical volume. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A host machine, comprising:
-
a processing device; a memory communicably coupled to the processing device; and a hypervisor to execute a plurality of virtual machines (VMs) from the memory that share use of the processing device, the hypervisor to, for each VM of the plurality of VMs; allocate a logical volume from a logical volume group of a shared storage pool to the VM, the allocated logical volume solely assigned to the VM; mount a file system dedicated to the VM on the allocated logical volume assigned to the VM, the dedicated file system to manage information of the VM stored in the allocated logical volume and does not manage information of other allocated logical volumes assigned to other VMs of the plurality of VMs, wherein the information of the VM assigned to the allocated logical volume comprises virtual disks, snapshots, data, and metadata of the VM; and file the virtual disks, the snapshots, the data, and the metadata of the VM inside the dedicated file system of the VM on the allocated logical volume assigned to the VM, wherein the filed virtual disks, snapshots, data and metadata are each treated as files in the dedicated file system, and wherein the virtual disks are separate from the allocated logical volume. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory a machine-readable storage medium including instructions that, when accessed by a processing device, cause the processing device to:
-
initialize, by the processing device of a host machine, creation of a plurality of virtual machines (VMs); and for each VM of the plurality of VMs; allocate, by the hypervisor, a logical volume from a logical volume group of a shared storage pool to the VM, the allocated logical volume solely assigned to the VM; mount, by the hypervisor, a file system dedicated to the VM on the allocated logical volume assigned to the VM, the dedicated file system to manage information of the VM stored in the allocated logical volume and does not manage information of other allocated logical volumes assigned to other VMs of the plurality of VMs, wherein the information of the VM assigned to the allocated logical volume comprises virtual disks, snapshots, data, and metadata of the VM; and file, by the hypervisor, the virtual disks, the snapshots, the data, and the metadata of the VM inside the dedicated file system of the VM on the allocated logical volume assigned to the VM, wherein the filed virtual disks, snapshots, data and metadata are each treated as files in the dedicated file system, and wherein the virtual disks are separate from the allocated logical volume. - View Dependent Claims (17, 18, 19, 20)
-
Specification