Operating System - HP-UX
1834557 Members
3509 Online
110069 Solutions
New Discussion

How to Increase the size of root file system in HPUX 10.20 ?

 
Chris Fung
Frequent Advisor

How to Increase the size of root file system in HPUX 10.20 ?

Hi all,

I am going to perform a Disaster Recovery for a server which contains HPUX 10.20. My question is that how can I extend the filesystem for the root without reinstall the OS !!

Do I need to reboot to single user mode ?? How??

Many thanks,

Chris,
3 REPLIES 3
Michael Tully
Honored Contributor

Re: How to Increase the size of root file system in HPUX 10.20 ?

Hi Chris,

You need to create a make_recovery tape (ignite) and then boot from the tape. You can find all the information you need here:

http://www.docs.hp.com/hpux/onlinedocs/B2355-90749/B2355-90749.html
You can download the latest version from here:
http://www.software.hp.com/products/IUX/download.html

A simple way to create a bootable interactive tape is this if you have the software already loaded.

# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
(not the no-rewind device usages)

HTH
Michael

Anyone for a Mutiny ?
Patrick Wallek
Honored Contributor

Re: How to Increase the size of root file system in HPUX 10.20 ?

If you are talking about extending the '/' file system, there is NO easy way to do this without essentially reinstalling.

The BEST and EASIEST way to do this is to create a make_tape_recovery tape (or 2 for safeties sake) and then boot from that tape, interact with the install and reset whatever LV sizes you want.

For more information, and to download IGNITE/UX (for FREE) go to:

http://software.hp.com/products/IUX

The command I use to create an make_tape_recovery tape is (this assumes you tape drive is /dev/rmt/0mn, if it isn't make the appropriate change):

/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -v -x inc_entire=vg00
S.K. Chan
Honored Contributor

Re: How to Increase the size of root file system in HPUX 10.20 ?

I totally agree with Michael and Patrick, make_tape_recovery is the safest way to do it. However I just wanted to point out another option you may want to explore. It depends on 2 things ..
- must have OnlineJFS
- have a second disk in vg00
It involves using pvmove to move the adjacent logical volumes to root logical volumes to another disk thus free up extents for "/" to expand. This is by far the "coolest" method I've seen. I have tested it on my testbed workstation and it worked just fine. Take a look at the process here ..

http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058669410

DocumentID=KBRC00006582