virt-install ignores sparse=false sometimes

Solution Verified - Updated -

Issue

  • virt-install --disk sparse=false,path=/var/lib/libvirt/images/disk.img,size=5 creates a sparse file although it shouldn't
  • virt-install ignores the sparse option if disk is allocated from /var/lib/libvirt/images/ directory

Environment

  • RedHat Enterprise Linux (RHEL) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content