解决VMware vCenter server磁盘满的办法

今天检查vCenter Server 管理,发现有一个严重警告,系统/存储/日志的存储空间已用完。

File system /storage/log has run out of storage space.
Increase the size of disk /storage/log.

image-20230102160407431

检查磁盘,显示磁盘5满了

image-20230102160441579

下列表格是针对vc7.0模式部署情况下,关于vCenter Server 7.0 中的各种VMDK 及其相应的组件,可参考如下比对。

img

解决办法

登录vCenter所在的主机后台(不是vSphere Client后台),删除vCenter 虚拟机的所有快照(必须全部删除,否则无法修改硬盘大小)。

image-20230102160334605

编辑虚拟机,将磁盘5的大小修改为30G,保存。

image-20230102160255646

SSH连接vSphere Client,输入

shell

自动展开所有增加了物理卷的逻辑卷;

/usr/lib/applmgmt/support/scripts/autogrow.sh

image-20230102162613028

查看分区扩容的情况

df -h

image-20230102162833439

扩容成功。

image-20230102163229216

报错消除。

原创文章,作者:Pineapple,如若转载,请注明出处:https://sosloli.com/2843.html

(0)
上一篇 2023年1月2日 下午2:09
下一篇 2023年1月3日 下午1:25

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

@media screen and (max-width: 767px) { #sakana-widget { display: none; } }