创建VM报错“Storage parameter error.”
2022-05-10 11:52 Tanwheey 阅读(404) 评论(0) 编辑 收藏 举报报错“there is not enough free space on the storage pool to create the volume.”
解决办法:回退选择“Select or create custom storage”,点击“Manage...”查看镜像存放位置,可以通过扩展磁盘大小。
查磁盘大小,换镜像安装目录
1、df -h
2、选择“Select or create custom storage”,创建并选择/home/lib/libvirt/images/rhel8.5
1 2 3 4 5 6 7 | 扩展VM空间:qemu-img resize / var /lib/libvirt/images/< virtual -disk-name>.qcow2 +195G 缩小VM空间:qemu-img resize --shrink / var /lib/libvirt/images/< virtual -disk-name>.qcow2 -195G > / var /lib/libvirt/images is the default location for images, which > is supported by SELinux. It would be nice then if virt-manager defaulted to storing images there then, rather than under $HOME. |
查看硬盘分区类型:
#fdisk -l

最小单位
硬盘最小单位:sectors(扇区)=每个扇区512byte
系统文件最小单位:block(块)=每个块4096byte,8个连续扇区组成(默认,可以根据需求更改)
文件系统不是一个扇区一个扇区的来读数据,太慢了,所以有了block(块)的概念,它是一个块一个块的读取的,block才是文件存取的最小单位。
扇区大小:
块大小:

【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
2021-05-10 centos 7安装一机多控stf客户端
2021-05-10 centos更新、管理软件yum命令源配置
2021-05-10 Centos7安装pip