- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MAXDSIZ doesn't change even after rebuilding kerne...
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
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
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
тАО11-09-2004 05:14 PM
тАО11-09-2004 05:14 PM
I need to change the maxdsiz parameter on a hpux 11i machine. I changed the parameters using kmtune command and reconfigured the kernel. After booting, still the value is displayed as 0X40000000 instead of 2039480320.
Can anybody point me to the right way of modifying. Also, can i specify in plain numbers or do i need to specify in 0x..... format ( btw - how to calculate this value ).
thanx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 05:27 PM
тАО11-09-2004 05:27 PM
Solutionmaxdsiz is a 32bit parameter. There is no point setting it to 2GB as the maximum segment you can have is only 1GB even if it allows. I believe you are interested in maxdsiz_64bit. I compile the kernel this way.
#cp /stand/system /stand/system.110904
#/usr/lbin/sysadm/system_prep -s /stand/system
(edit it and change the value)
#mk_kernel -o /stand/vmunix
#cp /stand/system /stand/build/system
#kmupdate
#shutdown -r now
Converting from hex to dec and vice versa is real easy. For ex., if you want to find out the dec value of a hex number do
printf "%x" 2039480320
To get the otherway
printf "%d" 0x40000000
But you can specify the value in decimal notation itself. If you don't put 0x, then it will understand it as decimal.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 05:44 PM
тАО11-09-2004 05:44 PM
Re: MAXDSIZ doesn't change even after rebuilding kernel
I specified it in Decimal format, i.e
kmtune -s maxdsiz=2039480320 -S /stand/build/system
but still, it reflects the old value.
I did the same steps that you specified.
Any inputs... or is it that if the value is greater than 1 GB it will not be applied ?
thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 06:06 PM
тАО11-09-2004 06:06 PM
Re: MAXDSIZ doesn't change even after rebuilding kernel
How did you specify the kernel file with your "mk_kernel" command?. It expects the default system file in /stand rather than /stand/build.
You can increase upto 4GB on 11i.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 06:12 PM
тАО11-09-2004 06:12 PM
Re: MAXDSIZ doesn't change even after rebuilding kernel
# kmtune -s maxdsiz=2039480320 -S /stand/build/system
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# /usr/sbin/mk_kernel -s system
# mv /stand/system /stand/system.prev
# mv /stand/vmunix /stand/vmunix.prev
# mv /stand/dlkm /stand/dlkm.vmunix.prev
# mv /stand/build/system /stand/system
# kmupdate /stand/build/vmunix_test
# shutdown -ry 0
In the above steps, the new system file is copied to /stand/system , but after the reboot the changes are not being displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 06:16 PM
тАО11-09-2004 06:16 PM
Re: MAXDSIZ doesn't change even after rebuilding kernel
Use sam and change value.
Rebuild kernel. If you have right system file you will get right kernel.
SAM will help you and point all changes in right system file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 06:19 PM
тАО11-09-2004 06:19 PM
Re: MAXDSIZ doesn't change even after rebuilding kernel
#cd /stand
#/usr/lbin/sysadm/system_prep -s system
#kmtune -s maxdsiz=2039480320 -S /stand/system (note the difference here)
#cp system build/system
#mk_kernel -o /stand/vmunix
#kmupdate
Don't move the files manually. mk_kernel runs kmupdate automatically and move it during the shutdown. (the second kmupdate is just redundant).
Try it again..
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 06:45 PM
тАО11-09-2004 06:45 PM
Re: MAXDSIZ doesn't change even after rebuilding kernel
It worked out.
Thanx a lot.
regds...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 06:47 PM
тАО11-09-2004 06:47 PM