Raw format x Space

vitor costa

Active Member
Oct 28, 2009
142
2
38
The new RAW format to KVM virtual disks have a draw back: waste space. When create multiples guests with qcow2 you can provisioning max disk size (but without use it) so you can have many guests and in future, with grow, you can realocate then or add a bigger disk... now with raw or you make guests with tiny disks or wast your storage for long time.

Its any tecnical problem in use qcow2 in share storage like lvm/drbd ? Its possible support in future proxmox versions ?
 
The new RAW format to KVM virtual disks have a draw back: waste space. When create multiples guests with qcow2 you can provisioning max disk size (but without use it) so you can have many guests and in future, with grow, you can realocate then or add a bigger disk... now with raw or you make guests with tiny disks or wast your storage for long time.

Its any tecnical problem in use qcow2 in share storage like lvm/drbd ? Its possible support in future proxmox versions ?

if you run a file system with support of sparse files (like ext3) the space is NOT pre-allocated when you use "raw". so its basically no difference to qcow2 (in term of wasting space). there are other differences.

see http://en.wikipedia.org/wiki/Sparse_file

if you use block devices directly (LVM2, DRBD, ...) always the whole space is allocated (always raw) - behavior by design.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!