Hello:
Just go back to my post. Instead of using /dev/hdb1, you are going to use /dev/sda5. That is the only difference. Also, I would also follow chrism01 advice. Otherwise, we will go back to square one. Check any crontab jobs that my be running or just create a crontab job to weekly remove file log files bigger than 2GB or a size of your choosing.
A script that I use to delete log files bigger thatn 2.5GB is as follows:
Quote:
|
find /var/log/mysql/logs -name '*.log' -type f -size +2500000k -exec /bin/rm -f'{}'\;
|
All of this is assuming that /dev/sda5 is a free partition.
Remember to backup your data. If you follow all the instructions, you are going to be safe, but backups do not hurt. Believe me, you can run the
command by accident.
I hope this helps you.