Re: file system full help

2006-04-22 Thread Noah
On Fri, 21 Apr 2006 02:23:41 +0200, Alex de Kruijff wrote
 On Thu, Apr 20, 2006 at 06:46:14AM -0800, Noah wrote:
  I sometimes get reports of file system full but not accurately because 
  when
  viewing the drive with df -k I find there is adequate space on the drive. 
  Usually this is casused by log files considered larger than the available
  space on the /var directory.
 
 That you don't have adequate space for the task at hand. In this case
 compressing the log (this means the source needs to be arround wile a
 new bzip file is created) and create a new fresh file.
 
   I would like to see if this in fact the case.
  
  Can somebody please remind me what commands I can use to troubleshoot this
  current condition?
 
 Use 'du -s * | sort -n' to find the largest files


I was looking for lsof - du only shows written files.



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

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


file system full help

2006-04-20 Thread Noah


I sometimes get reports of file system full but not accurately because when
viewing the drive with df -k I find there is adequate space on the drive. 
Usually this is casused by log files considered larger than the available
space on the /var directory.  I would like to see if this in fact the case.

Can somebody please remind me what commands I can use to troubleshoot this
current condition?

thanks in advance,

Noah



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


file system full help

2006-04-20 Thread Robert Huff

Noah writes:

  I sometimes get reports of file system full but not accurately
  because when viewing the drive with df -k I find there is
  adequate space on the drive. Usually this is casused by log files
  considered larger than the available space on the /var directory.
  I would like to see if this in fact the case.
  
  Can somebody please remind me what commands I can use to
  troubleshoot this current condition?

lsof?


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: [freebsd-questions] file system full help

2006-04-20 Thread Noah
On 20 Apr 2006 11:46:18 -0400, Lowell Gilbert wrote
 Noah [EMAIL PROTECTED] writes:
 
  I sometimes get reports of file system full but not accurately because 
  when
  viewing the drive with df -k I find there is adequate space on the drive. 
  Usually this is casused by log files considered larger than the available
  space on the /var directory.  I would like to see if this in fact the case.
  
  Can somebody please remind me what commands I can use to troubleshoot this
  current condition?
 
 I'm not sure I understand what you're asking correctly, but these FAQ
 entries may help explain what the filesystem is doing:
  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


you know I found those pages and they were completely unhelpful.   lsof looks
a lot deeper and sees reserved space that df and du does not show.  read my
original post.  I already explained that.

cheers,

Naoh

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


Re: file system full help

2006-04-20 Thread Alex de Kruijff
On Thu, Apr 20, 2006 at 06:46:14AM -0800, Noah wrote:
 I sometimes get reports of file system full but not accurately because when
 viewing the drive with df -k I find there is adequate space on the drive. 
 Usually this is casused by log files considered larger than the available
 space on the /var directory.

That you don't have adequate space for the task at hand. In this case
compressing the log (this means the source needs to be arround wile a
new bzip file is created) and create a new fresh file.

  I would like to see if this in fact the case.
 
 Can somebody please remind me what commands I can use to troubleshoot this
 current condition?

Use 'du -s * | sort -n' to find the largest files

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


Re: file system full help

2006-04-20 Thread Noah
On Fri, 21 Apr 2006 02:23:41 +0200, Alex de Kruijff wrote
 On Thu, Apr 20, 2006 at 06:46:14AM -0800, Noah wrote:
  I sometimes get reports of file system full but not accurately because 
  when
  viewing the drive with df -k I find there is adequate space on the drive. 
  Usually this is casused by log files considered larger than the available
  space on the /var directory.
 
 That you don't have adequate space for the task at hand. In this case
 compressing the log (this means the source needs to be arround wile a
 new bzip file is created) and create a new fresh file.
 
   I would like to see if this in fact the case.
  
  Can somebody please remind me what commands I can use to troubleshoot this
  current condition?
 
 Use 'du -s * | sort -n' to find the largest files
 


Hi there,

actually du does not give enough information.  'lsof' is the answer I was
looking for.  I want to look at open files that have not been written to the
drive.

Cheers,

Noah



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