On Thu, Nov 14, 2013 at 03:46:33PM -0500, Gene Czarcinski wrote: > OK, another try. Preallocate a file using dd if=/dev/zero > of=/var/lib/libvirt/images/xxx.img bs=1024 count=12587000 and the > result is a 12GB (more or less) virtual disk.
I would recommend using the 'fallocate' command, and not 'dd' for this. fallocate uses a system call which tells the filesystem your intentions. It's also much faster. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ virt mailing list virt@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/virt