Everyone. I have a very difficult thing to do. I have a Linux server, and the root
directory has 16GB of space.
df -h
, shows the/
directory has been used for 15GB, butdu -sh
shows that only 5.9GB of space is used.- the
lsof | grep deleted
command shows only 101KB of space had not been released. - Finally,
dumpe2fs
showed a lot of blocks in the root directory weren't used (near 9.4GB).
I didn't know what was going on. Can you teach me what this is? This is a production server. Customers are not allowed to restart.
The directory following "--exclude=", which starts with /i and /p, is the same thing as the two directories that start with a /i and /p in the results of df -h
.
I've seen similar questions from other people, and I feel a little different. The root directory near 9.4GB's block is not used, and there is only 101KB of space not released, so I think it's different from other people's questions, although their situation is a little similar to mine, Please don't label my questions with duplicate.