Re: to extend /tmp (347 Views)
Reply
Super Advisor
himacs
Posts: 611
Registered: ‎01-27-2009
Message 1 of 8 (347 Views)
Accepted Solution

to extend /tmp

Hi gurus,

how can i extend /tmp file system.

online JFS not available in my server.


regards
himacs
Please use plain text.
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 2 of 8 (347 Views)

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...
Please use plain text.
Trusted Contributor
Vishu
Posts: 407
Registered: ‎03-27-2007
Message 3 of 8 (347 Views)

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.
Please use plain text.
Super Advisor
himacs
Posts: 611
Registered: ‎01-27-2009
Message 4 of 8 (347 Views)

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
Please use plain text.
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 5 of 8 (347 Views)

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...
Please use plain text.
Trusted Contributor
Vishu
Posts: 407
Registered: ‎03-27-2007
Message 6 of 8 (347 Views)

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.

Please use plain text.
Super Advisor
himacs
Posts: 611
Registered: ‎01-27-2009
Message 7 of 8 (347 Views)

Re: to extend /tmp

Hi,

Thanx for ur replies..

this thread is useful..cleared my doubts


regards,
himacs
Please use plain text.
Super Advisor
himacs
Posts: 611
Registered: ‎01-27-2009
Message 8 of 8 (347 Views)

Re: to extend /tmp

useful thread
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation