Operating System - HP-UX
1836612 Members
3909 Online
110102 Solutions
New Discussion

Re: Creating new root volume

 
SOLVED
Go to solution
David G. Douthitt
Regular Advisor

Creating new root volume

I have (I thought) completed all the tasks that are usually recommended to create a new root volume on an Integrity server. I started with an apparently preconfigured EFI-partitioned disk, and set about to create all of the LVM structures and boot parameters.

I used lvlnboot to set things right, copied the efi data, created root and swap in the right places with strict allocation and no block relocation - and compared the logical volumes with the working boot disk in the system.

Booting with the new disk, EFI reports no HPUX file system found in partition 2 (!) whereas I can mount every filesystem there in HPUX, and I can utilize the swap created there.

Every check inside HPUX seems to come up clean; it's just the EFI boot process that fails (is THAT all?!).

The goal is to increase the primary swap partition size.

Should I really start this over from scratch or is this recoverable somehow?
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: Creating new root volume

Shalom,

I create a new root volume by making a make_tape_recovery or make_net_recovery of the root volume group.

I then restore that volume intervening at the Ignite prompt to alter filesystem and swap sizes.

IF all you want is more swap, just add a secondary swap area and save yourself some hard work.

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
James R. Ferguson
Acclaimed Contributor

Re: Creating new root volume

Hi David:

Perhaps Appendix-A of:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

...will guide you. I'd start over.

Regards!

...JRF...
David G. Douthitt
Regular Advisor

Re: Creating new root volume

I already added secondary swap (on the same disk) but am thinking that this is less than optimal. I currently have 8G primary + 24G secondary and am trying to combine them together onto a single volume.
James R. Ferguson
Acclaimed Contributor
Solution

Re: Creating new root volume

Hi (again):

> I currently have 8G primary + 24G secondary and am trying to combine them together onto a single volume.

Why? There is no need to do this. A secondary device swap is just as good as a primary one. If the two swap devices are on the SAME physical volume (vg00), then make the swap priority of the secondary swap different than that of the primary. SHould you ever actually do I/O to the devices, interleaving equal priority swap devices would cause disk head movement between to the detriment of your already degraded performance!

Regards!

...JRF...
David G. Douthitt
Regular Advisor

Re: Creating new root volume

Changing the priority of the swap devices is an excellent idea! Thanks!

You answered the question behind the question :-)
David G. Douthitt
Regular Advisor

Re: Creating new root volume

The final answer is that there is no reason not to stick with primary and secondary swap; the speed degredation is answered by a change in priority.
Torsten.
Acclaimed Contributor

Re: Creating new root volume

Hi David,

"create a new root volume" - did you mirror the disk?

This is not clear to me.

Please clarify.

You can easily do wrong steps while mirroring ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!