问题原文
原帖链接 · user1836587 · CC BY-SA 3.0
On login to EC2 (Ubuntu) instance, I see
*** /dev/xvda1 should be checked for errors ***
I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. lsof shows
jbd2/xvda 172 root cwd DIR 202,1 4096 2 /
jbd2/xvda 172 root rtd DIR 202,1 4096 2 /
jbd2/xvda 172 root txt unknown /proc/172/exe
and kill -SIGKILL 172 is ineffective.
What to do?
已采纳解答
原帖链接 · Sgaduuw · CC BY-SA 3.0
Most Linuxes these days should perform a forced fsck at boot time when the file /forcefsck is present on the system. If you are at liberty to reboot the VM, run
touch /forcefsck
Then reboot at your convenience
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
