压缩虚拟磁盘空间
hyper-v centos shrinkhttps://devinknightsql.com/2014/06/19/reducing-the-disk-size-of-a-hyper-v-virtual-machine/参考:https://www.altaro.com/hyper-v/compact-vhdx-linux-filesystem/2、在xshell终端中输入...
·
hyper-v centos shrink
https://devinknightsql.com/2014/06/19/reducing-the-disk-size-of-a-hyper-v-virtual-machine/
参考:
https://www.altaro.com/hyper-v/compact-vhdx-linux-filesystem/
2、在xshell终端中输入以下命令:
复制内容到剪贴板
- dd if=/dev/zero of=/0bits bs=20971520
- sudo rm /0bits
用来清理不使用的磁盘 ,然后关闭虚拟机
powershell
Optimize-VHD .\svlmon1.vhdx -Mode Full
更多推荐
已为社区贡献6条内容
所有评论(0)