vSphere 扩展硬盘空间

本文详细介绍了在VMware环境中如何通过SSH连接ESXi主机,访问包含复制磁盘的数据存储,进入vmdk文件所在目录,并使用vmkfstools命令进行虚拟磁盘的扩容操作。该方法帮助用户解决了磁盘空间不足的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

把所有的snapshot都删除了之后,ssh上去之后,进vmfs目录到client machine的目录。

然后执行下面的方法。 虽然成功了,却没看到有扩展的。

唯一的好处是, vSphone Client里,硬盘这部分不是灰的了, 所以手动调整一下,点确定,就OK了。

https://kb.vmware.com/s/article/2042790

 

Resize the virtual disk on the recovery site:

    1. SSH to an ESXi host that has access to the datastore on the recovery site containing the replicated disks.
    2. Change directory to the renamed directory where the vmdk files are stored.
    3. Increase the size of the disk with the vmkfstools command:

      vmkfstools -X size vmdk

      For example:

      vmkfstools -X 50G Test-VM.vmdk

转载于:https://www.cnblogs.com/johnsonshu/p/9843755.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值