Replica Synchronization for Virtual Machines

Total Page:16

File Type:pdf, Size:1020Kb

Replica Synchronization for Virtual Machines Replica Synchronization For Virtual Machines Ashwin Sancheti Prof.Randal Burns Johns Hopkins University Johns Hopkins University [email protected] [email protected] Abstract virtual machines.Virtual machine identification is one of the important aspect of this particular paper. Replica Synchronization for Virtual machines is impor- tant technique in distrubuted systems to reduce the band- Unfortunately, Currently there is no approach avaible width usage.We are proposing a scalable data replication which will perform the virtual machine synchronization.We protocol that synchronizes virtual machines across multi- are proposing one of the approach which will achieve ple geographically distrubuted replica locations.This tech- the replica synchronization for virtual machines.In our nique can be applied to a broad range of virtual ma- approach we don’t require any prior knowlege of the remote chines like VMware workstation,Microsoft virtual server side virtual machines. One of the important aspect of our and many others.The protocol is designed to be bandwidth approach is to identify similar kinds of virtual machines.To efficient,scalable and content based, and it does not reuqire achieve bandwidth efficiency,speed and minimum time we prior knowlege of the virtual machines.We are also trying proposes following steps to reduce the time required to synchronize the virtual ma- chines.To achieve these properties we create the hierarchi- • Inverted Binary Hash tree generation at Source site cal inverted binary hash tree.We are using VMDK files ( VMware Virtual Hard Disk ) for our experimental setup. • Fast matching at Target • Find the common data blocks between source and tar- 1. Introduction get virtual machines • Transfer only differnt data blocks to the target. Virtualization refers to the abstraction of the physical resources.Microsoft virtual server,VMware Work Sta- Our main contributions in this paper are : i) Identifying tion,VMware Server Console are the good examples of the similar virtual machines from the differnt set of the virtual virtual machines.Server consolidation,Testing and develop- machines,ii) Creating list of the hierarchical inverted binary ment,Dynamic load balancing,Disaster recovery,Resource hash tree at source site,iii) Depending on hash comparison sharing are some of the advantages of the virtualization. send only the data blocks which are differnt to the target site.for experimental purpose we are using VMDK files In this paper we describe a redundancy elimination pro- (VMware Hard Disk).For generating hash for data blocks tocol for replica synchronization of virtual machines.Our we can use the MD5 or SHA hashing algorithms. motivation for this approach arose from TAPER: Tiered Approach for Eliminating Redundancy in Replica Synchro- The rest of the paper is organized as follows. Section nization.In this system huge data is synchonizaed acorss 2 provides the technique for identifying Virtual ma- multiple geographically distrubuted replica locations.There chines.VMDK architecture and address space is described are very large number of applications which have the same in detail in section 3. Section 4 talks about the creatation requirements:they require replicating and synchronizing of the Inverted Binary Hash Tree.The whole algorithm is a large collection of data acorss multiple sites,possibly explained in Section 5. Section 6 covers experimental setup over low-bandwidth links.Virtual machine synchroniza- and Section 7 will give the result and performance.Finally, tion is one of the important application out of all those Section 8 covers future work and we conclude with Section applications.For example,software distribution for virtual 9. machines on mirror site i.e patch updation or deletion from virtual machines,synchronizing personal virtual machines with remote virtual machines and versioning systems for 1 memsize = ”384“ scsi:0.present = ”TRUE” scsi:0.fileName = ”Windows 2000 Advanced Server.vmdk” ide1:0.present = “TRUE” ide1:0.fileName = ”auto detect“ ide1:0.deviceType = ”cdrom-raw” floppy0.present = ”FALSE” Figure 2. VMDK Address Space Ethernet0.present = ”TRUE” displayName = ”Windows 2000 Advanced Server” guestOS = ”Win2000advserv” priority.grabbed = ”normal” Figure 1. VMX Configuration File 2. Virtual Machine Identification Virtual machine identification is one of important step in our approach.We should be able to identify the same virtual machine and update the same virtual machines only.For VMDK files ,we are using configuration file .VMX to identify the similar virtual mahines.GuestOS field from the configuration file will give you the information about which operating system is installed on the virtual machines. Figure 1 will give you the idea about the VMware con- figuration file.We can observe that window 2000 advaned server operating system has been installed on the virtual ma- chine.By looking at the VMDK header we can also confirm Figure 3. VMDK Architecture and Design the type of the Operating System.Similarly for other kinds of virtual machines we have different configuration files or different set of headers.In this way we can solve the prob- lem of identifying similar virtual machines from the set of give you the size of the VMDK file.Grain Size field gives differnt virtual machines in distrubuted enviornment. you the size of the data block which is 128 sectors i.e. 64 K. 3. VMDK Architecture and Design 3.2. Descriptor Header VMDK file is responsible for the VMware Virtual Ma- chine. VMDK files consist of different types of headers One of the field from the SPRASE header will give you such as SPARSE header, Descriptor header, Grain Directo- the total size of the Descriptor header. It consits of the ries, Grain Tables and Data blocks. Unique ID for the VMDK file and name of the VMDK file. Sometime it may also contain Parent CID field which 3.1. SPARSE Header represnt it as a snapshot disk. Descriptor header also con- SPARSE header is of 512 bytes.Following are the couple sists of some of the fields present in the configuration file. of fields from SPARSE header of the virtual machines. 3.3. Grain Directories and Grain Tables 1.MAGIC NUMBER = ’VMDK’ 2.VERSION = ’1’ Total number of grain directories depends on the size of 3.CAPACITY = ’8388608’ the VMDK file. Each grain directory entry will point the 4.GRAIN SIZE = ’128’ start of the grain table. Each grain table will have 512 en- tries. Each entry from the grain table will point to the actual By looking at the MAGIC field from the SPARSE header data block present. Two GB SPARSE VMDK file contain we can identify the valid VMDK image.Capacity field will 64 grain directories. 2 Figure 4. Inverted Binary Hash Tree for Grain Sector Figure 5. Inverted Binary Hash Tree Chain 3.4. Grain Sector 2) Deleting from the VMDK files and 3) Modifying the VMDK files. Figure 5 will shows the list of the Inverted As explained earlier,each grain table entry will point to Binary Hash tree for whole virtual machine which needs to one grain sector. Each grain sector is of 128 sectors i.e. 64 be transfered or compared with other virtual machine.The K. Figure 2 explain the VMDK address space in detail. algorithm for comparing the virtual machine is explained in Figure 3 will give you the information about how Grain Section 5. Directories, Grain tables and Grain Sectors are connected. The main thing our approach is to deal with the Grain Sec- 5. Algorithm tors i.e. with the data blocks present in the VMDK file. Each Grain sector we divide into chunk of 1K. Next section Our algorithm is herarchical hash tree protocol between talks about this in detail. source and target virtual machines that aims at minimizing the transmission of any common data that already exists at 4. Inverted Binary Hash Tree the target virtual machine.The algorithm does not assume any knowledge of the state or the version of the data at the We are using the technique of inverted binary hash target virtual machine. tree for comparing the data blocks between two virtual machines.We divide the each grain sector block into 1K In general, for any hash-based synchronization proto- chunks.For each data block we generate hash.We can use col, the smaller the matching granulity the better the match MD5 or SHA algorithm for generating hash for each data and lower the number of bytes transfered.For this reason block.Once we are done with generating hash for whole only we have divided the each Grain Sector into 1K dif- grain sector we will create the Inverted bianry hash tree for ferent chunks. Grain Sector size of 128 sectors is fixed that Grain Sector. Similarly we will create this kind of tree by VMware and we can not change that. If we are trying for all the Grain Sectors. So we will have the list of Inverted to change that particular field then VMDK file will not get Binary Hash tree. This list will be helpful in identifying the loaded in virtual machine. Following are the differnt steps similar data blocks between two virtual machines. Figure of our algorithm. 4 will give you the idea about how to create the Inverted 1. Similar virtual machines can be identified using con- Binary Hash tree for each Grain Sector block. figuration file as explained in Section 2.First we will In Synchronizing a Inverted Binary Hash tree between a identify the similar virtual machines which are sup- source and target virtual machines, this approach will effi- posed to get synchronized. ciently handle all the common updates on the virtual ma- chines. These might include : 1) adding to VMDK files 2. We will start with source virtual machine.We set our 3 file pointer to start of Grain Directory.We will get the Microsoft Virtual Server,flat VMDK files.
Recommended publications
  • Symantec Web Security Service Policy Guide
    Web Security Service Policy Guide Version 6.10.4.1/OCT.12.2018 Symantec Web Security Service/Page 2 Policy Guide/Page 3 Copyrights Copyright © 2018 Symantec Corp. All rights reserved. Symantec, the Symantec Logo, the Checkmark Logo, Blue Coat, and the Blue Coat logo are trademarks or registered trademarks of Symantec Corp. or its affiliates in the U.S. and other coun- tries. Other names may be trademarks of their respective owners. This document is provided for informational purposes only and is not intended as advertising. All warranties relating to the information in this document, either express or implied, are disclaimed to the maximum extent allowed by law. The information in this document is subject to change without notice. THE DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. SYMANTEC CORPORATION SHALL NOT BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING, PERFORMANCE, OR USE OF THIS DOCUMENTATION. THE INFORMATION CONTAINED IN THIS DOCUMENTATION IS SUBJECT TO CHANGE WITHOUT NOTICE. Symantec Corporation 350 Ellis Street Mountain View, CA 94043 www.symantec.com Policy Guide/Page 4 Symantec Web Security Service Policy Guide The Symantec Web Security Service solutions provide real-time protection against web-borne threats. As a cloud-based product, the Web Security Service leverages Symantec's proven security technology as well as the WebPulse™ cloud com- munity of over 75 million users.
    [Show full text]
  • Symantec Web Security Service Policy Guide
    Web Security Service Policy Guide Revision: NOV.07.2020 Symantec Web Security Service/Page 2 Policy Guide/Page 3 Copyrights Broadcom, the pulse logo, Connecting everything, and Symantec are among the trademarks of Broadcom. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. Copyright © 2020 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. For more information, please visit www.broadcom.com. Broadcom reserves the right to make changes without further notice to any products or data herein to improve reliability, function, or design. Information furnished by Broadcom is believed to be accurate and reliable. However, Broadcom does not assume any liability arising out of the application or use of this information, nor the application or use of any product or circuit described herein, neither does it convey any license under its patent rights nor the rights of others. Policy Guide/Page 4 Symantec WSS Policy Guide The Symantec Web Security Service solutions provide real-time protection against web-borne threats. As a cloud-based product, the Web Security Service leverages Symantec's proven security technology, including the WebPulse™ cloud community. With extensive web application controls and detailed reporting features, IT administrators can use the Web Security Service to create and enforce granular policies that are applied to all covered users, including fixed locations and roaming users. If the WSS is the body, then the policy engine is the brain. While the WSS by default provides malware protection (blocks four categories: Phishing, Proxy Avoidance, Spyware Effects/Privacy Concerns, and Spyware/Malware Sources), the additional policy rules and options you create dictate exactly what content your employees can and cannot access—from global allows/denials to individual users at specific times from specific locations.
    [Show full text]
  • The Open Virtual Machine Format Whitepaper for OVF Specification
    The Open Virtual Machine Format Whitepaper for OVF Specification version 0.9 OVF Whitepaper 0.9 VMware, Inc. 3401 Hillview Ave., Palo Alto CA, 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com XenSource, Inc. 2300 Geng Road, Suite 2500, Palo Alto, CA 94303 www.xensource.com Copyright © VMware, Inc. and XenSource, Inc. All rights reserved. VMware, the VMware “boxes” logo and design, Virtual SMP and VMotion are registered trademarks or trademarks of VMware, Inc. in the United States and/or other jurisdictions. Xen, XenSource, the “Circle Xen” logo and derivatives thereof are registered trademarks or trademarks of XenSource, Inc. in the United States and other countries. Microsoft, Windows and Windows NT are registered trademarks of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. All other marks and names mentioned herein may be trademarks of their respective companies. No part of this specification (whether in hardcopy or electronic form) may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of VMware, Inc. (VMware), and XenSource, Inc. (XenSource) except as otherwise permitted under copyright law or the terms of that certain Teaming and Non-Disclosure Agreement between VMware and XenSource dated March 23, 2007, as amended from time to time. Please note that the content in this specification is protected under copyright law even if it is not distributed with software
    [Show full text]
  • FVD: a High-Performance Virtual Machine Image Format for Cloud
    FVD: a High-Performance Virtual Machine Image Format for Cloud Chunqiang Tang IBM T.J. Watson Research Center [email protected] http://www.research.ibm.com/people/c/ctang/ Note: This paper describes the copy-on-write, copy- 1 Introduction on-read, and adaptive prefetching capabilities of FVD. The compact image capability of FVD is described Cloud Computing is widely considered as the next big separately in a companion paper entitled “Compact thing in IT evolution. In a Cloud like Amazon EC2 [1], Image Support in Fast Virtual Disk (FVD)”, which the storage space for virtual machines’ virtual disks can is available at https://researcher.ibm.com/ be allocated from multiple sources: the host’s direct- researcher/view project.php?id=1852 attached storage (DAS, i.e., local disk), network-attached storage (NAS), or storage area network (SAN). These op- Abstract tions offer different performance, reliability, and avail- ability at different prices. DAS is at least several times This paper analyzes the gap between existing hyper- cheaper than NAS and SAN, but DAS limits the avail- visors’ virtual disk capabilities and the requirements in ability and mobility of VMs. a Cloud, and proposes a solution called FVD (Fast Vir- tual Disk). FVD consists of an image format and a To get the best out of the different technologies, a block device driver designed for QEMU. Despite the ex- Cloud usually offers a combination of block-device stor- istence of many popular virtual machine (VM) image age services to VMs. For instance, Amazon Web Ser- formats, FVD came out of our unsatisfied needs in the vices (AWS) [2] offers to a VM both ephemeral storage IBM Cloud.
    [Show full text]
  • Lenovo Thinkagile CP Administrator's Guide
    Lenovo ThinkAgile CP Administrator’s Guide Models: CP 4000, CP 6000 Note Before using this information and the product it supports, be sure to read and understand the safety information and the safety instructions, which are available at the following address: http://thinksystem.lenovofiles.com/help/topic/safety_documentation/pdf_files.html In addition, be sure that you are familiar with the terms and conditions of the Lenovo warranty for your solution, which can be found at the following address: http://datacentersupport.lenovo.com/warrantylookup First Edition (March 2020) © Copyright Lenovo 2018, 2020. LIMITED AND RESTRICTED RIGHTS NOTICE: If data or software is delivered pursuant to a General Services Administration “GSA” contract, use, reproduction, or disclosure is subject to restrictions set forth in Contract No. GS-35F-05925. Contents Figures . iii Managing application groups. 232 Manage your infrastructure . 242 Chapter 1. ThinkAgile CP Overview . 1 View events . 242 ThinkAgile CP4000 series overview . 3 Manage notifications . 242 ThinkAgile CP6000 series overview . 6 Manage categories and tags . 243 Manage self-service . 248 Chapter 2. Administration . 9 Manage developer options. 254 Log in to the ThinkAgile CP Cloud Controller . 9 Manage organizations . 258 Manage resources. 12 Manage your ThinkAgile CP account . 261 Monitor resources in the Dashboard . 12 System reporting . 265 View hardware . 14 Backups and disaster recovery . 267 Register hardware . 19 Application-consistent backups. 268 View hardware and software version numbers . 22 Manage local backups for an application instance . 269 Manage a stack . 26 Manage quick DR backups . 288 Working with application instances . 28 Manage external backups . 305 Create and deploy applications . 28 Third-party backup.
    [Show full text]
  • List of File Formats - Wikipedia, the Free Encyclopedia
    List of file formats - Wikipedia, the free encyclopedia http://en.wikipedia.org/w/index.php?title=List_of_file_fo... List of file formats From Wikipedia, the free encyclopedia See also: List of file formats (alphabetical) This is a list of file formats organized by type, as can be found on computers. Filename extensions are usually noted in parentheses if they differ from the format name or abbreviation. In theory, using the basic Latin alphabet (A–Z) and an extension of up to three single-cased letters, 18,279 combinations can be made (263+262+261+260). When other acceptable characters are accepted, the maximum number is increased (very possibly to a number consisting of at least six digits). Many operating systems do not limit filenames to a single extension shorter than 4 characters, like what was common with some operating systems that supported the FAT file system. Examples of operating systems that don't have such a small limit include Unix-like systems. Also, Microsoft Windows NT, 95, 98, and Me don't have a three character limit on extensions for 32-bit or 64-bit applications on file systems other than pre-Windows 95/Windows NT 3.5 versions of the FAT file system. Some filenames are given extensions longer than three characters. Contents 1 Archive and compressed 1.1 Physical recordable media archiving 2 Computer-aided 2.1 Computer-aided design (CAD) 2.2 Electronic design automation (EDA) 2.3 Test technology 3 Database 4 Desktop publishing 5 Document 6 Font file 7 Geographic information system 8 Graphical information organizers
    [Show full text]
  • Oracle VM Virtualbox User Manual
    Oracle VM VirtualBox R User Manual Version 5.1.14 c 2004-2017 Oracle Corporation http://www.virtualbox.org Contents 1 First steps 11 1.1 Why is virtualization useful?............................. 12 1.2 Some terminology................................... 12 1.3 Features overview................................... 13 1.4 Supported host operating systems.......................... 15 1.5 Installing VirtualBox and extension packs...................... 16 1.6 Starting VirtualBox.................................. 17 1.7 Creating your first virtual machine......................... 18 1.8 Running your virtual machine............................ 21 1.8.1 Starting a new VM for the first time.................... 21 1.8.2 Capturing and releasing keyboard and mouse.............. 22 1.8.3 Typing special characters.......................... 23 1.8.4 Changing removable media......................... 24 1.8.5 Resizing the machine’s window...................... 24 1.8.6 Saving the state of the machine...................... 25 1.9 Using VM groups................................... 26 1.10 Snapshots....................................... 26 1.10.1 Taking, restoring and deleting snapshots................. 27 1.10.2 Snapshot contents.............................. 28 1.11 Virtual machine configuration............................ 29 1.12 Removing virtual machines.............................. 30 1.13 Cloning virtual machines............................... 30 1.14 Importing and exporting virtual machines..................... 31 1.15 Global Settings...................................
    [Show full text]
  • V2V Converter Supported Virtual Disk Files Formats
    #1 HyperConverged Appliance for SMB and ROBO V2V Converter Supported Virtual Disk Files Formats Supported Virtual Disk Files Formats StarWind V2V converter is compatible with multiple hypervisor products. Below is the list of supported virtual disk formats: VMware growable image Designed to run in VMware Workstation`s environments. Disk space for this image is allocated on demand, so disk size of this image grows over time. It has *.vmdk extension. VMware pre-allocated image Designed to run in with VMware Workstation`s environments. Disk space for this image is allocated at the moment of its creation and is fixed. It has *.vmdk extension. VMware ESX server image Designed to run in with VMware vSphere environments. Disk space for this image is allocated at the moment of creation and it is fixed. It has *.vmdk extension. Microsoft Virtual Hard Disk growable image Designed to be used with Hyper-V virtual machines. Disk space for this image is allocated on demand, so disk size of this image grows over time. It has *.vhd extension. Microsoft Virtual Hard Disk pre-allocated image Designed to be used with Hyper-V virtual machines. Disk space for this image is allocated at the moment of its creation and is fixed. It has *.vhd extension. WHITE PAPER 1 V2V Converter Supported Formats Microsoft VHDX image Designed to be used with Hyper-V 3.0 virtual machines. Disk space for this image is allocated on demand, so disk size of this image grows over time. It has *.vhdx extension. Raw Image (.img) This image is format is suitable for StarWind Virtual SAN™, Disk space for this image is allocated at the moment of its creation and is fixed.
    [Show full text]
  • VM Import/Export User Guide VM Import/Export User Guide
    VM Import/Export User Guide VM Import/Export User Guide VM Import/Export: User Guide Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. VM Import/Export User Guide Table of Contents What is VM Import/Export? ................................................................................................................. 1 Features of VM Import/Export ..................................................................................................... 1 How to get started with VM Import/Export ................................................................................... 1 Accessing VM Import/Export ....................................................................................................... 1 Pricing ...................................................................................................................................... 2 Related services ......................................................................................................................... 2 How it works ............................................................................................................................
    [Show full text]
  • Forensic Acquisition and Analysis of Vmware Virtual Hard Disks Manish Hirwani Rochester Institute of Technology
    Rochester Institute of Technology RIT Scholar Works Presentations and other scholarship Faculty & Staff choS larship 7-2012 Forensic Acquisition and Analysis of VMware Virtual Hard Disks Manish Hirwani Rochester Institute of Technology Yin Pan Rochester Institute of Technology Bill Stackpole Rochester Institute of Technology Daryl Johnson Rochester Institute of Technology Follow this and additional works at: https://scholarworks.rit.edu/other Recommended Citation Hirwani M., Pan Y. , Stackpole W., and Johnson D. Forensic Acquisition and Analysis of VMware Virtual Hard Disks. In SAM'12 - The 2012 International Conference on Security and Management (Las Vegas, NV, USA, July 2012) This Conference Paper is brought to you for free and open access by the Faculty & Staff choS larship at RIT Scholar Works. It has been accepted for inclusion in Presentations and other scholarship by an authorized administrator of RIT Scholar Works. For more information, please contact [email protected]. Forensic Acquisition and Analysis of VMware Virtual Hard Disks Manish Hirwani, Yin Pan, Bill Stackpole and Daryl Johnson Networking, Security and Systems Administration Rochester Institute of Technology [email protected]; {yin.pan; bill.stackpole; daryl.johnson}@it.rit.edu Abstract— With the advancement in virtualization VMware VMs are implemented using virtual adapters for technology, virtual machines (VMs) are becoming a devices such as network cards, memory, etc. The VM, common and integral part of datacenters. As the however, is stored in a set of files. VMware Workstation popularity and the use of VMs increases, incidents creates files with extension like virtual machine involving them are also on the rise. There is configuration (.vmx), virtual hard drive (.vmdk), snapshot substantial research on using VMs and virtual of the virtual machines’ memory appliances to aid forensic investigation, but research (.vmem) etc [18].
    [Show full text]
  • A Method of Merging Vmware Disk Images Through File System Unification by Sarah X
    A Method of Merging VMware Disk Images MASSACHUSETTS INSTITUTE through File System Unification OF TECHN4OLOGY by DEC 16 2010 Sarah X. Cheng LIBRARIES S.B., Computer Science and Engineering, Massachusetts Institute of Technology (2004) Submitted to the Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements for the degree of Master of Engineering in Electrical Engineering and Computer Science at the MASSACHUSETTS INSTITUTE OF TECHNOLOGY ACHIVES February 2011 © Massachusetts Institute of Technology 2011. All rights reserved. -7--) Author ...... ...... Department of Electrical Enginer' d Computer Science October 5, 2010 ... s ..... Certified by............. Stephen A. Ward Professor Thesis Supervisor Accepted by........ Dr. Christopher J. Terman Chairman, Master of Engineering Thesis Committee 2 A Method of Merging VMware Disk Images through File System Unification by Sarah X. Cheng Submitted to the Department of Electrical Engineering and Computer Science on October 5, 2010, in partial fulfillment of the requirements for the degree of Master of Engineering in Electrical Engineering and Computer Science Abstract This thesis describes a method of merging the contents of two VMware disk images by merging the file systems therein. Thus, two initially disparate file systems are joined to appear and behave as a single file system. The problem of file system namespace unification is not a new one, with predecessors dating as far back as 1988 to present-day descendants such as UnionFS and union mounts. All deal with the same major issues - merging directory contents of source branches and handling any naming conflicts (namespace de-duplication), and allowing top-level edits of file system unions in presence of read-only source branches (copy-on-write).
    [Show full text]
  • Thin-Provisioned Disks with QEMU and KVM
    Thin-provisioned disks with QEMU and KVM Paolo Bonzini Red Hat, Inc. devconf.cz, February 2014 devconf.cz 2014 QEMU vs. KVM ● QEMU is where the cool stuff happens ● Fast paravirtualized hardware (virtio) ● Virtual machine lifecycle (including migration) ● Storage stack ● kvm.ko lets you use QEMU for virtualization ● Narrow-scoped, mature code ● Also cool :) ● This talk will be about QEMU devconf.cz 2014 Outline ● Thin provisioning concepts ● What was there ● Requirements ● Designing a thin-provisioning API ● Future work devconf.cz 2014 Thin provisioning concepts ● A disk is made of many blocks ● The user tells the disks how it's using them ● The disk can be used more efficiently ● Speed and durability gains for SSDs ● Oversubscription of networked storage ● Efficient maintenance operations ● Better name (from SCSI standard): “Logical block provisioning” devconf.cz 2014 Thin provisioning and virtualization ● The advantages extend to virtualization ● Can be applied to any storage backend ● “Software-defined storage” before it became cool ● The user is the guest administrator ● Only pay for actually used space ● Guest disks can be overprovisioned ● Host admin saves disk space devconf.cz 2014 Multiple storage layers qcow2, raw, ... file, blockqcow2, device, raw, gluster, ... iSCSI gluster, iSCSI gluster, NFS ext4/XFS Ext4, XFS SSD, NAS, dm-thinp devconf.cz 2014 What was there ● Lazy allocation of blocks ● Differential disks (copy-on-write) ● High-level watermark: management can query the highest sector in use ● QEMU-specific formats: qcow,
    [Show full text]