From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OAtdn-0007Gy-V6 for garchives@archives.gentoo.org; Sat, 08 May 2010 23:41:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F7DCE07F8; Sat, 8 May 2010 23:40:09 +0000 (UTC) Received: from mail-qy0-f183.google.com (mail-qy0-f183.google.com [209.85.221.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BBBBEE07F8 for ; Sat, 8 May 2010 23:40:09 +0000 (UTC) Received: by qyk13 with SMTP id 13so3873646qyk.1 for ; Sat, 08 May 2010 16:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=3BkPoyGRUVyx53eGtsazyLONU1W1kynS0SlDAS9KTFo=; b=hmw3PD1cKIATBZB3KgO13u4A8l7U93Pd+rd9vPaX/iHXyotkHrpkDaeF22xqc+dgq9 V85jLUZbyx8K74Q8Bc6Ba8gVn3uU8ZIMDbnMl/Qroj3yUf4aDgRUWcHKT4s/eA3OgmU1 Mv2/jCOLoGkwMwXPtaAX9qW1DF72TVTJw9Sgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Dp8/Wb20FxP0L5agF4Du+0NS8HtD1g3gcYkCKLd8nGmqLIte5Oejc++PX4uof3J9Qq MYX7ePAKEDOl29TmVzhrIR9EK+x6jmFZ1AgHPs7uEjWxQW7X6n/qg4wAUzPJVgLrEDxf R0Wa3M/I3Pr2DSPQS2Ly6dxup73zp1l0ElBks= Received: by 10.229.251.79 with SMTP id mr15mr1616510qcb.37.1273362009124; Sat, 08 May 2010 16:40:09 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.229.240.211 with HTTP; Sat, 8 May 2010 16:39:54 -0700 (PDT) In-Reply-To: <201005090100.23600.alan.mckinnon@gmail.com> References: <201005090100.23600.alan.mckinnon@gmail.com> From: =?UTF-8?Q?Cr=C3=ADstian_Viana?= Date: Sat, 8 May 2010 20:39:54 -0300 Message-ID: Subject: Re: [gentoo-user] Re: can't create file but disk isn't full To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=0016364edbde3977d904861db237 X-Archives-Salt: 865fde34-103b-41ab-8bdf-2ddf6929987a X-Archives-Hash: 8699c1d33eb4f095eba9642f9991adc1 --0016364edbde3977d904861db237 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I shutdown this computer everyday, those temp files shouldn't be alive for months. I ran lsof | grep deleted and it returned 132 lines, the biggest number being 2032226 (2 MB?), belonging to the Chromium browser process. even if every line had that value (which is not), that would sum up 264 MB, but the difference of reported/real free space is way bigger than that. changing the filesystem back to ext3 can solve this problem? it was ext3 before I've changed it to ext4 some months ago. On Sat, May 8, 2010 at 8:00 PM, Alan McKinnon wrot= e: > You probably have files opened that have since been deleted. du doesn't > report > them as the names are no longer in the directory and df doesn't report th= em > as > they are pending deletion once the last handle to them is closed. > > It's a nasty thing to find. Run this: > > lsof | grep deleted > > You should find a ton of junk temp files (they will go away when you log > out). > Look for big numbers in column 8 > > > > > On Sunday 09 May 2010 00:46:28 Cr=C3=ADstian Viana wrote: > > it doesn't seem so :-( > > > > Filesystem Inodes IUsed IFree IUse% Mounted on > > /dev/sda6 20856832 108698 20748134 1% /home > > > > I didn't know that the filesystem could run out of inodes before the di= sk > > space itself! thanks for the information :-) > > > > On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras > wrote: > > > On 05/08/2010 09:21 PM, Cr=C3=ADstian Viana wrote: > > >> hi everyone, > > >> > > >> something weird is happening on my system. I can't create new files, > it > > >> says "No space left on device", but the disk has several gigabytes o= f > > >> free space! > > > > > > The filesystem probably ran out of inodes. "df -i /home" will show > inode > > > usage. This can happen when you have many small files; they eat inod= es > > > but not storage space. > > -- > alan dot mckinnon at gmail dot com > > --0016364edbde3977d904861db237 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I shutdown this computer everyday, those temp files shouldn't be alive = for months.

I ran lsof | grep deleted and it returned 13= 2 lines, the biggest number being=C2=A02032226 (2 MB?), belonging to the Ch= romium browser process. even if every line had that value (which is not), t= hat would sum up 264 MB, but the difference of reported/real free space is = way bigger than that.

changing the filesystem back to ext3 can solve this pro= blem? it was ext3 before I've changed it to ext4 some months ago.
On Sat, May 8, 2010 at 8:00 PM, Alan McKinnon = <alan.mckin= non@gmail.com> wrote:
You probably have files opened that have si= nce been deleted. du doesn't report
them as the names are no longer in the directory and df doesn't report = them as
they are pending deletion once the last handle to them is closed.

It's a nasty thing to find. Run this:

lsof | grep deleted

You should find a ton of junk temp files (they will go away when you log ou= t).
Look for big numbers in column 8




On Sunday 09 May 2010 00:46:28 Cr=C3=ADstian Viana wrote:
> it doesn't seem so :-(
>
> Filesystem =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Inodes =C2=A0 IUse= d =C2=A0 IFree IUse% Mounted on
> /dev/sda6 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A020856832 =C2=A01086= 98 20748134 =C2=A0 =C2=A01% /home
>
> I didn't know that the filesystem could run out of inodes before t= he disk
> space itself! thanks for the information :-)
>
> On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras <realnc@arcor.de> wrote:
> > On 05/08/2010 09:21 PM, Cr=C3=ADstian Viana wrote:
> >> hi everyone,
> >>
> >> something weird is happening on my system. I can't create= new files, it
> >> says "No space left on device", but the disk has se= veral gigabytes of
> >> free space!
> >
> > The filesystem probably ran out of inodes. =C2=A0"df -i /hom= e" will show inode
> > usage. =C2=A0This can happen when you have many small files; they= eat inodes
> > but not storage space.

--
alan dot mckinnon at gmail dot com


--0016364edbde3977d904861db237--