1834944 Members
2146 Online
110071 Solutions
New Discussion

swap problem

 
Kiyoung
Advisor

swap problem

I'm using HP-UX 10.20.(HDD 2G, Physical memory :128M, Swap :256Mb)
I have some trouble.

Swap area disappeared.
I tried to view swap information by SAM and swapinfo, but there is no primary swap.
Swapinfo command does not show any information about swap.

I tried to recover swap by sam, but I can't.

How can I recover swap area?
3 REPLIES 3
Shahul
Esteemed Contributor

Re: swap problem

Hi

How come it is possible? Is ur swap lvol is there? check up by using

#vgdisplay -v /dev/vg00 |pg

I hope Ur lvol is there. Then check up by using

#lvlnboot -v

Now it should list root, boot, and swap. If swap is missing then follow these

#lvlnboot -b /dev/vg00/bootvol
#lvlnboot -s /dev/vg00/rootvol
#lvlnboot -r /dev/vg00/rootvol
#lvlnboot -d /dev/vg00/dumbvol
#lvlnboot -R

Now check up by using swapinfo command.

I hope ur problem will be solved now

Best of luck

Shahul
Kiyoung
Advisor

Re: swap problem

additional information : Non LVM 2G HDD
Manju Kampli
Trusted Contributor

Re: swap problem

use swapinfo -t command which will show total swap on the system including LVM and Psudo swap .. I am not sure whether this command show Non LVM swap .. for this you can check in /etc/fstab file and see whether the swap is enabled on this non LVM disk
Hope This helps
Manju
Never stop "LEARNING"