|
List Info
Thread: Low space on /
|
|
| Low space on / |
  Romania |
2008-03-13 15:07:48 |
Hey,
I'm running 7.0-RELEASE, x86, SMP.
Can't remember exactly since when, or how, but atm. i see
this:
Filesystem Size Used Avail Capacity
Mounted on
/dev/ad6s3a 496M 454M 1.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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Low space on / |
  United States |
2008-03-13 15:15:22 |
Ghirai writes:
> Can't remember exactly since when, or how, but atm. i
see this:
>
> Filesystem Size Used Avail Capacity
Mounted on
> /dev/ad6s3a 496M 454M 1.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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Low space on / |
  United States |
2008-03-13 15:14:34 |
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 Size Used Avail Capacity
Mounted on
> /dev/ad6s3a 496M 454M 1.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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Low space on / |
  Romania |
2008-03-13 15:36:57 |
On Thu, 13 Mar 2008 16:15:22 -0400
Robert Huff <roberthuff rcn.com> wrote:
>
> Ghirai writes:
>
> > Can't remember exactly since when, or how, but
atm. i see this:
> >
> > Filesystem Size Used Avail
Capacity Mounted on
> > /dev/ad6s3a 496M 454M 1.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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Low space on / |
  United States |
2008-03-13 15:49:11 |
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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Low space on / |
  Romania |
2008-03-13 15:56:46 |
On Thu, 13 Mar 2008 13:49:11 -0700
Chuck Swiger <cswiger mac.com> 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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Low space on / |
  United States |
2008-03-13 16:01:52 |
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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Low space on / |
  United States |
2008-03-13 16:06:56 |
On Thursday 13 March 2008 21:36:57 Ghirai wrote:
> On Thu, 13 Mar 2008 16:15:22 -0400
>
> Robert Huff <roberthuff rcn.com> wrote:
> > Ghirai writes:
> > > Can't remember exactly since when, or how,
but atm. i see this:
> > >
> > > Filesystem Size Used Avail
Capacity Mounted on
> > > /dev/ad6s3a 496M 454M 1.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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Low space on / |
  United States |
2008-03-13 16:14:48 |
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/$; 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-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
| Re: Low space on / |
  United States |
2008-03-13 16:16:29 |
On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote:
> On Thu, 13 Mar 2008 16:15:22 -0400
> Robert Huff <roberthuff rcn.com> wrote:
>
> >
> > Ghirai writes:
> >
> > > Can't remember exactly since when, or how,
but atm. i see this:
> > >
> > > Filesystem Size Used Avail
Capacity Mounted on
> > > /dev/ad6s3a 496M 454M 1.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-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|
|
|
|