{"id":33,"date":"2015-02-19T13:20:19","date_gmt":"2015-02-19T13:20:19","guid":{"rendered":"http:\/\/eliteservermanagement.com\/issues\/?p=33"},"modified":"2019-11-01T08:08:42","modified_gmt":"2019-11-01T08:08:42","slug":"how-to-increse-tmp-partition-size-directly-without-scripts","status":"publish","type":"post","link":"https:\/\/eliteservermanagement.com\/issues\/how-to-increse-tmp-partition-size-directly-without-scripts\/","title":{"rendered":"How to increse \/tmp partition size directly without scripts"},"content":{"rendered":"<p>Stop all the service.<\/p>\n<p># \/etc\/init.d\/mysql stop<\/p>\n<p># cp -af \/var\/tmp \/var\/tmp.bak<\/p>\n<p># umount \/var\/tmp<\/p>\n<p># umount \/tmp<\/p>\n<p># mv \/usr\/tmpDSK \/usr\/tmpDSK_bak<\/p>\n<p>Increase \/tmp partition size to 2G<\/p>\n<p># dd if=\/dev\/zero of=\/usr\/tmpDSK bs=1024 count=2097195<\/p>\n<p># mkfs \/usr\/tmpDSK<\/p>\n<p># tune2fs -j \/usr\/tmpDSK<\/p>\n<p># mount -t ext3 -o nosuid,noexec,loop \/usr\/tmpDSK \/tmp<\/p>\n<p># mount -o bind,noexec,nosuid \/tmp \/var\/tmp<\/p>\n<p># cp -a \/var\/tmp.bak\/* \/tmp\/<\/p>\n<p># rm -rf \/var\/tmp.bak<\/p>\n<p># chmod 1777 \/tmp<br \/>\nStart all the service.<\/p>\n<p>by-<\/p>\n<p><a href=\"http:\/\/eliteservermanagement.com\/\"><b>eLite Server Management<\/b><\/a><\/p>\n<p>We Specialize In cPanel Server Management<br \/>\nAffordable 24\/7 Technical Support Company<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stop all the service. # \/etc\/init.d\/mysql stop # cp -af \/var\/tmp \/var\/tmp.bak # umount \/var\/tmp # umount \/tmp # mv \/usr\/tmpDSK \/usr\/tmpDSK_bak Increase \/tmp partition size to 2G # dd if=\/dev\/zero of=\/usr\/tmpDSK bs=1024 count=2097195 # mkfs \/usr\/tmpDSK # tune2fs -j \/usr\/tmpDSK # mount -t ext3 -o nosuid,noexec,loop \/usr\/tmpDSK \/tmp # mount -o bind,noexec,nosuid \/tmp \/var\/tmp [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/33"}],"collection":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":2,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/posts\/33\/revisions\/36"}],"wp:attachment":[{"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eliteservermanagement.com\/issues\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}