What is the upper limits of the disk size which can be presented to KVM guest.

Solution Unverified - Updated -

Issue

  • In VM guest on RHEL-KVM, What is the upper limits of the disk size to connect with VM guest.
  • The following is an indication example by "virsh dumpxml" command.
# virsh dumpxml snaptest
<domain type='kvm'>
  <name>snaptest</name>
  <snip>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/libvirt/images/snaptest.img'/>   <--Here! (*1)
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>

There are the following two kinds of options to present a disk to the kvm vm
*1

  • file: img file
  • disk: /dev/sda or /dev/disk/by-id/scsi-*** etc. raw device

  • If the upper limits in minor versions are different from each other, we want to know the limits for each version since RHEL6.2. Please tell me the limits in newer version than RHEL6.2.

Environment

  • Red Hat Enterprise Linux 6 Update 4
  • Architecture : x86_64
  • Kernel Version : kernel-2.6.32-262.el6.x86_64
  • Related Package Version : libvirt-0.9.4-23.el6_2.9.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In