继博主上篇《vsphere6.0故障:关于linux版本的vcenter6.0磁盘爆满问题和503错误问题探究》,博主今天**终于解决了这个故障**。 博主当时linux版本vcenter故障很严重,磁盘满而且无法ssh登录/shell登录,无法通过网上扩展磁盘容量+自动扩展命令进行处理(因为当时磁盘满了,vcenter基础服务都起不来了,包括ssh等服务)。 然而,想起之前重置linux版本vcenter的root密码用到的进入引导界面,通过加入init=/bin/bash 方式进入单用户模式(应该是单用户模式吧,没具体查,具体进入可以看我的博文《关于linux版vcenter6.0重置root密码问题》)。里面完全可以操作linux。 之后频繁借助ls -lh和du -m还有df -h命令查看是哪些文件占用比较大。之后用linux置零方法(就是大于号加文件名,具体可以百度一下。之所以用置零不用删除,是因为置零可以清理文件空间,但不破坏文件结构,也就是文件名还在的)。成功将磁盘清理空间出来了。清理之后,重启系统。vcenter所有服务都起来了。
I'm on the boot screen, 0 that/var/log/audit/. After Audit.log (0 times before, as if the last time OK, it seems that there are 2 audit.log files, a 400 more K a 4.6G because before the 0 was unsuccessful, I was deleted 400k audit.log after 0 another audit.log. Place 0 OK. No screen was recorded at the time, as if it were the case, restarting vcenter is normal, including not reporting 503 errors. There's not enough space on the disk after that. You can enter SSH, which is usually 0 of those log files.
vsphere6.0 failure: vcenter6.0 Disk full issue and 503 error issues with Linux version [next]