Skip to main content

Timeline for answer to How can I find phantom storage usage? by James L

Current License: CC BY-SA 2.5

Post Revisions

6 events
when toggle format what by license comment
Jul 10, 2012 at 19:37 review Low quality posts
Jul 26, 2012 at 17:51
Nov 30, 2010 at 16:08 comment added morgant I've found the culprits: lots of files like /private/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-/termIdFile.XXXXXX being held open by mds (Spotlight), but which are no longer files on disk. Unfortunately, they neither have "deleted" appended to their description by lsof, nor have a type of "DEL". I still appreciate the suggestion.
Nov 29, 2010 at 23:00 comment added morgant I'll certainly try it again when the volume is nearly full to see if maybe there just weren't any culprits at the time I ran sudo lsof | grep deleted.
Nov 29, 2010 at 22:34 comment added James L Ah sorry, it works on Linux
Nov 29, 2010 at 22:20 comment added morgant That doesn't return any results. The man page for lsof 4.82 notes that "(deleted)" will be appended under Solaris 10 and later if using the "-X" option (which isn't even available on OS X). The man page also implies that under Linux there's a "DEL" type for deleted maps, but sudo lsof -s | awk '$5 == "REG"' doesn't pull up anything.
Nov 29, 2010 at 22:06 history answered James L CC BY-SA 2.5