1836946 Members
2828 Online
110111 Solutions
New Discussion

Re: Increasing /tmp size

 
Amit Dixit_2
Regular Advisor

Increasing /tmp size

I want to increase size of /tmp dont have OnlineJFS or any patch installed.

Thanks,
Amit
6 REPLIES 6
Jose Mosquera
Honored Contributor

Re: Increasing /tmp size

Hi,

Pls find attached my suggested procedure.

Rgds.
Franky_1
Respected Contributor

Re: Increasing /tmp size

Hi,

1.) umount /dev/vgxx/lvolx
2.) lvextend â L /dev/vgxx/lvolx
3.) extendfs â F vxfs /dev/vgxx/rlvolx
4.) mount â F vxfs /dev/vgxx/lvolx

Regard
Don't worry be happy
Rita C Workman
Honored Contributor

Re: Increasing /tmp size

Without OnlineJFS....reboot/interupt/drop to single user. Now mount only one filesystem... /usr

Now do your lvextend for /tmp
Next do your extendfs for /tmp
Next mount -a to mount everything up...

...and last fire up system the init of your choice...mine is init 3

HTH,
Rita



Cheryl Griffin
Honored Contributor

Re: Increasing /tmp size

"init s" won't do. You must shutdown and reboot the machine into single user mode.
"Downtime is a Crime."
Pete Randall
Outstanding Contributor

Re: Increasing /tmp size

Amit,

If you have the room to do so, create a new file system of the desired size - call it /newtmp. Then, edite /etc/fstab and switch the mount points of /tmp and /newtmp, then reboot and you'll have your new, larger /tmp.


Pete

Pete
presage112
Advisor

Re: Increasing /tmp size

Hi ,

Think the best way is to use.

#fuser -k

then

lvextend -L size /tmp


the fuser -k command will kill all the used process on the /tmp then you can use the lvextend command to increase or decrease the LV.

Regards.