×

1.查看磁盘文件信息,进行扩展

[root@vp-01 export]# qemu-img info test.qcow2
image: test.qcow2
file format: qcow2
virtual size: 20G (21474836480 bytes)
disk size: 2.1G
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false
    refcount bits: 16
    corrupt: false

2.增加磁盘容量大小20G


[root@vp-01 export]# qemu-img resize test.qcow2 +20G
Image resized.

[root@vp-01 export]# qemu-img info test.qcow2
image: test.qcow2
file format: qcow2
virtual size: 40G (42949672960 bytes)
disk size: 2.1G
cluster_size: 65536
Format specific information:
    compat: 1.1
    lazy refcounts: false
    refcount bits: 16
    corrupt: false

发表回复

相关文章

群辉套件一直显示修复却无法修复成功

参考: 【小技巧】修复群晖强制删除套件导致无...

读出全部

群辉DSM7.0+修改存储池和存储空间名称

将存储池2改成存储池1,存储空间2改成存储空...

读出全部

Linux使用nfs挂载群辉远程目录

群晖开放目录nfs权限 给予可读可写最高权限...

读出全部