From e64c2f3c09dc8f5810e3c4f2e8e7117038f2eda9 Mon Sep 17 00:00:00 2001 From: "Lakshmipathi.G" Date: Mon, 15 Feb 2016 02:07:52 +0530 Subject: [PATCH] Verify disk space with lsof --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8958ee1..69a91ea 100644 --- a/README.md +++ b/README.md @@ -312,6 +312,8 @@ Also use `rsync` instead of `scp`, so that after network interruption you resume - Use `dmesg` whenever something's acting really funny (it could be hardware or driver issues). +- If you delete a file and it doesn't free up expected disk space as reported by `du`, check whether the file is in use by a process: +`lsof | grep deleted | grep "filename-of-my-big-file"` ## One-liners