1834020 Members
2782 Online
110063 Solutions
New Discussion

Re: extend ROOT

 
waltercrasto
Occasional Contributor

extend ROOT

Hi,

I had HPUX 11.0 on J5000 machine. I managed to increase the /opt & /home file system using /sbin/lvextend command; but how to increased the / , /usr & /var.


Thanx & Regards

Walter Crasto
3 REPLIES 3
Sunil Sharma_1
Honored Contributor

Re: extend ROOT

There can be easiest way to do it is take ignote backup with interactive option and while restoring choose new desired size of File systems.
Or alternatively you can do this in single user mode.
boot m/c in single user mode using hpux -is option but root required contiguous block so you may require to do some more excercise so best is use Ignite option.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Michael Tully
Honored Contributor

Re: extend ROOT

You can only extend this logical volumes (/) using ignite. You first create a bootable ignite tape, boot from it, extend the size. The reason you can't do this with the standard commands is that / /stand and the primary swap partitions must be contiguous.
Y
ou can extend the others (/usr and /var) by booting your system into single-user mode and extend them that way.

Interrupt the boot sequence
Interact with ISL --> yes
from the ISL prompt
ISL>hpux -is

# lvextend -L /dev/vg00/lvol?
# extendfs /dev/vg00/rlvol?

# mount -a
# init 3 (or whatever your default run level is or press control-D)

You can get ignite from here:
http://www.software.hp.com/products/IUX/download.html

Documentation from here:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90767/B2355-90767.html

To cut a bootable interactive ignite tape
# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn

Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome"

Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: extend ROOT

There is no way to extend root / other than with the Ignite method.

root requires contiguous space and you only get a shot at that when you install or reinstall via Ignite.

If you have onlineJfs, you can extend /var any time you want.

If you don't have onlineJFS, you have to extend /var in single user mode.

Boot

Interupt the 10 Second prompt.

bo
Y Interact with the IPL
hpux -is

lvextend /dev/vg00/lvol# I think the # is 8 on a standard install.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com