you need to be in single user mode to extend /tmp...
Firstly check how much space you have in the root volume group with #vgdisplay -v vg00 | grep PE, look for the number of free PE and multiply by PE size to give the total number of free space.
make a note of the logical volume that is mounted on /tmp with #bdf /tmp
reboot, your server and when propted to interrupt during ten seconds, do so.
At the boot prompt type
>boot pri
The system should ask then if you want to interact with ISL. Type
>y
At the ISL prompt, type
>hpux -is
This will take you into single user
Extend the /tmp logical volume
# lvextend -L <new size in MB> /dev/vg00/lvolXX (where lvolXX is logical volume noted earlier)
Extend the filesystem associated with tmp. You need to use the raw device here:
# extendfs -F vxfs /dev/vg00/rlvolXX
reboot and leave machine to come back up itself into multiuser.
I followed unixqueen's instructions and after reboot a vgdisplay shows that lvol4 is the desired size (88M) but a df -k shows that /tmp still only has 61M total allocated. /tmp is the only filesystem on /dev/vg00/lvol4.
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.