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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In