1836453 Members
2733 Online
110101 Solutions
New Discussion

Re: primary Swap

 
SOLVED
Go to solution
Jordi Markus_1
Occasional Contributor

primary Swap

hi
my server with hpux 11i was delivered with a smal swap LV. I tried to increase this value but it doesn't work cause of non contigous disk space. then I create a new LV with the required disk space and defined them to the new swap space. then I delete the "old" swap space lvol2. Now I would like the make a second mirroring of the original disk. But it doesn't work cause of missing primary swap. what should I do?
5 REPLIES 5
Ingo Duschl
Frequent Advisor

Re: primary Swap

hello, would have been better not to delete the "old"swap and to add some additional swap space.;-) can you only mirror the new swap or define the new as primary swap.?!
we got the swap and only the swap on two separate mirrored disks.
Leif Halvarsson_2
Honored Contributor

Re: primary Swap

Hi,
Have you tried the command
lvlnboot -s /dev/vg00/
Borislav Perkov
Respected Contributor

Re: primary Swap

Hi Jordi,

You need to make IgniteUX make_tape_recovery.
Than boot from the tape. Interupt the booting and go to advanced mode. There you can change the swap space to the value you want to.

Here are the steps how you can do it:

1. Make recovery tape with -I option and including vg00.
2. To be sure make a copy of the tape to another tape.
3. shutdown the server
4. Start the server and interupt the boot
6. Insert the tape
7. Put SEA command ang wait for possible boot devices
8. enter command
boot P?
? - is appropriet number of tape device
9. Answer N for IPL
10. Wait until it boots and the user interface is shown
11. Select HP-UX-inatallation
12. If you want to change the filesystem size check the advanced mode -> go to Filesystem tab and change the value for lvol2

After all it will start installation on the system and it will reboot by the istallation proces.
Regards,
Borislav
Trond Haugen
Honored Contributor
Solution

Re: primary Swap

Are you sure you needed more swap in the first place? swapinfo -tam will give you information about swap USAGE.
You could have just added a secondary swap and keept the primary. But lvlnboot -s /dev/vg00/ should fix that.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Jordi Markus_1
Occasional Contributor

Re: primary Swap

Hi
I recreated the old primary swap lvol2 with only 1024 MB. the other lvol11 is a second swap device with 4 Gb.

I tried to make a second mirror disk from all logical volumes on vg00. It should be also a bootable disk. on the attachment you will see the lvlnboot -v output. I thing the third disk (/dev/dsk/c3t2d0) is not ready to be a bootable disk.
What you mean?