Re: df: root partition at 108% capacity! Can't find why...

2005-06-16 Thread Ean Kingston
On June 15, 2005 05:24 pm, SteveW wrote:
> Hi All,
>
> df: root partition at 108% capacity! Can't find why...
>
> After searching google freebsd.org I am no nearing to figuring this
> out, other than this is a "known" problem. Either I or the system
> managed to get the root partition back to under 100% but only just... I
> have looked for any large files that might be taking up space but have
> yet to locate anything over 3meg.
>
> Any suggestions, ideas, thoughts gratefully received.

1. Create  a separate /tmp filesystem. You should never let ordinary users (or 
daemons) write to the root filesystem. Unless you really need the nearly 4G 
of space you have in /var for a specific reason, you should be able to take 
some space out of there for your /tmp.

2. Use du to track down large files/directories, as was suggested by someone 
else.

3. Double check the size of hidden files in / and /root.

4. When you find out what is/was filling your filesystem, change the 
configuration so it doesn't happen again.

>
> Thanks,
>
>
> Steve
>
>
>
> INFO:
> FreeBSD 4.7-RELEASE-p10 / 80gig drive
>
> df was: /dev/ad0s1a   252M   250M -18.5M   108%
>
> df now:
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad0s1a   252M   230M   1.8M99%/
> /dev/ad0s1g29G   2.3G24G 9%/home
> /dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
> /dev/ad0s1e   3.9G75M   3.5G 2%/var
> procfs4.0K   4.0K 0B   100%/proc
>
> After the cras dmesg was filled with this:
> pid 8967 (cp), uid 0 on /: file system full
> pid 8967 (cp), uid 0 on /: file system full
>

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
I am currently looking for work. If you need competent system/network 
administration please feel free to contact me directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread Philip Hallstrom

Hi All,

df: root partition at 108% capacity! Can't find why...

After searching google freebsd.org I am no nearing to figuring this out, 
other than this is a "known" problem. Either I or the system managed to get 
the root partition back to under 100% but only just... I have looked for any 
large files that might be taking up space but have yet to locate anything 
over 3meg.


Any suggestions, ideas, thoughts gratefully received.


cd /
du -hsx *

-h  "Human-readable" output.  Use unit suffixes: Byte, Kilobyte,
 Megabyte, Gigabyte, Terabyte and Petabyte

-s  Display an entry for each specified file.  (Equivalent to -d 0)

-x  File system mount points are not traversed.

Look for the largest directly, cd into that and repeat until you get down 
far enough to find the offender.


Works for me...

-philip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread John Brooks
check /tmp for files

run:

# cd /
# du -h -d2 | grep M

this will show the total amount of disk usage in MB for files in
directories 2 deep. you should be able to find the big ones from
that (you may have to drill down a tad)

--
John Brooks
[EMAIL PROTECTED]

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Aaron Gibson
> Sent: Wednesday, June 15, 2005 4:30 PM
> To: SteveW
> Cc: freebsd-questions@freebsd.org
> Subject: Re: df: root partition at 108% capacity! Can't find why...
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> SteveW wrote:
> > Hi All,
> >
> > df: root partition at 108% capacity! Can't find why...
> >
> > After searching google freebsd.org I am no nearing to figuring this out,
> > other than this is a "known" problem. Either I or the system managed to
> > get the root partition back to under 100% but only just... I have looked
> > for any large files that might be taking up space but have yet to locate
> > anything over 3meg.
> >
> > Any suggestions, ideas, thoughts gratefully received.
> >
> > Thanks,
> >
> >
> > Steve
> >
> >
> >
> > INFO:
> > FreeBSD 4.7-RELEASE-p10 / 80gig drive
> >
> > df was: /dev/ad0s1a   252M   250M -18.5M   108%
> >
> > df now:
> > FilesystemSize   Used  Avail Capacity  Mounted on
> > /dev/ad0s1a   252M   230M   1.8M99%/
> > /dev/ad0s1g29G   2.3G24G 9%/home
> > /dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
> > /dev/ad0s1e   3.9G75M   3.5G 2%/var
> > procfs4.0K   4.0K 0B   100%/proc
> >
> > After the cras dmesg was filled with this:
> > pid 8967 (cp), uid 0 on /: file system full
> > pid 8967 (cp), uid 0 on /: file system full
> >
> >
> >
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
>
> The filesystem reserves blocks for the superuser (consult manpage
> for newfs)
>
>  -m free-space
>
> The percentage of space reserved from normal users; the minimum free
> space threshold.  The default value used is defined by MINFREE from
> , currently 8%.  See tunefs(8) for more details on how to
> set this option.
>
>
> - --Aaron
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCsJ3pm1yLNDpKjl4RAkkYAKCEj6sFAv43mOPOd7sYnHnR2Dc5YACg8vu9
> foObxS/qd6RHhTz5IijKyAo=
> =xZDl
> -END PGP SIGNATURE-
> ___
> 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: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread Matt Juszczak

