このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
Tag Cloud
このページへのアクセス
今日: 1 / 昨日: 3
総計: 155
- Dokuwiki.fl8.jp(30)
- DokuWiki(12)
- 13 CentOS6メール設定(10)
- 01 Galera構築(8)
最近の更新
このページへのアクセス
今日: 1 / 昨日: 3
総計: 155
from.qcow2 から to.qcow2 を作成
qemu-img create -b from.qcow2 -f qcow2 to.qcow2
# ls -al from.qcow2 to.qcow2 -rwxrwx--- 1 root vstorage-users 1459617792 Nov 8 07:58 from.qcow2 -rwxrwx--- 1 root vstorage-users 196848 Nov 8 07:58 to.qcow2
# qemu-img info to.qcow2
image: to.qcow2
file format: qcow2
virtual size: 15G (16106127360 bytes)
disk size: 196K
cluster_size: 65536
backing file: from.qcow2
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
qemu-img commit to.qcow2
これで、to.qcow2 の差分が、from.qcow2へマージされます。
# cp from.qcow2 from2.qcow2
# qemu-img rebase -b from2.qcow2 to.qcow2
# qemu-img info to.qcow2
image: to.qcow2
file format: qcow2
virtual size: 15G (16106127360 bytes)
disk size: 256K
cluster_size: 65536
backing file: from2.qcow2
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
これだとcommitで、from2.qcow2へマージされます。