Dariush Debian Diary
Diariusz Dariusza
, 18, 2011
Converting KVM disk from qcow2 to lvm volume
# file *dsk sth.dsk: QEMU QCOW Image (v2), 69793218560 bytes lvcreate -L69793218560b -n w732 dt # time qemu-img convert sth.dsk -O raw /dev/dt/w732 real 23m9.403s user 0m3.130s sys 1m11.530sAnd replace driver info from qcow2 to raw:
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/dev/dt/w732'/>
<target dev='vda' bus='virtio'/>
Last modified on
Copyright ©1995-2004 Dariush Pietrzak. All content on this website, unless otherwise noted, is licensed under a Creative Commons License.
Using desktop theme, version 0.5. Check the Blosxom site for the latest copy.
| November 2011 | ||||||
|---|---|---|---|---|---|---|
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
Subscribe to a syndicated feed of this weblog, brought to you by the power of RSS.
