From owner-freebsd-stable Sun Jan 7 6:57:22 2001 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id C90D737B7B6 for ; Sun, 7 Jan 2001 06:46:31 -0800 (PST) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id GAA07662; Sun, 7 Jan 2001 06:46:23 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda07660; Sun Jan 7 06:46:17 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.1/8.9.1) id f07EkCM00582; Sun, 7 Jan 2001 06:46:12 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpduLa580; Sun Jan 7 06:45:34 2001 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.2/8.9.1) id f07EjWe54252; Sun, 7 Jan 2001 06:45:32 -0800 (PST) Message-Id: <200101071445.f07EjWe54252@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdG54245; Sun Jan 7 06:45:03 2001 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.2-RELEASE X-Sender: cy To: Gordon Tetlow Cc: B , freebsd-stable@FreeBSD.ORG Subject: Re: /var drive space problem In-reply-to: Your message of "Sun, 07 Jan 2001 05:41:46 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 07 Jan 2001 06:45:01 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Go rdon Tetlow writes: > On Sun, 7 Jan 2001, B wrote: > > > i have a recently upgraded FreeBSD 4.2 from 4.1...and my problem is that im > runing out of space on the /var partition (i recieve alot of system mail in > that partition which i have to delete daily to keep it at 99%) ..im not sure > what i can delete to make room...although if i go to > > /var/tmp theres a dir thats called "temproot" ..i think it was from w > hen i CVS the new 4.2 src..and installed....can i delete this dir??? this is > the dir structure under /var > > > > account/ crash/ games/ msgs/ rwho/ > yp/ > > at/ cron/ log/ preserve/ spool/ > > backups/ db/ mail/ run/ tmp/ > > > > if anyone has any suggestions.... they would be greatly appreciated..... > > Do this: > cd /var > du -s * > > This should give you an idea of which directories are consuming the space > and let you prune accordingly. My favourite approach, assuming you've installed the xdu port, is, du -k . | xdu This saves me from recursing through what I think might be the offending directory tree, reducing a 1-5 minute job, depending on how far down the tree the problem is, down to mere seconds. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/Alpha Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message