From owner-freebsd-questions Sun Jun 18 21:41:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom1-251.telepath.com [216.14.1.251]) by hub.freebsd.org (Postfix) with SMTP id 32BF537BB8F for ; Sun, 18 Jun 2000 21:41:28 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 35368 invoked by uid 100); 19 Jun 2000 04:40:47 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14669.42062.797338.436529@guru.mired.org> Date: Sun, 18 Jun 2000 23:40:46 -0500 (CDT) To: questions@FreeBSD.ORG Subject: Re: file system full In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 3) "Acadia" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: "Francisco Reyes" > On Sun, 18 Jun 2000 07:12:27 GMT, Adam Hefetz wrote: > >After I log in and startx I get messages on xterm looking like this: > >Jun 18 10:00:09 hefetz /kernel.old: pid 265 (panel), uid 0 on /usr: file > >system full > In case you are not familiar with it.. check "du" to help you > find the utilization in different directories. > I would first try "du -d 1 /usr". This would give you a report > of the top most level of /usr. You might as well get everything at once. Do du -a -x /usr | sort -rn | tee /tmp/usr-space and it will list every file and directory on the /usr file system, sorted by the space contained in the file or directory. It also stores a copy in /tmp/usr-space for future reference. This makes it easy to find the largest unneeded files, or the trees that can be moved to another file system (symlinks are you friend).