1753816 Members
8187 Online
108805 Solutions
New Discussion юеВ

Re: Increase TMP size

 
SOLVED
Go to solution
Ferdie Banu
Occasional Contributor

Increase TMP size

Hi all,

I can't increase the /tmp, but my volume size are 22GB. Is there any other way to increase it without shutting down the system.

Thanks in advance,

Ferdie Banu
5 REPLIES 5
Sanjay Kumar Suri
Honored Contributor

Re: Increase TMP size

If you have online JFS then you can increase the size with fsadm.

Else umount --> extendfs --> mount.

sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
G. Vrijhoeven
Honored Contributor

Re: Increase TMP size

Hi,

With online jfs and free space in vg00 you could:
It could be that /tmp was created contiguous, you can alter this with the lvchange -C n /dev/vg00/lvol

# lvextend -L /dev/vg00/lvol
# fsadm -F vxfs -b /tmp

If you do not have online jfs. The lvchange and lvextend command are identical, but you need to go in signle user mode for the extendfs command mentioned above.

HTH,

Gideon
SureshKumar_2
Valued Contributor
Solution

Re: Increase TMP size

Hi banu

*) confirm the lv whether it is an contigous or not ... u could able to find it by
#lvdisplay -v /dev//
*) Ensure u have free space on the VG where ur lv exists. verify by,
#vgdisplay -v /dev/
u will be finding it free PE.
*) Without Umounting u can do if u have online jfs as per what virij told

----

If u dot have online jfs & Have free space
*) Goto single user mode,
#init s
*) Ensure /tmp is unmounted
#bdf
*) Extend the volume by,
#lvextend -L /dev//
*) Extend the FS,
#extendfs -F /dev//r
*) Change the run level to previous level.

---

Hope these feedback will help you to extend.

suresh
Things are very easy, when u know about it...
Mobeen_1
Esteemed Contributor

Re: Increase TMP size

Ferdie,
If you have online jfs and free space then there is no reason why you should not be able extend /tmp. How ever, if you don't have online jfs but have free space in the vg, try getting to the "single-user" mode and that should help

rgds
Mobeen
Shyjith P K
Frequent Advisor

Re: Increase TMP size

Hi Ferdie,

First check whether you have onlie jfs.

swlist -l product | grep -i jfs

If you have online jfs you can extend the file system online. Please let me know what error you are getting.

Cheers
Shyjith