今天在使用虚拟机的时候,由于存放虚拟机的虚拟磁盘(vmdk文件)的逻辑分区容量不足(可用容量为0了)。然后在使用的时候就出错了。最终无法正常使用 vagrant halt进行关机,也无法进行reload。
最中通过将电脑重启,将虚拟机关机了。(其实不用这么暴力,后面得知可以在virtualbox中将其强制关闭)。
然后再homestead目录下执行vagrant up命令时,无法启动了,一直停在 SSH auth method: private key 这里。
在网上搜索了其他一些解决方案,包括 删除网络驱动,无法解决这个问题,最终自己摸索出了一个可行的办法。具体步骤如下:
ubuntu homestead Inodes that were part of a corrupted orphan linked list fou损坏了的某个文件系统,文件系统就好了,然后就可以使用vagrant up启动了。具体可以看【参考的第一个连接】。/dev/sda5:inodes that were part of a corrupted orphan linked list found【Ubuntu系统断电后重启发生的问题】
vagrant up times out on 'default: SSH auth method: private key' when 'VirtualMachinePlatform' Windows Feature is enabled
centos启动错误:Inodes that were part of a corrupted orphan linked list found.