System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to extend root filesystem

 
hpux_sun
Occasional Advisor

how to extend root filesystem

please tell me , how to extend a root file system

provide me the procedure.

 

9 REPLIES
Torsten.
Acclaimed Contributor

Re: how to extend root filesystem

Usually this is never needed.

Consider to take ignite backup and adjust the size during restore.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pete Randall
Outstanding Contributor

Re: how to extend root filesystem

Because of the requirement for /, swap and /stand to be contiguous, you cannot just lvextend and extendfs.  That is why, as Torsten suggests, the easiest way to do this is to use Ignite to make a recovery archive either to tape or across the network.  You can that boot from that archive and adjust your root file system sizes as required.


Pete
V. Nyga
Honored Contributor

Re: how to extend root filesystem

>please tell me , how to extend a root file system

which os?

For ignite, you can check this:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01942571/c01942571.pdf

HTH
V.
*** Say 'Thanks' with Kudos ***
Vijaya Ragavan_1
Occasional Advisor

Re: how to extend root filesystem

Hi hpux_sun

                         If you have online jfs you can resize root filesystem online.I need bdf output and vgdisplay -v vg00.Pls provide me for the same.

 

Thanks & Regards

S.J.Vijaya Ragavan

Pete Randall
Outstanding Contributor

Re: how to extend root filesystem

> If you have online jfs you can resize root filesystem online.

 

Because of the requirement for /, swap and /stand to be contiguous, you cannot just lvextend and increase the filesystem.  It doesn't matter whether you have online jfs or not, it can't be done.  Unless you shrink your swap space and expand root into the vacated space, which few people really wish to do.


Pete
Patrick Wallek
Honored Contributor

Re: how to extend root filesystem

You could also move LVOL4 out of the way to expand root.

 

I've experimented, and successfully used the procedure on a couple of test systems.

 

Here's my procedure:

http://blog.sourcedirect.com/2011/06/

Vijaya Ragavan_1
Occasional Advisor

Re: how to extend root filesystem

thanks Mr.patrick Wallerk

 

                        hi hpux_sun we need bdf and vgdisplay output.....

Pete Randall
Outstanding Contributor

Re: how to extend root filesystem

Excellent point, Patrick.  Personally I find it easier to just use Ignite - or better yet, plan better!


Pete
Patrick Wallek
Honored Contributor

Re: how to extend root filesystem


Pete Randall wrote:

Excellent point, Patrick.  Personally I find it easier to just use Ignite - or better yet, plan better!


You make an excellent point as well, Pete.

 

Ignite is my preferred method as well.  But, as you say, planning better at the beginning is the best option.