1 |
I shutdown this computer everyday, those temp files shouldn't be alive for |
2 |
months. |
3 |
|
4 |
I ran lsof | grep deleted and it returned 132 lines, the biggest number |
5 |
being 2032226 (2 MB?), belonging to the Chromium browser process. even if |
6 |
every line had that value (which is not), that would sum up 264 MB, but the |
7 |
difference of reported/real free space is way bigger than that. |
8 |
|
9 |
changing the filesystem back to ext3 can solve this problem? it was ext3 |
10 |
before I've changed it to ext4 some months ago. |
11 |
|
12 |
On Sat, May 8, 2010 at 8:00 PM, Alan McKinnon <alan.mckinnon@×××××.com>wrote: |
13 |
|
14 |
> You probably have files opened that have since been deleted. du doesn't |
15 |
> report |
16 |
> them as the names are no longer in the directory and df doesn't report them |
17 |
> as |
18 |
> they are pending deletion once the last handle to them is closed. |
19 |
> |
20 |
> It's a nasty thing to find. Run this: |
21 |
> |
22 |
> lsof | grep deleted |
23 |
> |
24 |
> You should find a ton of junk temp files (they will go away when you log |
25 |
> out). |
26 |
> Look for big numbers in column 8 |
27 |
> |
28 |
> |
29 |
> |
30 |
> |
31 |
> On Sunday 09 May 2010 00:46:28 Crístian Viana wrote: |
32 |
> > it doesn't seem so :-( |
33 |
> > |
34 |
> > Filesystem Inodes IUsed IFree IUse% Mounted on |
35 |
> > /dev/sda6 20856832 108698 20748134 1% /home |
36 |
> > |
37 |
> > I didn't know that the filesystem could run out of inodes before the disk |
38 |
> > space itself! thanks for the information :-) |
39 |
> > |
40 |
> > On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras <realnc@×××××.de> |
41 |
> wrote: |
42 |
> > > On 05/08/2010 09:21 PM, Crístian Viana wrote: |
43 |
> > >> hi everyone, |
44 |
> > >> |
45 |
> > >> something weird is happening on my system. I can't create new files, |
46 |
> it |
47 |
> > >> says "No space left on device", but the disk has several gigabytes of |
48 |
> > >> free space! |
49 |
> > > |
50 |
> > > The filesystem probably ran out of inodes. "df -i /home" will show |
51 |
> inode |
52 |
> > > usage. This can happen when you have many small files; they eat inodes |
53 |
> > > but not storage space. |
54 |
> |
55 |
> -- |
56 |
> alan dot mckinnon at gmail dot com |
57 |
> |
58 |
> |