Operating System - HP-UX
1836372 Members
2795 Online
110100 Solutions
New Discussion

Re: Could not see primary swap on the system.

 
SOLVED
Go to solution
lafargeadmin
Advisor

Could not see primary swap on the system.

I see the primary swap got configured from lvlnboot output. But from swapinfo command, the primary swap lvol does not show.

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
Dump: lvol2 on: /dev/dsk/c1t6d0, 0

# swapinfo -tm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 17360 1401 15959 8% 0 - 1 /dev/vg01/lvol1
reserve - 7718 -7718
memory 6456 6456 0 100%
total 23816 15575 8241 65% - 0 -

I believe /dev/vg01/lvol1 is a sec dev swap.

/dev/vg00/lvol2 - does not show in the swapinfo out.

Need help...
7 REPLIES 7
Senthil Kumar .A_1
Honored Contributor

Re: Could not see primary swap on the system.

Hi,

lvlnboot -R
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1

After the above commands are run, please reboot the system.

SK
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
lafargeadmin
Advisor

Re: Could not see primary swap on the system.

Hi Senthil,

Sorry for the delay, actually I was waiting for downtime to do the steps you have given.

I tried with the steps but still no luck.
Wim Rombauts
Honored Contributor
Solution

Re: Could not see primary swap on the system.

What if you start SAM, go to swap devices and add the device you think should be the primary swap (again) as primary swap ?

Indeed, the device you see in swapinfo output can only be a secondary swap device.
lafargeadmin
Advisor

Re: Could not see primary swap on the system.

I this steps required to write into kernel and need reboot.

I will try this for the next downtime.

points later...
lafargeadmin
Advisor

Re: Could not see primary swap on the system.

This steps required to write into kernel and need reboot.

I will try this for the next downtime.

points later...
lafargeadmin
Advisor

Re: Could not see primary swap on the system.

Hi Wim,

Your method works fine.
Issue resolved.
Thanks for your assistance

lafargeadmin
Advisor

Re: Could not see primary swap on the system.

Thanks again