Hello everybody
I want to increase the size of the tmp directory.
I searched and found this code to use in the SSH.
My concern that I afraid the hard drivers will be deleted after resizing the tmp directory. Could this happen? Is it safe to do this tmp resize process?
Also what is the best size for the tmp directory? If I need to change it to 10 GB, what do I need to change in the above code?
Thanks in advance
I want to increase the size of the tmp directory.
I searched and found this code to use in the SSH.
Code:
/etc/init.d/chkservd stop
/etc/init.d/mysql stop
umount /var/tmp
umount /tmp
sed -i -e 's/512000/2048000/g' /scripts/securetmp
rm /usr/tmpDSK
/scripts/securetmp --auto
cd /tmp
ln -s /var/lib/mysql/mysql.sock
/etc/init.d/mysql start
/etc/init.d/chkservd start
Also what is the best size for the tmp directory? If I need to change it to 10 GB, what do I need to change in the above code?
Thanks in advance