<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
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.
<br />
<br />
<br />Chuck
<br />
<br /><font size="2">
<br />
<br /><b>---------- Original Message
-----------</b>
<br />
From: John Sikes <jsikes@sikesland.com>
<br />
To: blueonyx@blueonyx.it
<br />
Sent: Mon, 23 Jan 2012 20:13:11 -0600
<br />
Subject: [BlueOnyx:09439] /var getting full
<br />
<br />> Received a message that my /var partition was getting full.
Thought
<br />>
it was going to be the spool again, but found that btmp was huge.
<br />>
Looks like I got hit very hard in the past 24/48 hours with failed
<br />>
login attempts. Looking for a quick way to purge the file to regain
<br />>
space. I identified the top 10 offenders and blocked their IP's for
<br />>
now and just need to reclaim space.
<br />>
<br />>
Can I just cat /dev/null > /var/log/btmp? Is there a better, more
<br />>
correct way to clear up some space quick?
<br />>
<br />>
Thanks
<br />>
<br />>
John Sikes
<br />>
<br />>
--
<br />>
This message has been scanned for viruses and
<br />>
dangerous content by MailScanner, and is
<br />>
believed to be clean.
<br />>
<br />>
_______________________________________________
<br />>
Blueonyx mailing list
<br />>
Blueonyx@mail.blueonyx.it
<br />>
<a target="_blank" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
<br /><b>------- End of Original Message
-------</b>
<br />
</font>
</BODY>
</HTML>