EC2 /dev/xvda1 should be checked for errors

今天ssh登到EC2,发现报这个问题:

/dev/xvda1 should be checked for errors

短板突显,翻了翻google,比较靠谱的是这个:

Running fsck on EC2

已试,靠谱~

记录一下~