Operating System - HP-UX
1832311 Members
2306 Online
110041 Solutions
New Discussion

Increase swap by assign from new disk

 
torres_2
Occasional Contributor

Increase swap by assign from new disk

We need adding swap space from new disk,please provide the procedure.
3 REPLIES 3
Kapil Jha
Honored Contributor

Re: Increase swap by assign from new disk

https://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1258617760939+28353475&threadId=962784

Lots of thread on this in forum.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
torres_2
Occasional Contributor

Re: Increase swap by assign from new disk

thank you for advise.

Torres.
sujit kumar singh
Honored Contributor

Re: Increase swap by assign from new disk

Hi

ioscan the disk
pvcreate that one
add this to a VG or create a new VG using this PV using vgextend or vgreate
create an LV on that suing lvcreate : remeber that this has to be created as -C y -s y Option that is COntiguous and strict.

Add and entry for this LV in the /etc/fstab

like

/dev/VG_NAme/Swap_LV_Name ... swap defaults 0 0
then do

swapon /dev/VG_NAme/Swap_LV_Name
or
swapon -a

regards
sujit