1748060 Members
6009 Online
108758 Solutions
New Discussion юеВ

Re: to extend /tmp

 
Go to solution
himacs
Super Advisor

to extend /tmp

Hi gurus,

how can i extend /tmp file system.

online JFS not available in my server.


regards
himacs
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor
Solution

Re: to extend /tmp

Hi Himacs:

In the absence of Online JFS, you will need to unmount '/tmp' to expand it. This can be difficult during normal operation, so I would advise you to shutdown and reboot into _single_user_ mode where no filesystems are mounted.

Then, using the executables in '/sbin', 'lvextend' the aprropriate logical volume and then 'extendfs' the '/tmp' filesystem.

Finally, reboot to return to a normal environment. This is the simplest course.

Having said all this, remember that _applications_ should use '/var/tmp' as the repository of their temporary files. The '/tmp' filesystem should be reserved for temporary files used by the operating system.

Regards!

...JRF...
Vishu
Trusted Contributor

Re: to extend /tmp

Hi himacs,

JRF is right. if online JFS is not there, boot your server in single user mode,

ISL> hpux -is

at prompt, do lvextend as

# /sbin/lvextend -L
# /sbin/extendfs -F vxfs

then boot your server in normal mode and check.
himacs
Super Advisor

Re: to extend /tmp

Hi James,Ranju

thanx for ur responses.

actually oracle team doing some installations which using /tmp.

now installation over.

so the same steps to be followed to extend /var,/usr,/opt,/stand and / ..rite?


regards
himacs
James R. Ferguson
Acclaimed Contributor

Re: to extend /tmp

Hi (again) himacs:

> so the same steps to be followed to extend /var,/usr,/opt,/stand and / ..rite?

For '/var', '/usr' and '/opt' the answer is "yes".

For '/stand' and '/', essentially "no".

The '/stand' and '/' filesystem must use contiguous physical disk extents and you aren't going to find any free extents immediately adjacent to them.

If you want to resize all of your filesystems and/or especially '/stand' and/or '/', the safest and easiest way is to take a full Ignite recovery backup of vg00 and use it to re-ignite your server. If you use the Advanced Installation mode of Ignite, you can choose the size of your logical volumes as the first step in installation. Of course, this will require a significant downtime.

Regards!

...JRF...
Vishu
Trusted Contributor

Re: to extend /tmp

hey himacs,

you can't extend /stand and / like this..as they are contiguous file systems. if you want to extend them, you can use ignite with advanced options to extend these file systems.

himacs
Super Advisor

Re: to extend /tmp

Hi,

Thanx for ur replies..

this thread is useful..cleared my doubts


regards,
himacs
himacs
Super Advisor

Re: to extend /tmp

useful thread