RE: Root filesystem 102% full (was: Disks filling up)
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-blocksUsedAvail Capacity Mounted on /dev/ad0s1a128990 127118-8446 107%/ /dev/ad0s1f257998 118 237242 0%/tmp /dev/ad0s1g 9092908 2060994 630448225%/usr /dev/ad0s1e257998 83548 15381235%/var /dev/ad2s1a128990 2 118670 0%/backup /dev/ad2s1f257998 2 237358 0%/backuptmp /dev/ad2s1g 18028798 2083266 1450323013%/backupusr /dev/ad2s1e257998 2 237358 0%/backuptmp procfs 4 40 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:[EMAIL PROTECTED] [Sent: Thursday, February 13, 2003 8:57 AM [To: Giorgos Keramidas; [EMAIL PROTECTED] [Cc: [EMAIL PROTECTED] [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 rootwheel 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:[EMAIL PROTECTED] [[Sent: Thursday, February 13, 2003 8:22 AM [[To: [EMAIL PROTECTED] [[Cc: [EMAIL PROTECTED] [[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 [[[EMAIL PROTECTED] wrote: [[ [Giorgos Keramidas [mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Root filesystem 102% full (was: Disks filling up)
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:[EMAIL PROTECTED] [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:[EMAIL PROTECTED] [ [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-blocksUsedAvail Capacity Mounted on [ [ /dev/ad0s1a128990 127118-8446 107%/ [ [ /dev/ad0s1f257998 118 237242 0%/tmp [ [ /dev/ad0s1g 9092908 2060994 630448225%/usr [ [ /dev/ad0s1e257998 83548 15381235%/var [ [ /dev/ad2s1a128990 2 118670 0%/backup [ [ /dev/ad2s1f257998 2 237358 0%/backuptmp [ [ /dev/ad2s1g 18028798 2083266 1450323013%/backupusr [ [ /dev/ad2s1e257998 2 237358 0%/backuptmp [ [ procfs 4 40 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:[EMAIL PROTECTED] [ [ [Sent: Thursday, February 13, 2003 8:57 AM [ [ [To: Giorgos Keramidas; [EMAIL PROTECTED] [ [ [Cc: [EMAIL PROTECTED] [ [ [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 rootwheel 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:[EMAIL PROTECTED] [ [ [[Sent: Thursday, February 13, 2003 8:22 AM [ [ [[To: [EMAIL PROTECTED] [ [ [[Cc: [EMAIL PROTECTED] [ [ [[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
RE: Root filesystem 102% full (was: Disks filling up)
Thanks for your reply: name# du -s -h * 6.0KCOPYRIGHT 2.0Kbackup 2.0Kbackuptmp 2.0Gbackupusr 72Mbackupvar 4.0Mbin 542Kboot 2.0Kcdrom 0Bcompat 68Kdev 2.0Kdist 1.2Metc 2.0Kfdd 0Bhome 3.6Mkernel 0Bkernel.old 2.0Kmnt 5.4Mmodules 5.4Mmodules.old 37Kproc 18Mroot 12Msbin 2.1Mstand 0Bsys 2.0Ktar-e.log 0Btar.log 118Ktmp 2.0Gusr 82Mvar 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: Sean J. Countryman [mailto:[EMAIL PROTECTED] [Sent: Friday, February 28, 2003 12:32 PM [To: FreeBSD Questions; [EMAIL PROTECTED] [Subject: RE: Root filesystem 102% full (was: Disks filling up) [ [ [from the root directory (/) run: du -s -h * and post the [results. That [will tell us who the offendor is. That will show the disk usage du for [each of the directories in the / directory. If you wish to do a bit more [detective work, go into the largest directory and rerun du -s -h * on it [to find which subdirectory in that directory is oversized. In this manner [of drilling down, you can discover who the big offender is and then we can [figure out a good course of action. [ [I've seen this a bunch working tech support (for a large internet hosting [company :-) Everytime I drill down to find the problem, it turns out to be [something like an out of control log file, a grossly large mysql database, [or something similar. [ [Let me know if you need anything else [ [Sean Countryman [ [ [ [-Original Message- [From: [EMAIL PROTECTED] [[mailto:[EMAIL PROTECTED] Behalf Of David [Radovanovic [Sent: Friday, February 28, 2003 10:25 AM [To: Stephen Hovey [Cc: [EMAIL PROTECTED] [Subject: RE: Root filesystem 102% full (was: Disks filling up) [ [ [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:[EMAIL PROTECTED] [[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-blocksUsedAvail Capacity Mounted on [[ /dev/ad0s1a128990 127118-8446 107%/ [[ /dev/ad0s1f257998 118 237242 0%/tmp [[ /dev/ad0s1g 9092908 2060994 630448225%/usr [[ /dev/ad0s1e257998 83548 15381235%/var [[ /dev/ad2s1a128990 2 118670 0%/backup [[ /dev/ad2s1f257998 2 237358 0%/backuptmp [[ /dev/ad2s1g 18028798 2083266 1450323013%/backupusr [[ /dev/ad2s1e257998 2 237358 0%/backuptmp [[ procfs 4 40 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:[EMAIL PROTECTED] [[ [Sent: Thursday, February 13, 2003 8:57 AM [[ [To: Giorgos Keramidas; [EMAIL PROTECTED] [[ [Cc: [EMAIL PROTECTED] [[ [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 rootwheel 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
RE: Root filesystem 102% full (was: Disks filling up)
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:[EMAIL PROTECTED] [Sent: Friday, February 28, 2003 12:53 PM [To: [EMAIL PROTECTED] [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:[EMAIL PROTECTED] [ [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:[EMAIL PROTECTED] [ [ [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-blocksUsedAvail Capacity Mounted on [ [ [ /dev/ad0s1a128990 127118-8446 107%/ [ [ [ /dev/ad0s1f257998 118 237242 0%/tmp [ [ [ /dev/ad0s1g 9092908 2060994 630448225%/usr [ [ [ /dev/ad0s1e257998 83548 15381235%/var [ [ [ /dev/ad2s1a128990 2 118670 0%/backup [ [ [ /dev/ad2s1f257998 2 237358 0%/backuptmp [ [ [ /dev/ad2s1g 18028798 2083266 1450323013%/backupusr [ [ [ /dev/ad2s1e257998 2 237358 0%/backuptmp [ [ [ procfs 4 40 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:[EMAIL PROTECTED] [ [ [ [Sent: Thursday, February 13, 2003 8:57 AM [ [ [ [To: Giorgos Keramidas; [EMAIL PROTECTED] [ [ [ [Cc: [EMAIL PROTECTED] [ [ [ [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 rootwheel 68960256 Feb 9 04:04 st0 [ [ [ [ [ [ [ [Any ideas? [ [ [ [ [ [ [ [As far as CPAN
RE: Root filesystem 102% full (was: Disks filling up)
Thank you. The problem was that backupvar was within the / partition instead of having its own partition on the second (backup) hard drive. As so clearly explained by Giorgos. Thank you all for our time, patience and wisdom :) 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:[EMAIL PROTECTED] [Sent: Friday, February 28, 2003 4:13 PM [To: David Radovanovic [Cc: [EMAIL PROTECTED] [Subject: Re: Root filesystem 102% full (was: Disks filling up) [ [ [On 2003-02-28 12:06, David Radovanovic [[EMAIL PROTECTED] 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. [ [Thank you for looking at the archives first. Honestly, thanks :-) [ [ 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-blocksUsedAvail Capacity Mounted on [ /dev/ad0s1a128990 127118-8446 107%/ [ /dev/ad0s1f257998 118 237242 0%/tmp [ /dev/ad0s1g 9092908 2060994 630448225%/usr [ /dev/ad0s1e257998 83548 15381235%/var [ /dev/ad2s1a128990 2 118670 0%/backup [ /dev/ad2s1f257998 2 237358 0%/backuptmp [ /dev/ad2s1g 18028798 2083266 1450323013%/backupusr [ /dev/ad2s1e257998 2 237358 0%/backuptmp [ procfs 4 40 100%/proc [ [Note that there is no /backupvar mount point listed above... [ [ 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/ [ [The second command will attempt to synchronise /var with /backupvar [and effectively create a copy of the entire /var partition in your [root filesystem. Since /dev/ad0s1e (your /var partition) is larger [than /dev/ad0s1a (the root partition) this will quickly fill the root [partition to 100% and start grabbing blocks from the reserved space [(the default is 8% of the partition). You are running this as root [and FreeBSD doesn't block you at 100% but goes on merrily with its job [until both the partition and the reserved space are full [(100 + 8 = 108%; this is why the usage percentage in / is listed as [107% and not as 100%). [ [ Thanks again for any help. [ [You're welcome :) [ [- Giorgos [ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Root filesystem 102% full (was: Disks fillin up)
Thanks to Jan and Giorgos. Your suggestions were very helpful. 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: Jan Grant [mailto:[EMAIL PROTECTED]] [Sent: Thursday, February 13, 2003 6:24 PM [To: dave [Cc: Giorgos Keramidas; freebsd-questions [Subject: RE: Root filesystem 102% full (was: Disks fillin up) [ [ [On Thu, 13 Feb 2003, David Radovanovic wrote: [ [ That was the ticket. / is back down to 48%. Though when I 'sh [MAKEDEV st0' [ in /dev I get the error: st0 - no such device name. Thanks. [ [Old backup system? man st claims that (a) this was a SCSI tape; and [(b) this has been deprecated in favour of the sa(4) driver. [ [1. Ensure your /dev/sa0 co. device files exist. [2. Update your backup program, or specify the correct device file for it [to use [3. At a pinch, if your backup program doesn't grok sa, you might create [symlinks from /dev/st to /dev/sa but there's no guarantee that any [special ioctls will work across both devices. [ [-- [jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ [Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ [No generalised law is without exception. A self-demonstrating axiom. [ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Root filesystem 102% full (was: Disks fillin up)
Sorry :( 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:[EMAIL PROTECTED]] [Sent: Thursday, February 13, 2003 8:22 AM [To: [EMAIL PROTECTED] [Cc: [EMAIL PROTECTED] [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 [[EMAIL PROTECTED] wrote: [ [Giorgos Keramidas [mailto:[EMAIL PROTECTED]] 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 [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
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 rootwheel 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:[EMAIL PROTECTED]] [Sent: Thursday, February 13, 2003 8:22 AM [To: [EMAIL PROTECTED] [Cc: [EMAIL PROTECTED] [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 [[EMAIL PROTECTED] wrote: [ [Giorgos Keramidas [mailto:[EMAIL PROTECTED]] 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 [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Root filesystem 102% full (was: Disks fillin up)
That was the ticket. / is back down to 48%. Though when I 'sh MAKEDEV st0' in /dev I get the error: st0 - no such device name. 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: Giorgos Keramidas [mailto:[EMAIL PROTECTED]] [Sent: Thursday, February 13, 2003 9:04 AM [To: [EMAIL PROTECTED] [Cc: [EMAIL PROTECTED] [Subject: Re: Root filesystem 102% full (was: Disks fillin up) [ [ [On 2003-02-13 08:57, David Radovanovic [[EMAIL PROTECTED] wrote: [ If I'm reading this right the most suspictious culprit in /dev: [ [ -rw-r--r-- 1 rootwheel 68960256 Feb 9 04:04 st0 [ [ Any ideas? [ [It seems that you have used some sort of backup tool to save one or [more backups to /dev/st0 before creating an st0 device node. Since [you are root, you're allowed to create normal files under /dev. Just [delete this huge st0 file and create a real device node for it: [ [ # cd /dev [ # sh MAKEDEV st0 [ [then rerun your backup thingie to save the data to a real tape and not [a file on disk. [ [ As far as CPAN is concerned, should I delete the files or create [a symlink [ like you, to another partition with more space? [ [I don't use CPAN, but I'd probably move /root/.cpan someplace else and [symlink to it, just in case useful data is still in there. [ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message