From owner-freebsd-questions Fri Feb 28 13:59:50 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0B5537B401 for ; Fri, 28 Feb 2003 13:59:43 -0800 (PST) Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94FEB43F3F for ; Fri, 28 Feb 2003 13:59:42 -0800 (PST) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.9.3/8.8.7) with ESMTP id QAA46320; Fri, 28 Feb 2003 16:59:49 -0500 (EST) (envelope-from shovey@buffnet.net) Date: Fri, 28 Feb 2003 16:59:52 -0500 (EST) From: Stephen Hovey To: dave@whatsthebigidea.com Cc: FreeBSD Questions Subject: RE: Root filesystem 102% full (was: Disks filling up) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG its a backup of a different drive you mean or the /var partition of that same drive? Your backupusr partition is chubby - that would get my vote unless thats the same physical drive your tryin to get a backup of.. On Fri, 28 Feb 2003, David Radovanovic wrote: > Stephen, > Since /backupvar is actually another drive and given my filesystem, where > would you suggest? > Thanks:) > > David Radovanovic > WhatsTheBigIdea.com, Inc. > -- Bright ideas for the Web! > 249 Partition Street > Saugerties, New York 12477 > (845) 247-0909, FAX: (845) 246-3880 > http://www.WhatsTheBigIdea.com > > > [-----Original Message----- > [From: Stephen Hovey [mailto:shovey@buffnet.net] > [Sent: Friday, February 28, 2003 12:53 PM > [To: dave@whatsthebigidea.com > [Subject: RE: Root filesystem 102% full (was: Disks filling up) > [ > [ > [Your /backupvar is 73MB - over half of your root partition. I owuld move > [that to some other place > [ > [On Fri, 28 Feb 2003, David Radovanovic wrote: > [ > [> My file system loooks like this: > [> > [> name# du -kx / | sort -nr | head -20 > [> > [> 127117 / > [> 73658 /backupvar > [> 73620 /backupvar/db > [> 71522 /backupvar/db/mysql > [> 18416 /root > [> 17932 /root/.cpan > [> 12228 /sbin > [> 10944 /root/.cpan/build > [> 5480 /modules.old > [> 5480 /modules > [> 4142 /root/.cpan/sources > [> 4094 /bin > [> 3390 /root/.cpan/sources/authors > [> 3382 /backupvar/db/mysql/rsci2 > [> 3330 /root/.cpan/sources/authors/id > [> 2918 /backupvar/db/mysql/rsci > [> 2514 /root/.cpan/build/DBI-1.30 > [> 2198 /backupvar/db/mysql/oldhome > [> 2176 /stand > [> 1934 /backupvar/db/mysql/database1 > [> > [> > [> David Radovanovic > [> WhatsTheBigIdea.com, Inc. > [> -- Bright ideas for the Web! > [> 249 Partition Street > [> Saugerties, New York 12477 > [> (845) 247-0909, FAX: (845) 246-3880 > [> http://www.WhatsTheBigIdea.com > [> > [> > [> [-----Original Message----- > [> [From: Stephen Hovey [mailto:shovey@buffnet.net] > [> [Sent: Friday, February 28, 2003 12:31 PM > [> [To: David Radovanovic > [> [Subject: RE: Root filesystem 102% full (was: Disks filling up) > [> [ > [> [ > [> [ > [> [You know what - my eyeball slid - sorry.. > [> [ > [> [The only way I could help here would be to look at the root to see > [> [ > [> [Have you run a du to see if that doesnt flush out the disk hog spot? > [> [ > [> [On Fri, 28 Feb 2003, David Radovanovic wrote: > [> [ > [> [> Am I backing up the /backup files? Should I comment out the line: > [> [> /usr/local/bin/rsync -avx --delete --stats / /backup/ in the > [> [script? Maybe I > [> [> don't understand FreeBSD's filesystem though you can see that > [> [/backup is a > [> [> separate 20 gig drive. Thanks for your time :) > [> [> > [> [> David Radovanovic > [> [> WhatsTheBigIdea.com, Inc. > [> [> -- Bright ideas for the Web! > [> [> 249 Partition Street > [> [> Saugerties, New York 12477 > [> [> (845) 247-0909, FAX: (845) 246-3880 > [> [> http://www.WhatsTheBigIdea.com > [> [> > [> [> > [> [> [-----Original Message----- > [> [> [From: Stephen Hovey [mailto:shovey@buffnet.net] > [> [> [Sent: Friday, February 28, 2003 12:15 PM > [> [> [To: David Radovanovic > [> [> [Subject: RE: Root filesystem 102% full (was: Disks filling up) > [> [> [ > [> [> [ > [> [> [ > [> [> [Your root partitions and your /backup are the same - so your > [> [backing up to > [> [> [overflowing. > [> [> [ > [> [> [On Fri, 28 Feb 2003, David Radovanovic wrote: > [> [> [ > [> [> [> Hello, > [> [> [> Searched everywhere which lead me to a prior posting about > [a similar > [> [> [> problem. My file system is filling up again, but in different > [> [places. I > [> [> [> initiated a rscync script that runs via cron which > [> [coincidently ran just > [> [> [> before my system filling up. I'm sure the answer is obvious > [> [to anyone but > [> [> [> myself. Any help would help divert my disaster. Thanks. My system: > [> [> [> > [> [> [> Filesystem 1K-blocks Used Avail Capacity Mounted on > [> [> [> /dev/ad0s1a 128990 127118 -8446 107% / > [> [> [> /dev/ad0s1f 257998 118 237242 0% /tmp > [> [> [> /dev/ad0s1g 9092908 2060994 6304482 25% /usr > [> [> [> /dev/ad0s1e 257998 83548 153812 35% /var > [> [> [> /dev/ad2s1a 128990 2 118670 0% /backup > [> [> [> /dev/ad2s1f 257998 2 237358 0% /backuptmp > [> [> [> /dev/ad2s1g 18028798 2083266 14503230 13% /backupusr > [> [> [> /dev/ad2s1e 257998 2 237358 0% /backuptmp > [> [> [> procfs 4 4 0 100% /proc > [> [> [> > [> [> [> The script in question: > [> [> [> > [> [> [> #!/bin/sh > [> [> [> > [> [> [> /usr/local/bin/rsync -avx --delete --stats / /backup/ > [> [> [> /usr/local/bin/rsync -av --delete --stats --exclude=/run/ /var/ > [> [> [/backupvar/ > [> [> [> /usr/local/bin/rsync -av --delete --stats /usr/ /backupusr/ > [> [> [> > [> [> [> Thanks again for any help. > [> [> [> > [> [> [> > [> [> [> David Radovanovic > [> [> [> WhatsTheBigIdea.com, Inc. > [> [> [> -- Bright ideas for the Web! > [> [> [> 249 Partition Street > [> [> [> Saugerties, New York 12477 > [> [> [> (845) 247-0909, FAX: (845) 246-3880 > [> [> [> http://www.WhatsTheBigIdea.com > [> [> [> > [> [> [> > [> [> [> [-----Original Message----- > [> [> [> [From: David Radovanovic [mailto:david.radovanovic@verizon.net] > [> [> [> [Sent: Thursday, February 13, 2003 8:57 AM > [> [> [> [To: Giorgos Keramidas; dave@whatsthebigidea.com > [> [> [> [Cc: freebsd-questions@freebsd.org > [> [> [> [Subject: RE: Root filesystem 102% full (was: Disks fillin up) > [> [> [> [ > [> [> [> [ > [> [> [> [If I'm reading this right the most suspictious culprit in /dev: > [> [> [> [ > [> [> [> [-rw-r--r-- 1 root wheel 68960256 Feb 9 04:04 st0 > [> [> [> [ > [> [> [> [Any ideas? > [> [> [> [ > [> [> [> [As far as CPAN is concerned, should I delete the files or > [> [> [create a symlink > [> [> [> [like you, to another partition with more space? > [> [> [> [ > [> [> [> [Thanks for your time, I appreciate it :) > [> [> [> [ > [> [> [> [ > [> [> [> [David Radovanovic > [> [> [> [WhatsTheBigIdea.com, Inc. > [> [> [> [-- Bright ideas for the Web! > [> [> [> [249 Partition Street > [> [> [> [Saugerties, New York 12477 > [> [> [> [(845) 247-0909, FAX: (845) 246-3880 > [> [> [> [http://www.WhatsTheBigIdea.com > [> [> [> [ > [> [> [> [ > [> [> [> [[-----Original Message----- > [> [> [> [[From: Giorgos Keramidas [mailto:keramida@ceid.upatras.gr] > [> [> [> [[Sent: Thursday, February 13, 2003 8:22 AM > [> [> [> [[To: dave@whatsthebigidea.com > [> [> [> [[Cc: freebsd-questions@freebsd.org > [> [> [> [[Subject: Re: Root filesystem 102% full (was: Disks fillin up) > [> [> [> [[ > [> [> [> [[ > [> [> [> [[Please don't remove the Cc: of the list when replying. > [I might not > [> [> [> [[know the answer, or be too busy to read mail. If you > [Cc: the list > [> [> [> [[too, someone else will have a change to reply too. > [Probably faster > [> [> [> [[than me. > [> [> [> [[ > [> [> [> [[On 2003-02-13 07:19, David Radovanovic > [> [> [> [[ wrote: > [> [> [> [[> [Giorgos Keramidas [mailto:keramida@ceid.upatras.gr] wrote: > [> [> [> [[> [ > [> [> [> [[> [Start with: > [> [> [> [[> [ > [> [> [> [[> [ rsc-web1# du -kx / | sort -nr | head -20 > [> [> [> [[> [ > [> [> [> [[> [This will print the top-20 space consumers of your / > [filesystem. > [> [> [> [[> [What's the output of this command on your system? > [> [> [> [[> > [> [> [> [[> rsc-web1# du -kx / | sort -nr | head -20 > [> [> [> [[> 120903 / > [> [> [> [[> 67460 /dev > [> [> [> [[ > [> [> [> [[This looks odd. Half of your / space is in /dev! Look > [in /dev with > [> [> [> [[`ls -l' and see which part of /dev takes up so much space. > [> [> [> [[ > [> [> [> [[> 18464 /root > [> [> [> [[> 17988 /root/.cpan > [> [> [> [[ > [> [> [> [[CPAN crap. This is why I don't use cpan at home, and if I > [> [absolutely > [> [> [> [[have to use it, I symlink /root/.cpan -> /home/giorgos/.cpan :-( > [> [> [> [[ > [> [> [> [[> 12228 /sbin > [> [> [> [[> 10944 /root/.cpan/build > [> [> [> [[> 5480 /modules.old > [> [> [> [[> 5480 /modules > [> [> [> [[> 4198 /root/.cpan/sources > [> [> [> [[> 4094 /bin > [> [> [> [[> 3446 /root/.cpan/sources/authors > [> [> [> [[> 3328 /root/.cpan/sources/authors/id > [> [> [> [[> 2514 /root/.cpan/build/DBI-1.30 > [> [> [> [[> 2176 /stand > [> [> [> [[> 1256 /root/.cpan/sources/authors/id/J > [> [> [> [[> 1246 /root/.cpan/build/DBI-1.30/blib > [> [> [> [[> 1232 /etc > [> [> [> [[> 1134 /root/.cpan/build/Class-MakeMethods-1.005 > [> [> [> [[> 966 /root/.cpan/sources/authors/id/J/JC > [> [> [> [[> 964 /root/.cpan/sources/authors/id/J/JC/JCRISTY > [> [> [> [[ > [> [> [> [ > [> [> [> [ > [> [> [> > [> [> [> > [> [> [> > [> [> [> To Unsubscribe: send mail to majordomo@FreeBSD.org > [> [> [> with "unsubscribe freebsd-questions" in the body of the message > [> [> [> > [> [> [ > [> [> > [> [> > [> [> > [> [ > [> [ > [> > [> > [> > [> To Unsubscribe: send mail to majordomo@FreeBSD.org > [> with "unsubscribe freebsd-questions" in the body of the message > [> > [ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message