1847986 Members
6985 Online
104022 Solutions
New Discussion

Re: swapon problem

 
amit singh_3
Advisor

swapon problem

hey ,
I have fired swapon command & it giving me following error.

#lvcreate -L 2M -n testme /dev/vg00
#swapon /dev/vg00/testme;echo $?
Swapon:The kernel tunable parameter
"maxswapchunks" needs to be increased to add.
Paging on device /dev/vgoo/testme.
1
but the following command is working,

# swapon -p 4 -l 1M /home Why?

pls help me......

Amit singh
3 REPLIES 3
Paula J Frazer-Campbell
Honored Contributor

Re: swapon problem

Hi

This should help:-

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=143962


Paula
If you can spell SysAdmin then you is one - anon
donne007
Regular Advisor

Re: swapon problem

Hi
Try Recreating the lvol firts, then increase the maxswapchumks to max 16 Gb .. this shouwld work hope fully

Good Luck
Asif
Steven E. Protter
Exalted Contributor

Re: swapon problem

For someone that seems new, forgive me if I'm wrong, try sam kernel configurable parameters to change the swapchunks as recommened in the prior posts.

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