Re: Low space on /
On Thu, Mar 13, 2008 at 05:16:29PM -0400, Jerry McAllister wrote: On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote: On Thu, 13 Mar 2008 16:15:22 -0400 Robert Huff [EMAIL PROTECTED] wrote: Ghirai writes: Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ Start with /tmp. Also: du -x / | sort -nr | head -n 25 Here's the output (removed a couple other 100KiB ): 986K/bin 512B/dev 366K/etc/rc.d 270K/lib/geom 250K/etc/mail 170K/libexec 138K/etc/ssh 137M/ 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. try doing a df -k to see what file systems are really there and what they have in them. Then go in to root (/) and do ls -laF That may provide some clues. This seams to be be a partial account of /. Try 'du -x / | grep \[\ 0-9\]*M' instead or 'du -shx /.[^.]* /*'. You can safely remove /boot/kernel/*.symbols -- Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Fri, Mar 14, 2008 at 06:07:47PM +0100, Alex de Kruijff wrote: On Thu, Mar 13, 2008 at 05:16:29PM -0400, Jerry McAllister wrote: On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote: On Thu, 13 Mar 2008 16:15:22 -0400 Robert Huff [EMAIL PROTECTED] wrote: Ghirai writes: Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ Start with /tmp. Also: du -x / | sort -nr | head -n 25 Here's the output (removed a couple other 100KiB ): 986K/bin 512B/dev 366K/etc/rc.d 270K/lib/geom 250K/etc/mail 170K/libexec 138K/etc/ssh 137M/ 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. try doing a df -k to see what file systems are really there and what they have in them. Then go in to root (/) and do ls -laF That may provide some clues. This seams to be be a partial account of /. Try 'du -x / | grep \[\ 0-9\]*M' instead or 'du -shx /.[^.]* /*'. The first command should be: du -hx / | grep ^\[\ \.0-9\]\*M -- Alex Please copy the original recipients, otherwise I may not read your reply. Howtos based on my personal use, including information about setting up a firewall and creating traffic graphs with MRTG http://alex.kruijff.org/FreeBSD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Low space on /
Hey, I'm running 7.0-RELEASE, x86, SMP. Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ I suspect it's since i upgraded from 7.0-rcX couple times. Any idea where i should start looking for files that are not needed? Thanks. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Low space on /
Ghirai writes: Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ Start with /tmp. Also: du -x / | sort -nr | head -n 25 Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
Hi, Ghirai-- On Mar 13, 2008, at 1:07 PM, Ghirai wrote: Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ I suspect it's since i upgraded from 7.0-rcX couple times. Any idea where i should start looking for files that are not needed? Well, I can tell you how to figure out which directories are consuming space: du -xd1 / Add -h to the flags if you prefer human-readable output. Give us that output and we can probably advise you further, if it doesn't help clarify things enough for you to figure out what to do... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Thu, 13 Mar 2008 16:15:22 -0400 Robert Huff [EMAIL PROTECTED] wrote: Ghirai writes: Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ Start with /tmp. Also: du -x / | sort -nr | head -n 25 Here's the output (removed a couple other 100KiB ): 986K/bin 512B/dev 366K/etc/rc.d 270K/lib/geom 250K/etc/mail 170K/libexec 138K/etc/ssh 137M/ 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. Atm. i have no clue how df reports 454M used... Thanks. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Mar 13, 2008, at 1:36 PM, Ghirai wrote: Here's the output (removed a couple other 100KiB ): [ ... ] 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. Atm. i have no clue how df reports 454M used... Your kernel tree is huge-- on a 6.x system, that's normally around 25MB. If you have a /boot/kernel.old, you can delete that, but you should double-check whether you've specified non-default compiler flags or something which might cause this. Also, if you've deleted things like old logfiles without restarting the daemons or syslogd, you might want to reboot and then recheck the disk usage... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Thu, 13 Mar 2008 13:49:11 -0700 Chuck Swiger [EMAIL PROTECTED] wrote: On Mar 13, 2008, at 1:36 PM, Ghirai wrote: Here's the output (removed a couple other 100KiB ): [ ... ] 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. Atm. i have no clue how df reports 454M used... Your kernel tree is huge-- on a 6.x system, that's normally around 25MB. If you have a /boot/kernel.old, you can delete that, but you should double-check whether you've specified non-default compiler flags or something which might cause this. Also, if you've deleted things like old logfiles without restarting the daemons or syslogd, you might want to reboot and then recheck the disk usage... -- -Chuck Are there supposed to be .ko.symbols near the .ko files in /boot/kernel? Those would account for ~80MiB. Also i have a total of 1041 files in /boot/kernel. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Mar 13, 2008, at 1:56 PM, Ghirai wrote: Are there supposed to be .ko.symbols near the .ko files in /boot/ kernel? Those would account for ~80MiB. Also i have a total of 1041 files in /boot/kernel. They're used for debugging, but can be deleted if you aren't doing kernel hacking or trying to generate a backtrace from a panic. I have ~480 files under /boot/kernel on a 6.3 system -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Thursday 13 March 2008 21:49:11 Chuck Swiger wrote: On Mar 13, 2008, at 1:36 PM, Ghirai wrote: Here's the output (removed a couple other 100KiB ): [ ... ] 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. Atm. i have no clue how df reports 454M used... Your kernel tree is huge-- on a 6.x system, that's normally around 25MB. Yeah, but that went up with 7. Majorly. here's one from a 7.x kernel, generic, but with ULE instead of 4BSD: # du -sh /boot/kernel 113M/boot/kernel Also: ssh seven.stable ls /boot/kernel |while read FILE; do if test \! -f /boot/kernel/${FILE}; then echo $FILE; fi ; done|wc -l 577 -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Thursday 13 March 2008 21:36:57 Ghirai wrote: On Thu, 13 Mar 2008 16:15:22 -0400 Robert Huff [EMAIL PROTECTED] wrote: Ghirai writes: Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ Start with /tmp. Also: du -x / | sort -nr | head -n 25 Here's the output (removed a couple other 100KiB ): 986K/bin 512B/dev 366K/etc/rc.d 270K/lib/geom 250K/etc/mail 170K/libexec 138K/etc/ssh 137M/ 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. Atm. i have no clue how df reports 454M used... That's cause you did du -xh | sort, so you're missing the 90M entries. Then again, it reports 137M for /. So, very likely there's a file in /tmp that's unlinked but still opened by a program. fstat -f / or fstat -u myuid should give you a clue. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote: On Thu, 13 Mar 2008 16:15:22 -0400 Robert Huff [EMAIL PROTECTED] wrote: Ghirai writes: Can't remember exactly since when, or how, but atm. i see this: Filesystem SizeUsed Avail Capacity Mounted on /dev/ad6s3a496M454M1.8M 100%/ Start with /tmp. Also: du -x / | sort -nr | head -n 25 Here's the output (removed a couple other 100KiB ): 986K/bin 512B/dev 366K/etc/rc.d 270K/lib/geom 250K/etc/mail 170K/libexec 138K/etc/ssh 137M/ 121M/boot 118K/etc/periodic 116K/etc/defaults 112M/boot/kernel /tmp is ~2MiB. try doing a df -k to see what file systems are really there and what they have in them. Then go in to root (/) and do ls -laF That may provide some clues. jerry Atm. i have no clue how df reports 454M used... Thanks. -- Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Low space on /
On Thu, 13 Mar 2008 22:14:48 +0100 Mel [EMAIL PROTECTED] wrote: On Thursday 13 March 2008 21:49:11 Chuck Swiger wrote: Your kernel tree is huge-- on a 6.x system, that's normally around 25MB. Yeah, but that went up with 7. Majorly. here's one from a 7.x kernel, generic, but with ULE instead of 4BSD: # du -sh /boot/kernel 113M/boot/kernel My 7.0 kernel $ du -hd0 /boot/kernel 32M/boot/kernel I have DEBUG=-g commented out, perhaps it's just the symbols. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]