Score:0

kvm, virt-clone: WARNING The filesystem will not have enough free space to fully allocate the sparse file when the guest is running

bd flag

I'm cloning VMs on Debian server with following command and get a warning:

% time virt-clone --original vmtmpl --name vm2 --file /dev/vg/vm2 --check path_exists=off 
WARNING  This will overwrite the existing path '/dev/vg/vm2'
WARNING  The filesystem will not have enough free space to fully allocate the sparse file when the guest is running. 62916 M requested > 24132 M available

Well this (template) VM runs just fine and all the (raw, LVM-backed) filesystems actually do have enough diskspace:

% lvs 
...
  vm1      vg   -wi-ao----  61.44g                                                    
  vm2      vg   -wi-a-----  61.44g                                                    
  vmtmpl   vg   -wi-a-----  61.44g   

So why is this warning there? Does it signify any actual risk?

Disk definition in my VMs:

% virsh dumpxml vmtmpl
<domain type='kvm'>
  <name>vmtmpl</name>
...
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source file='/dev/vg/vmtmpl'/>
      <target dev='vda' bus='virtio'/>
      <boot order='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </disk>

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.