Comparing options for Xen file-based storage
Submitted by specialj on Sat, 2008-05-31 18:02.
I’ve concluded that file-based storage for hard disk images is more convenient from a management perspective than using LVM. However, even if one decides to go the route of using files there is still the question of which format to use. Xen supports several options at the moment with more to come (hopefully).
Raw disk image
- How to create 4GB image:
dd count=1M bs=4K if=/dev/zero of=raw.img
Sparse disk image
- How to create 4GB image:
dd count=0 bs=4K seek=1M if=/dev/zero of=sparse.img
Qcow disk image
- How to create 4GB image:
qcow-create 4096 qcow.img
Comparisons
In my testing both sparse images and qcow images are simply too slow for use. Only raw images are fast enough. This may change if Xen incorporates all of the file handling options from Qemu. If that happens than Xen will have even more options, some of which may be fast enough to use while providing benefits missing from raw images.
Trackback URL for this post:
http://hightechsorcery.com/trackback/138




Recent comments
20 hours 12 min ago
20 hours 14 min ago
1 week 5 days ago
11 weeks 5 days ago
12 weeks 3 days ago
17 weeks 5 days ago
17 weeks 5 days ago
17 weeks 5 days ago
18 weeks 3 days ago
18 weeks 3 days ago