banumyname
asked on
How to increase the /tmp directory in linux
While installing the Oracle Software in Linux it Show the Temporary Folder already full. Due to that reason unable to install the Software.
Please let me know How To increase the Temporary fold Size in Red Hat Linux 5
Please let me know How To increase the Temporary fold Size in Red Hat Linux 5
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This is an example bind mount from /etc/fstab on my system:
/sda2/tmp /tmp none bind 0 0
ASKER
i got the solution
cd /dev/; dd if=/dev/zero of=tmpMnt bs=1024 count=800000
/sbin/mke2fs /dev/tmpMnt
cp -Rp /tmp /tmp_backup
mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp
chmod 0777 /tmp
cp -Rp /tmp_backup/* /tmp/
vi /etc/fstab
/dev/tmpMnt /tmp ext2 loop,noexec,nosuid,rw 0 0
none /dev/shm tmpfs noexec,nosuid 0 0
mount -o remount /dev/shm
rm -rf /var/tmp/
ln -s /tmp/ /var/
chmod 0777 /tmp