HI Friends,
i want to know that is there any way to reduce the size alloted to a file system .For example if i had given the 3 gb to /tmp , then can i again reduce it to 2 GB.
Please give some way friends i need to do it urgently.
thanx in advance .
dev
You have to boot into maintenance mode and select start a maintenance shell, unmount /tmp, remove /tmp, then recreate the logical volume and create a filesystem, change permissions, sync, reboot
For an OS filesystem, you have to do the above tricks (restore from mksysb or maintenance mode). Those are / /usr /var /tmp and usually /home
Other filesystems generally do not have this limitation as they can usually be unmounted live. You have to use those above procedures because those filesystems *cannot* be unmounted on a running system.
just a question... but why do a mksysb restore for reducing /tmp? there is nothing to keep in it and that is a drastic step to take, and longer, than just recreating it?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.