Operating System - HP-UX
1832512 Members
4697 Online
110043 Solutions
New Discussion

Re: extending root filesystem w/ online jfs installed

 
Ricky_4
Frequent Advisor

extending root filesystem w/ online jfs installed

Hi All,

We can't extend my root filesystem but tmp filesystem was successfully extend. Have on line jfs installed and root filesystem is created using vxfs. At the same time, they are located on vg00. It prompts us no extent available but verifying using vgdisplay -v vg00 there are many extents available.

We will higly appreciate your replies.

Thanks in advance.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: extending root filesystem w/ online jfs installed

root filesystem MUST be contiguous.

Therefore since there is always another filesystem right after it on the disk, it can not be expanded, even in single user mode.

There is hope:

make_tape_recovery

boot off the tape

reboot, interupt at the console 10 second prompt

sea

Take the p-number from the sequential device.

bo P3

Interact with the IPL N

Interupt when prompted.

You will see an ignite isntall interface. This is where you can expand the root filesystem.

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
Michael Tully
Honored Contributor

Re: extending root filesystem w/ online jfs installed

You can't extend lvol1, 2 or 3 as these are contiguous volumes. In order words all extents must run in order. The only way to fix this problem is cut an ignite tape, boot from it, and effectively install /dev/vg00 from scratch.
Anyone for a Mutiny ?
Rajeev  Shukla
Honored Contributor

Re: extending root filesystem w/ online jfs installed

You can not extend lvol1 and lvol2 but yes you can extend lvol3 because lvol4 is home or other lvol, so what you could do is move the lvol4 to another disk if you have in the same Vg or take a backup of lvol4 and lvreduce lvol4 and then you could extend lvol3 coz you'll then get contigeous space. And once done you can then recreate lvol4, which will get located at other place in the same disk if it has free extents.

Or the other way is as others have suggested above.

Cheers
Rajeev
Thayanidhi
Honored Contributor

Re: extending root filesystem w/ online jfs installed

Hi,

It is possible! I am just missing the exact procedure.
When I was upgrading my 11.00 to 11.11 I was doing this.
The procedure available in update guide.

Basically what you need to do is make new contiguous swap
and make it as a primary swap. Then delete the primary swap.
Extend the lvaol1 and recreate swap.

Try with extreme cautions.

TT
Attitude (not aptitude) determines altitude.
Elmar P. Kolkman
Honored Contributor

Re: extending root filesystem w/ online jfs installed

You can do it runtime, as long as you have MIRROR-UX and an extra disk with enough available PE's.

Mirror the logical volume that is right behind your contiguous lvol onto that disk and then remove the 'old' physical volume from this lvol. This way, the PE's are free and your lvol can be extended.

To make sure which lvol is behind your root volume, use pvdisplay -v on your physical volumes in vg00.
Every problem has at least one solution. Only some solutions are harder to find.