[BlueOnyx:09441] Re: /var getting full

John Sikes jsikes at sikesland.com
Mon Jan 23 23:10:15 -05 2012


That's your best bet John.  As long as you know that you'll loose  
everything in that logfile.  But if you don't need the data in that  
file - that method will recover the most drive space.


Chuck



---------- Original Message -----------
From: John Sikes <jsikes at sikesland.com>
To: blueonyx at blueonyx.it
Sent: Mon, 23 Jan 2012 20:13:11 -0600
Subject: [BlueOnyx:09439]  /var getting full

 > Received a message that my /var partition was getting full.   Thought
 > it was going to be the spool again, but found that btmp was huge.
 > Looks like I got hit very hard in the past 24/48 hours with failed
 > login attempts.  Looking for a quick way to purge the file to regain
 > space.  I identified the top 10 offenders and blocked their IP's for
 > now and just need to reclaim space.
 >
 > Can I just cat /dev/null > /var/log/btmp?  Is there a better, more
 > correct way to clear up some space quick?
 >
 > Thanks
 >
 > John Sikes


Thank you very much for the quick response.

John
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20120123/b852a29a/attachment.html>


More information about the Blueonyx mailing list