- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Weird things happening when trying to add seco...
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
Forums
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
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
03-15-2004 04:28 PM
03-15-2004 04:28 PM
Weird things happening when trying to add secondary swap and dump!
I am in the process of setting up a secondary swap and dump device on HP-UX 10.20. I have increased maxswapchunks to its max value of 16384 to cater for future swap space which may be assigned.
For some reason, after issuing the swapon command i keep getting the message -
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add paging on device /dev/vg05/lvol1.
Below is the output of sysdef showing that after the kernel was rebuilt the new parameter was taken into effect:
#sysdef
maxswapchunks 16384 - 1-16384 -
/stand/system also reflects the above.
Given maxswapchunks is set to 16384 and swchunk is set to 2048 i believe the system should be able to cater for "approx" 33gigs of swap. So why does it keep saying maxswapchunks needs to be increased, when its already at its max?
Please help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2004 08:53 PM
03-15-2004 08:53 PM
Re: Weird things happening when trying to add secondary swap and dump!
http://www.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062903050
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 09:56 AM
03-16-2004 09:56 AM
Re: Weird things happening when trying to add secondary swap and dump!
dd if=/stand/vmunix of=/dev/vg05/lvol1 bs=128k
got the following output:
#dd if=/stand/vmunix of=/dev/vg05/lvol1 bs=128k
61+1 records in
61+1 records out
re-created the volume
#lvcreate -C y -n lvol1 -r n vg05
Logical volume "/dev/vg05/lvol1" has been successfully created with
character device "/dev/vg05/rlvol1".
Volume Group configuration for /dev/vg05 has been saved in /etc/lvmconf/vg05.conf
#lvextend -L 1048 /dev/vg05/lvol1
/dev/dsk/c0t9d0
Logical volume "/dev/vg05/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg05 has been saved in /etc/lvmconf/vg05.conf
I created the volume as strict/contiguous and with bad block allocation off as i want use this volume also as dump.
when i try to put swap on this volume:
#swapon /dev/vg05/lvol1
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add
paging on device /dev/vg05/lvol1.
tried with -f also to no avail
#swapon -f /dev/vg05/lvol1
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add
paging on device /dev/vg05/lvol1.
Really scratching my head here!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 10:29 AM
03-16-2004 10:29 AM
Re: Weird things happening when trying to add secondary swap and dump!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 10:37 AM
03-16-2004 10:37 AM
Re: Weird things happening when trying to add secondary swap and dump!
SAM gave the same error...
i ran the following command to see what the kernel thought maxswapchunks was set too.
#echo maxswapchunks/D | adb /stand/vmunix /dev/kmem
and it returned 16384 which is correct..
Very very interesting..... i believe its a bogus error message!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 04:27 PM
03-16-2004 04:27 PM
Re: Weird things happening when trying to add secondary swap and dump!
1) Nick, 10.20 is out of support. If you must use it, i suggest you have the latest patch set installed.
2) Check the docs and see if you are exceeding some hard limit in the kernel which I would not know about since i have little 10.20 experience.
3) If any of our posts have been useful, please consider asisgning my colleages points. I have enough thanks.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 04:37 PM
03-16-2004 04:37 PM
Re: Weird things happening when trying to add secondary swap and dump!
As HP-UX 10.20 is out of support by HP.
It is recommended to have the latest patch bundle installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2004 11:07 PM
03-16-2004 11:07 PM
Re: Weird things happening when trying to add secondary swap and dump!
However, please post the result of this adb command:
# echo 'maxswapchunks/D\nswchunk/D\nnswapdev/D\nswdevt/10X\n\n\n\n\n\n\n\n\n' | adb /stand/vmunix /dev/kmem
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 09:54 AM
03-17-2004 09:54 AM
Re: Weird things happening when trying to add secondary swap and dump!
Below is the output of the command requested:
echo 'maxswapchunks/D\nswchunk/D\nnswapdev/D\nswdevt/10X\n\n\n\n\n\n' |adb /stand/vmunix /dev/kmem
maxswapchunks:
maxswapchunks: 16384
swchunk:
swchunk: 2048
nswapdev:
nswapdev: 10
swdevt:
swdevt: 40000002 1 0 0xFA000
0xFA000 2C9BC 1 0
1F3 3F2280
swdevt+28: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
swdevt+50: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
swdevt+78: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
swdevt+0xA0: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
swdevt+0xC8: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
swdevt+0xF0: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
swdevt+118: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
swdevt+140: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
swdevt+168: 0xFFFFFFFF 0 0 0
0 0 0 0
0 0
I have found something interesting though.... the system allows me to place 500mb of swap on another lvol i created in /dev/vg05!!! but it doesn't let me use it on /dev/vg05/lvol1 ?????????
getting more and more interesting..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 10:01 AM
03-17-2004 10:01 AM
Re: Weird things happening when trying to add secondary swap and dump!
#swlist -l product |grep PHKL_26064
#swlist -l product |grep PHKL_26063
Have these patches been know to fix this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 10:01 AM
03-17-2004 10:01 AM
Re: Weird things happening when trying to add secondary swap and dump!
#swlist -l product |grep PHKL_26064
#swlist -l product |grep PHKL_26063
Have these patches been know to fix this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 10:38 AM
03-17-2004 10:38 AM
Re: Weird things happening when trying to add secondary swap and dump!
I removed that 500m volume i created for swap /dev/vg05/lswap2 restarted server to disable the swap, and then tried creating it again and it didn't let me do it anymore??? hmmmmmmmm
error:
#swapon -p 2 /dev/vg05/lswap2
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to add
paging on device /dev/vg05/lswap2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2004 11:15 PM
03-17-2004 11:15 PM
Re: Weird things happening when trying to add secondary swap and dump!
Anyway, it would be bad to waste more time for trouble-shooting and later on find out that it's an already fixed problem. So I urge you to patch this system first... if the customer needs to stay with 10.20 then patching is a must anyway. 'No disk space' is no argument against that.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 03:32 PM
03-18-2004 03:32 PM
Re: Weird things happening when trying to add secondary swap and dump!
I will put a business case forward to purchase new disk and bring the server to the latest patch level for HP-UX 10.20.
Will see how it goes after that!
thanx again.
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2004 07:32 PM
03-18-2004 07:32 PM
Re: Weird things happening when trying to add secondary swap and dump!
I see you are running the default of 2048 blocks. Increase yours to 4096 as a start (the limit is 65536 blocks).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2004 11:16 AM
03-19-2004 11:16 AM
Re: Weird things happening when trying to add secondary swap and dump!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2004 12:11 PM
03-21-2004 12:11 PM
Re: Weird things happening when trying to add secondary swap and dump!
Will let you guys know how it goes...
thanks again.