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