Operating System - HP-UX
1833717 Members
2758 Online
110063 Solutions
New Discussion

Re: How to extend root file system on HP-UX 11.0

 
Jian Zuo
Occasional Contributor

How to extend root file system on HP-UX 11.0

How to extend root file system on HP-UX 11.0,thanks
3 REPLIES 3
Elmar P. Kolkman
Honored Contributor

Re: How to extend root file system on HP-UX 11.0

Enlarging the root filesystem can only be done safely using ignite. There are ways around this, but these are very tricky and risky.

But first make sure you really need to enlarge the root filesystem. Normally the root filesystem only contains mountpoints and configuration files (/etc), nothing more. Perhaps you need to cleanup some things, like /etc/rc.log...
Every problem has at least one solution. Only some solutions are harder to find.
Simon Hargrave
Honored Contributor

Re: How to extend root file system on HP-UX 11.0

Because /stand, / and swap have to be sequential and contiguous on the root volume group, you cannot extend the filesystem in situ. The only way to extend it is to rebuild it using an ignite recovery tape. The procedure basically is as follows: -

- Install Ignite-UX if you haven't already (which you should have really!)
- Perform a make_tape_recovery of vg00.
- Boot off the recovery tape, specifying larger filesystems as required.
- Let the tape restore.
- Re-establish your mirrors, if you user MirrorDisk/UX, as Ignite will not recover these.

As a fallback, if you do use MirrorDisk/UX, you can also remove the primary disk from the mirror set, leaving only the mirror disk. Then your ignite recovers over the primary. If for some reason something goes wrong, you can re-boot from the "mirror" disk which has your old system, and mirror that back to revert to as-before configuration.
SYS ADMIN_7
Advisor

Re: How to extend root file system on HP-UX 11.0

Hi Jian

The only way I think to extend the root fs is to Take the ignite backup and then reinstalling again..

take ignite backup as follows

make_tape_recovery -AI -a < tape drive path>
-x inc_entire=vg00
This will create bootable tape with all the data from vg00.
Then boot from the tape drive and do the changes as required for the file system.

Rgds
Suraj