What Extent use with VM?

jonaswm

New Member
Jun 26, 2015
8
0
1
Oops.. sorry...
[h=2]What extension use with VM?[/h]Good afternoon .. at least in Brazil hehe
I need help...
What extension?

raw (disk image raw)?
qcow2 (qemu image format)?
vmdk (vmware image format)?

why? desvantanges and advantages of each?

thanks
 
Last edited:
Oops.. sorry...
[h=2]What extension use with VM?[/h]Good afternoon .. at least in Brazil hehe
I need help...
What extension?

raw (disk image raw)?
qcow2 (qemu image format)?
vmdk (vmware image format)?

why? desvantanges and advantages of each?

thanks
Hi,
all choices have pro an cons.

I personal use raw only.

raw:
+ speed
+ no additional layer (the file is an 1:1 copy like on an hdd - you can also copy hdds with dd to an raw-file)
- no snapshots
- filesize (big as your vm-hdd)

qcow2:
+ snapshots
+ filesize (only used blocks are using space)
- additional layer

vmdk:
+ easy transfer from/to esx server
(transfer is also possible with qemu-img)



Udo
 
Hi,
all choices have pro an cons.

I personal use raw only.

raw:
+ speed
+ no additional layer (the file is an 1:1 copy like on an hdd - you can also copy hdds with dd to an raw-file)
- no snapshots
- filesize (big as your vm-hdd)

qcow2:
+ snapshots
+ filesize (only used blocks are using space)
- additional layer

vmdk:
+ easy transfer from/to esx server
(transfer is also possible with qemu-img)



Udo

Hello.

Nice!
Thank you for answering my question
All virtualization are compatible with .raw files?
I can use dd if=file.raw of=/dev/sda1, for exemple?
Someone has something else to add more information about each , or suggestions?
 
Hello.

Nice!
Thank you for answering my question
All virtualization are compatible with .raw files?
Hi,
no - openvz work different (like chroot on steroids).
I can use dd if=file.raw of=/dev/sda1, for exemple?
yes, but mostly it's make no sense, because the raw-file ist handled inside the VM like a normal disk - so normaly you have an partitiontable on that "disk".
It's makes no sense to put an partitiontable with partitions inside an partition (sda1).
Following make more sense:
Code:
dd if=file.raw of=/dev/sdb bs=1M
Udo
 

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!