Step 1: Stop services
#/etc/init.d/httpd stop
#/etc/init.d/lsws stop
#/etc/init.d/mysql stop
Step 2: Umount /tmp and /var/tmp
#umount -l /tmp
#umount -l /var/tmp
Move /usr/tmpDSK file to another location:
#mv /usr/tmpDSK /usr/tmpDSK_back
Step 3: edit /scripts/securetmp to set tmpdsksize to desired size:
#vi /scripts/securetmp
$tmpdsksize = 2048000
Step 4:Run these commands to resize /tmp partition:
#/scripts/securetmp
Step 5: Start services
#/etc/init.d/httpd start
#/etc/init.d/lsws start
#/etc/init.d/mysql start
:)
No comments:
Post a Comment