Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PLEASE GUIDE ME FRIENDS! 1

Status
Not open for further replies.

talkdev

ISP
Aug 2, 2002
42
IN
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
 
You can also edit your image.data file and set rootvg filesystem sizes as desired - you will also need to edit the corresponing logical volume entry.

Do a mksysb (without re-creating this file) and then restore from this mksysb.



 
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?
 
Just my opinion, but for the unexperienced, I would bet that doing a mksysb would be easier than working in maintenance mode.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top