df: root partition at 108% capacity! Can't find why...

After searching google freebsd.org I am no nearing to figuring this out,
other than this is a "known" problem. Either I or the system managed to
get the root partition back to under 100% but only just... I have looked
for any large files that might be taking up space but have yet to locate
anything over 3meg.

Any suggestions, ideas, thoughts gratefully received.



My understanding is that you want to know what is taking up the 108%, not 
why its at 108%


Have you tried utilizing du?  Maybe something in /root ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread Aaron Gibson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

SteveW wrote:
> Hi All,
> 
> df: root partition at 108% capacity! Can't find why...
> 
> After searching google freebsd.org I am no nearing to figuring this out,
> other than this is a "known" problem. Either I or the system managed to
> get the root partition back to under 100% but only just... I have looked
> for any large files that might be taking up space but have yet to locate
> anything over 3meg.
> 
> Any suggestions, ideas, thoughts gratefully received.
> 
> Thanks,
> 
> 
> Steve
> 
> 
> 
> INFO:
> FreeBSD 4.7-RELEASE-p10 / 80gig drive
> 
> df was: /dev/ad0s1a   252M   250M -18.5M   108%
> 
> df now:
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad0s1a   252M   230M   1.8M99%/
> /dev/ad0s1g29G   2.3G24G 9%/home
> /dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
> /dev/ad0s1e   3.9G75M   3.5G 2%/var
> procfs4.0K   4.0K 0B   100%/proc
> 
> After the cras dmesg was filled with this:
> pid 8967 (cp), uid 0 on /: file system full
> pid 8967 (cp), uid 0 on /: file system full
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

The filesystem reserves blocks for the superuser (consult manpage for newfs)

 -m free-space

The percentage of space reserved from normal users; the minimum free
space threshold.  The default value used is defined by MINFREE from
, currently 8%.  See tunefs(8) for more details on how to
set this option.


- --Aaron
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCsJ3pm1yLNDpKjl4RAkkYAKCEj6sFAv43mOPOd7sYnHnR2Dc5YACg8vu9
foObxS/qd6RHhTz5IijKyAo=
=xZDl
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread Jorn Argelo

SteveW wrote:


Hi All,

df: root partition at 108% capacity! Can't find why...

After searching google freebsd.org I am no nearing to figuring this 
out, other than this is a "known" problem. Either I or the system 
managed to get the root partition back to under 100% but only just... 
I have looked for any large files that might be taking up space but 
have yet to locate anything over 3meg.


Any suggestions, ideas, thoughts gratefully received.

Thanks,


Steve



INFO:
FreeBSD 4.7-RELEASE-p10 / 80gig drive

df was: /dev/ad0s1a   252M   250M -18.5M   108%



There is always 5% of disk space on the root partition reserved for the 
super user (root). Which is why it shows up as 108% full when the 5% has 
been filled as well.


Cheers,

Jorn



df now:
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   252M   230M   1.8M99%/
/dev/ad0s1g29G   2.3G24G 9%/home
/dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
/dev/ad0s1e   3.9G75M   3.5G 2%/var
procfs4.0K   4.0K 0B   100%/proc

After the cras dmesg was filled with this:
pid 8967 (cp), uid 0 on /: file system full
pid 8967 (cp), uid 0 on /: file system full



___
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]"


df: root partition at 108% capacity! Can't find why...

2005-06-15 Thread SteveW

Hi All,

df: root partition at 108% capacity! Can't find why...

After searching google freebsd.org I am no nearing to figuring this 
out, other than this is a "known" problem. Either I or the system 
managed to get the root partition back to under 100% but only just... I 
have looked for any large files that might be taking up space but have 
yet to locate anything over 3meg.


Any suggestions, ideas, thoughts gratefully received.

Thanks,


Steve



INFO:
FreeBSD 4.7-RELEASE-p10 / 80gig drive

df was: /dev/ad0s1a   252M   250M -18.5M   108%

df now:
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/ad0s1a   252M   230M   1.8M99%/
/dev/ad0s1g29G   2.3G24G 9%/home
/dev/ad0s1f   3.0G   1.7G   1.0G62%/usr
/dev/ad0s1e   3.9G75M   3.5G 2%/var
procfs4.0K   4.0K 0B   100%/proc

After the cras dmesg was filled with this:
pid 8967 (cp), uid 0 on /: file system full
pid 8967 (cp), uid 0 on /: file system full



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"