Operating System - HP-UX
1834340 Members
1781 Online
110066 Solutions
New Discussion

Re: How to increase size of /tmp partition?

 
SOLVED
Go to solution
Alexander Yereshenko
Frequent Advisor

How to increase size of /tmp partition?

Hello!
Could anybody help me, please, to increase size of /tmp partition? I tried to do it in "init s", but have got the error: "devise is busy". Also it says, that I have no enough physical extents in my logical group, but SAM shows more then 5Gb available for it!
6 REPLIES 6
Abhijit P.
Valued Contributor

Re: How to increase size of /tmp partition?

Hi Alexander,

Normally it should work in single user mode as by default the system will mount only root and stand in single user mode
Reboot the system in single usermode using hpux -is

Also check if you have sufficient PEs available for extending it e.g. vgdisplay /dev/vg00 | grep PE

Max PE per PV 2500
PE Size (Mbytes) 4
Total PE 1023
Alloc PE 825
Free PE 198

Here we have 198 Free PEs

regards,
Abhi





Pete Randall
Outstanding Contributor

Re: How to increase size of /tmp partition?

"init s" is not true single user mode - /tmp is not unmounted. The only way to get to true single user mode is to reboot, interrupt the boot process, then boot "hpux -is". This will bring you up in single user mode with none of the file systems mounted. Mount /usr so you have access to the commands you'll need, then enlarge /tmp.


Pete

Pete
Asif Sharif
Honored Contributor

Re: How to increase size of /tmp partition?

Hi Alexander,

You can do it with SAM easily,just check first that you have enough space available to increase the size.

SAM>Disks and File Systems>Logical Volumes> Select lvol6>Actions> Increase Size>New Size (Mbytes):5120 > click OK


Regards,
Asif Sharif
Regards,
Asif Sharif
tsf_1
Frequent Advisor
Solution

Re: How to increase size of /tmp partition?

Yes, as per information provided, you can do lvextend now but extendfs must be done in single user mode.
However, if you are using a product call Online JFS; then you can use fsadm to extend /tmp online even if the /tmp is in use.
Hope helps. :-)
be willing to do, be happy to bear
Srinivas Thokala_1
Frequent Advisor

Re: How to increase size of /tmp partition?

use #lvextend -L /dev/vg00/
Verify Online JFS is installed with
#swlist -l product |grep -i online.

If installed then use
#fsadm -F vxfs -b M /tmpsadm
Where 'M' is size in megabytes.

Eg: #fsadm -F vxfs -b 5000M /tmp
here the new size is 5000MB = 5GB

-Srini
Srinivas Thokala
Alexander Yereshenko
Frequent Advisor

Re: How to increase size of /tmp partition?

Thank you all for your answers!
My fsadm said I didn't have license for it.
I solved problem by addition a few rows starting by TMP to my user environment variables.
Thank you again!