4.qemu-img 命令
来源:互联网 发布:mac版本阿里旺旺 编辑:程序博客网 时间:2024/05/21 10:57
用法 :qemu-img command [command options]
1.check [-f fmt] filename
检查镜像文件,查找错误。-f 指定文件格式
2.create [-f fmt] [-o options] filename [size]
创建一个格式为fmt,大小为size,文件名为filename的镜像文件。
-b backfile 与 -o backing_file=backfile效果相同,指定后端镜像文件。
3.commit [-f fmt] filename
提交filename中的更改到后端镜像文件中。
4.convert [-c] [-f fmt] [-O output_fmt] [-o options]filename [filename2[...]] output_filename
转换镜像文件的格式,
-f 输入文件格式,一般会自动检测
-O 指定输出格式,默认RAW
-c 对输出文件进行压缩 ,只支持qcow2、qcow格式。
-o 指定各种选项。
5.info [-f fmt] filename
输出镜像文件的信息
6.snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename
-l 查询并列出镜像文件所有快照
-a 使用某个快照
-c 创建一个快照
-d 删除一个快照
7.rebase [-f fmt] [-t cache] [-p] [-u] -b backing_file [-F backing_fmt] filename
改变镜像文件的后端镜像文件,只有qcow2和qed支持这个命令
-b 新的后端文件
-u 非安全模式运行次命令
-F新的后端文件格式
8.resize filename [+ | -]size
改变镜像文件的大小,qcow2不支持缩小操作
- 4.qemu-img 命令
- qemu-img命令详解
- qemu-img命令
- qemu-img命令详解
- qemu-img命令使用
- qemu-img 命令介绍
- KVM Snapshot使用qemu-img, libvirt命令
- (KVM连载)4.3.2 qemu-img命令详解
- qemu-img的使用说明
- qemu-img 用法
- qemu-img 的使用
- 安装 qemu-img
- KVM虚拟机磁盘镜像文件管理命令qemu-img介绍及简单使用总结
- 利用Qemu(qemu-img)磁盘为Xen服务
- 操作记录:在ubuntu16.04.1配置qemu-img,qemu-nbd
- qemu-img -o 选项参数查看
- [V2V]Convert vhd Image using qemu-img
- qemu-img 命令行
- Ubuntu 安装 Conky Manager 2.0.2
- 求两个正整数的最大公约数
- 常用awk命令
- mac下iterm2闪退
- 【北京】低价出售C/C++经典书籍
- 4.qemu-img 命令
- 求一个整数序列的和的最大子串
- Ubuntu+win7双系统安装教程
- ubuntu 下第一个php扩展开发记录
- 日记2014.6.23
- leetcode Pow(x, n)
- 瘟勇玫卫亩蚕靡遗谷吩欧氛俳侵偎
- 黑马程序员--Spring与策略模式
- 【二叉树】二叉搜索树创建、插入、删除、查找等操作