Root fs full - free space always below 0
Hello, so during a portupgrade on my laptop the root fs, with soft updates enabled, became full. So I removed a bunch of stuff to make a few gigs available. I checked and df reported more than a gig of free space - so I re-ran portupgrade. Then I noticed it was full again, with df showing a negative amount of free space. I removed even more stuff, and rebooted just incase there were more blocks to be freed. After the reboot df showed a negative amount of space again. So I removed even more data (rm -rf /usr/ports/distfiles) and now I had 115 meg free df claimed. I then re-ran df in quick succession a few times and watched diskspace rapidly decrease to a negative 600 meg or so (note: the decrease was perhaps 150 meg/second, so it cannot have been a process writing data to disk in the background). After a couple more reboots and a manual fsck in single user mode I still have the same problem (on both CURRENT and 5.2.1-RELEASE kernels). What to do? -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Root fs full - free space always below 0
Peter Schuller wrote: Hello, so during a portupgrade on my laptop the root fs, with soft updates enabled, became full. So I removed a bunch of stuff to make a few gigs available. I checked and df reported more than a gig of free space - so I re-ran portupgrade. Then I noticed it was full again, with df showing a negative amount of free space. I removed even more stuff, and rebooted just incase there were more blocks to be freed. After the reboot df showed a negative amount of space again. So I removed even more data (rm -rf /usr/ports/distfiles) and now I had 115 meg free df claimed. I then re-ran df in quick succession a few times and watched diskspace rapidly decrease to a negative 600 meg or so (note: the decrease was perhaps 150 meg/second, so it cannot have been a process writing data to disk in the background). After a couple more reboots and a manual fsck in single user mode I still have the same problem (on both CURRENT and 5.2.1-RELEASE kernels). What to do? Have you tried editing your ports-supfile and commenting out the src-all and the Chinese, German, etc... ports? Just make sure you have all the other ports uncommented. That will save you a lot of space, unless you need them. Michael -- Michael D. Whities [EMAIL PROTECTED] http://www.one-arm.com -- There are four colors of hats to watch for: Black, White, Grey, and Red. The meanings are: Cracker, Hacker, Guru, and Victim. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Root fs full - free space always below 0
On Sat, 17 Jul 2004 14:37:29 -0500 uidzero [EMAIL PROTECTED] wrote: Peter Schuller wrote: Hello, so during a portupgrade on my laptop the root fs, with soft updates enabled, became full. So I removed a bunch of stuff to make a few gigs available. I checked and df reported more than a gig of free space - so I re-ran portupgrade. Then I noticed it was full again, with df showing a negative amount of free space. I removed even more stuff, and rebooted just incase there were more blocks to be freed. After the reboot df showed a negative amount of space again. So I removed even more data (rm -rf /usr/ports/distfiles) and now I had 115 meg free df claimed. I then re-ran df in quick succession a few times and watched diskspace rapidly decrease to a negative 600 meg or so (note: the decrease was perhaps 150 meg/second, so it cannot have been a process writing data to disk in the background). After a couple more reboots and a manual fsck in single user mode I still have the same problem (on both CURRENT and 5.2.1-RELEASE kernels). What to do? Have you tried editing your ports-supfile and commenting out the src-all and the Chinese, German, etc... ports? Just make sure you have all the other ports uncommented. That will save you a lot of space, unless you need them. while this 'will' save space, it will 'almost certainly' break any local /usr/ports/INDEX builds you attempt. Michael -- Michael D. Whities [EMAIL PROTECTED] http://www.one-arm.com -- There are four colors of hats to watch for: Black, White, Grey, and Red. The meanings are: Cracker, Hacker, Guru, and Victim. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Root fs full - free space always below 0
epilogue wrote: On Sat, 17 Jul 2004 14:37:29 -0500 uidzero [EMAIL PROTECTED] wrote: Peter Schuller wrote: Hello, so during a portupgrade on my laptop the root fs, with soft updates enabled, became full. So I removed a bunch of stuff to make a few gigs available. I checked and df reported more than a gig of free space - so I re-ran portupgrade. Then I noticed it was full again, with df showing a negative amount of free space. I removed even more stuff, and rebooted just incase there were more blocks to be freed. After the reboot df showed a negative amount of space again. So I removed even more data (rm -rf /usr/ports/distfiles) and now I had 115 meg free df claimed. I then re-ran df in quick succession a few times and watched diskspace rapidly decrease to a negative 600 meg or so (note: the decrease was perhaps 150 meg/second, so it cannot have been a process writing data to disk in the background). After a couple more reboots and a manual fsck in single user mode I still have the same problem (on both CURRENT and 5.2.1-RELEASE kernels). What to do? Have you tried editing your ports-supfile and commenting out the src-all and the Chinese, German, etc... ports? Just make sure you have all the other ports uncommented. That will save you a lot of space, unless you need them. while this 'will' save space, it will 'almost certainly' break any local /usr/ports/INDEX builds you attempt. Michael -- Michael D. Whities [EMAIL PROTECTED] http://www.one-arm.com -- There are four colors of hats to watch for: Black, White, Grey, and Red. The meanings are: Cracker, Hacker, Guru, and Victim. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Just rebuild the INDEX... ? Michael -- Michael D. Whities [EMAIL PROTECTED] http://www.one-arm.com -- There are four colors of hats to watch for: Black, White, Grey, and Red. The meanings are: Cracker, Hacker, Guru, and Victim. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
root is full
List, My root partition is full, but I cannot figure out how it got filled so fast the last security check claimed there to be 5% of capacity and now its at 108%. Where else can I check to see what is filling the root partition? Thanks in advance --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root is full
On Feb 18, 2004, at 9:00 PM, Will Prater wrote: My root partition is full, but I cannot figure out how it got filled so fast the last security check claimed there to be 5% of capacity and now its at 108%. Where else can I check to see what is filling the root partition? Try cd / du -sk * Dw ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root is full
Will Prater [EMAIL PROTECTED] writes: My root partition is full, but I cannot figure out how it got filled so fast the last security check claimed there to be 5% of capacity and now its at 108%. Where else can I check to see what is filling the root partition? du -x / will tell you what is using space (but note that deleting a file doesn't help until every process holding the file open also closes it). Also see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root is full
List, My root partition is full, but I cannot figure out how it got filled so fast the last security check claimed there to be 5% of capacity and now its at 108%. Where else can I check to see what is filling the root partition? Run du -sk * at the base of the file system (root in this case) where the problem is. Then cd in to suspicious directories - those that look excessively big and run du again Keep following bloated directories until you find your problem. I would guess you have logs (var/log) and mail (/var/mail) still in root and maybe even /tmp but who knows until you track it down a little better. You may need to either revise your disk layout or at least move some thing to a bigger partition and make symlinks. jerry Thanks in advance --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root is full
On Wed, 18 Feb 2004, Will Prater wrote: List, My root partition is full, but I cannot figure out how it got filled so fast the last security check claimed there to be 5% of capacity and now its at 108%. Where else can I check to see what is filling the root partition? check your root directory with # du -h -d 1 (or some other options you will find in # man du) Regards, Uli. Thanks in advance --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] +---+ |Peter Ulrich Kruppa| | Wuppertal | | Germany | +---+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root is full
Thanks all for the abundance of replys. Looks like you all had the same idea. Before I got your emails I found out the problem. I had another partition for backups mounted on the root level. I had forgot to add an entry to /etc/fstab. Things were running fine for weeks, however, there was a crash and when it came back online the /backup existed on the root. Thanks! On Feb 18, 2004, at 2:48 PM, Dirk-Willem van Gulik wrote: On Feb 18, 2004, at 9:00 PM, Will Prater wrote: My root partition is full, but I cannot figure out how it got filled so fast the last security check claimed there to be 5% of capacity and now its at 108%. Where else can I check to see what is filling the root partition? Try cd / du -sk * Dw --will ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HELP! root partition full!
I got a strange error from my server this morning - root partition full. I then looked at my email and had this in my inbox (of course I get this every day): Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 505036 -30258 106%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1112316 17149920 6%/usr /dev/vinum/var 235792039623 21683244 0%/var /dev/vinum/public 29776085 116 27393883 0%/public This was yesterday: Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 135492 33928629%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1108980 17153256 6%/usr /dev/vinum/var 235792039323 21683544 0%/var /dev/vinum/public 29776085 116 27393883 0%/public How do I determine what's going on? This is really strange. Thanks, Jason To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: HELP! root partition full!
On Thu, 30 Jan 2003, Jason Morgan wrote: I got a strange error from my server this morning - root partition full. I then looked at my email and had this in my inbox (of course I get this every day): Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 505036 -30258 106%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1112316 17149920 6%/usr /dev/vinum/var 235792039623 21683244 0%/var /dev/vinum/public 29776085 116 27393883 0%/public This was yesterday: Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 135492 33928629%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1108980 17153256 6%/usr /dev/vinum/var 235792039323 21683544 0%/var /dev/vinum/public 29776085 116 27393883 0%/public How do I determine what's going on? This is really strange. You can use `du` to find out which directories in the / partition are using the diskspace. Specifically, /etc, /root, /bin, /sbin, and /tmp are worth checking. Have you done anything as root in the last day or two? Specifically, installing Perl modules creates temp directories and a lot of temporary files used to build the modules, and has been the source of this kind of problem for other people for quite some time. - Jeff Jirsa To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: HELP! root partition full!
On Thu, Jan 30, 2003 at 12:05:50PM -0500, Jason Morgan wrote: I got a strange error from my server this morning - root partition full. I then looked at my email and had this in my inbox (of course I get this every day): Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 505036 -30258 106%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1112316 17149920 6%/usr /dev/vinum/var 235792039623 21683244 0%/var /dev/vinum/public 29776085 116 27393883 0%/public How do I determine what's going on? This is really strange. First guess is that something large was put into /tmp by a root-owned process. Clean out /tmp and see what df looks like then. Jim -- Jim Trigg, Lord High Everything Else O- /\ \ / ASCII RIBBON CAMPAIGN Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL Verger, All Saints Church - Sharon Chapel / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: HELP! root partition full!
- Original Message - From: Jason Morgan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 8:05 AM Subject: HELP! root partition full! I got a strange error from my server this morning - root partition full. I then looked at my email and had this in my inbox (of course I get this every day): Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 505036 -30258 106%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1112316 17149920 6%/usr /dev/vinum/var 235792039623 21683244 0%/var /dev/vinum/public 29776085 116 27393883 0%/public This was yesterday: Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 135492 33928629%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1108980 17153256 6%/usr /dev/vinum/var 235792039323 21683544 0%/var /dev/vinum/public 29776085 116 27393883 0%/public How do I determine what's going on? This is really strange. Thanks, Jason To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Use df to find the file thats filling your root: du -a -x /usr | sort -rn | tee /tmp/root-space Beech --- Beech Rintoul - Network Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | X - NO Word docs in e-mail | Anchorage, AK 99518-1841 No More Spam! http://www.knockmail.com/default.asp?AID=B0R00073 / \ - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re[2]: HELP! root partition full!
Thursday, January 30, 2003, 3:56:58 PM, you wrote: BR - Original Message - BR From: Jason Morgan [EMAIL PROTECTED] BR To: [EMAIL PROTECTED] BR Sent: Thursday, January 30, 2003 8:05 AM BR Subject: HELP! root partition full! I got a strange error from my server this morning - root partition full. I then looked at my email and had this in my inbox (of course I get this every day): Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 505036 -30258 106%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1112316 17149920 6%/usr /dev/vinum/var 235792039623 21683244 0%/var /dev/vinum/public 29776085 116 27393883 0%/public This was yesterday: Disk status: Filesystem1K-blocksUsedAvail Capacity Mounted on /dev/ad0s1a 516062 135492 33928629%/ /dev/ad2s1a 516062 117638 35714025%/rootbackup procfs4 40 100%/proc /dev/vinum/usr 19850256 1108980 17153256 6%/usr /dev/vinum/var 235792039323 21683544 0%/var /dev/vinum/public 29776085 116 27393883 0%/public How do I determine what's going on? This is really strange. Thanks, Jason To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message BR Use df to find the file thats filling your root: BR du -a -x /usr | sort -rn | tee /tmp/root-space Wont the tee will cause this to fail because: /dev/ad0s1a 516062 505036 -30258 106%/ ? -- Benmailto:[EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message