Error creating VM with 100GB raw disk

tincboy

Renowned Member
Apr 13, 2010
466
6
83
I always use the command below to create VMs but today on latest Proxmox server I got error below:
Code:
/usr/sbin/qm create 10410 --cdrom local:iso/CentOS-5.4-i386-bin-DVD.iso --name srv15822 --net1 rtl8139,bridge=vmbr0 --bootdisk ide0 --ostype other --ide0 local:100,format=raw --memory 2048 --onboot no --cores 2
Formatting '/var/lib/vz/images/10410/vm-10410-disk-4.raw', fmt=raw size=107374182400
create failed - unable to create image: qemu-img: The image size is too large for file format 'raw'
My server's software status is:
Code:
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-19-pve
proxmox-ve-2.6.32: 2.3-96
pve-kernel-2.6.32-19-pve: 2.6.32-96
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-20
pve-firmware: 1.0-21
libpve-common-perl: 1.0-49
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-7
vncterm: 1.0-4
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.4-10
ksm-control-daemon: 1.1-1
I don't want to use qcow2 and I insist using raw disks because of performance,
Is there any solution to fix this error?
 
My bad, the related partition was out of space and there was not enough room to create 100 GB HDD file,