- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swapon: The kernel tunable parameter "swchunk"...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2013 08:15 PM
04-03-2013 08:15 PM
swapon: The kernel tunable parameter "swchunk" needs to be increased
Hi Team,
My OS is 11.23
I tried to create one swap. When i am trying to do swapon -a i am getting the below error
The entry which i give in /etc/fstab is
/dev/vgtest/lvol1 ... swap pri=1 0 0
Command used for creating the swap is
swapon -f /dev/vgtest/lvol1
[6]> swapon -a
Enabling device paging on /dev/vgtest/lvol1.
swapon: The kernel tunable parameter "swchunk" needs to be increased to add
paging on device /dev/vgtest/lvol1.
Then i increased swchunk to maximum vaule
[5]> kctune swchunk
Tunable Value Expression
swchunk 65536 65536
Then i rebooted the machine . after this also i am not able add the swap.
Could you please help me on this
Regards
- Tags:
- swapon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2013 09:40 AM
04-04-2013 09:40 AM
Re: swapon: The kernel tunable parameter "swchunk" needs to be increased
>>Then i rebooted the machine . after this also i am not able add the swap.
How much swap are you trying to add? What is the exact 'swapon' command you are using? What is the exact error message you now receive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2013 05:09 PM
04-04-2013 05:09 PM
Re: swapon: The kernel tunable parameter "swchunk" needs to be increased
Hi Patrick,
I am trying to add a swap of 4GB. Existing swap space is 8GB
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvol2
reserve - 756 -756
memory 8161 1695 6466 21%
total 16353 2451 13902 15% - 0 -
[3]> lvdisplay /dev/vgtest/lvol1 =====> this is the LV i tried to add for swap
--- Logical volumes ---
LV Name /dev/vgtest/lvol1
VG Name /dev/vgtest
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
The below error i got from rc.log
Enable auxiliary swap space
Output from "/sbin/rc1.d/S500swap_start start":
----------------------------
Enabling device paging on /dev/vgtest/lvol1.
/usr/sbin/swapon: The kernel tunable parameter "swchunk" needs to be increased to add
paging on device /dev/vgtest/lvol1.
Warning: swapon returned exit code: 1
"/sbin/rc1.d/S500swap_start start" FAILED
The same swchunk error i got while i was doing the below command
[5]> swapon /dev/vgtest/lvol1
swapon: The kernel tunable parameter "swchunk" needs to be increased to add
paging on device /dev/vgtest/lvol1.
hpuxsg8:[opsroot]/u01/ltd/opsroot
[6]>
Regards