When du shows the device is almost full and you have to delete something
Oops!
It’s completely full…
That’s the situation I ran into.
When I tried to install a certain module, it filled up the disk all at once.
1 | ファイルシス サイズ 使用 残り 使用% マウント位置 |
Checking file sizes within directories
- Move to the target device and check file sizes
- From there, check the locations where files are large
Repeating steps 1 and 2 above makes it easier to pin down the cause.
1 | 対象デバイスに移動し、ファイル容量チェック |
You could also search for archive files that are no longer needed after extraction, such as -name ‘*.tar.gz’.
Please also refer to my earlier post.
The yum cache can quietly grow huge before you even notice.
意外と容量食ってた yum cache
yum cache 容量12# du -sh /var/cache/yum155M /var/cache/yum 155MByteある汗 yum cache 削除12345# yum clean all読み込んだ…
After deleting various things,
I managed to free up about 30%. Phew.
I really need to keep a close eye on monitoring.
