Operating System - HP-UX
1834625 Members
3315 Online
110069 Solutions
New Discussion

Tried to increase space on root filesystem

 
David Heard
Occasional Advisor

Tried to increase space on root filesystem

I booted from tape and went through the steps to increase the space in root and after the restore their was ni increase? wHAT DID i FORGET TO DO....
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: Tried to increase space on root filesystem

Hi,

Make sure you booted from the same disk that you made changes on.

In a mirrored environment, this is the process I follow.

1. Reduce the mirror on disk B and vgreduce it from vg00.
2. Create an ignite tape.
3. Boot the system through ignite tape and make sure you restore the OS only on disk B. During the install, you can change the filesystem sizes.
4. If everything worked, extend the mirror to disk A.
5. If there is a problem, you could always boot from disk A as it is left untouched.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Shahul
Esteemed Contributor

Re: Tried to increase space on root filesystem


HI,

Could you explain how did you increase root filesystem? There are many ways to increase root file system, it's all varies according to your situation.

If you are using an ignite and restore, you should be able to change volume sizes while restoring. If you can allocate contigous space for root, the best way to increase is online, provided you have online JFS.

Good luck
Shahul
Todd McDaniel_1
Honored Contributor

Re: Tried to increase space on root filesystem

The most common step to forget is the actual extending of the Filesystem with extendfs or fsadm -F vxfs -b ...

After you lvextend the lvol, you should run extendfs if unmounted... to increase the size to the max size you allocated...


Look at the lvdisplay /dev/vg00/root or lvolX if you use that naming convention, and see if it is indeed the right size...I hope you remembered that it has to be contiguous...

Check the CURRENT LE and ALLOCATED PE sizes.. CURRENT LE should be half of ALLOCATED PE... or LV SIZE is 4x the CURRENT LE (ie 4mb extents times LE = MB of LVOL)

Did you get any errors upon completion?

Unix, the other white meat.
Steven E. Protter
Exalted Contributor

Re: Tried to increase space on root filesystem

Just to clarify:

root must be contiguous. You can't use lvchange and turn that off and have your system boot after.

What I think you did was do a make_tape_recovery (Ignite) backup and boot the system off the tape.

Then you intevened at the console with a keystroke, brought up the interactive ignite install and tried to make root bigger.

Right?

Possible problems under that scenario is not having enough disk space on the root disk, but Ignite is supposed to stop you from violating those rules.

So, I'm leaning toward mirroring. Problem is with Ignite 3.7, I increased the space of root on my rp5450 server booting off an Ignite make_tape_recvoery tape and managed to preserver mirroring.

There should be an ignite log out there, and I'll bet its somewhere in /var/ignite and has a sepcific error message or shows perhaps you did not instruct ignite to do what you think you told it to do.

Please check and advise.

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