- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is it possible to add more swap space on a running...
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
09-16-2001 09:46 PM
09-16-2001 09:46 PM
1. How did I add more swap space
2. Can I do it on a running workstation.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2001 10:05 PM
09-16-2001 10:05 PM
SolutionHave a look at this thread,
http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html
Look for
Administering a System: Managing Disks and Files --> Managing Swap and Dump
This may answer all the queries you may have about swap addition and modification.
Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2001 10:12 PM
09-16-2001 10:12 PM
Re: Is it possible to add more swap space on a running workstation
You can do this as long as you have sufficient
disk space that can be utilised.
To check how much space you have and if your
using LVM do this. I am assuming you have only
one disk and your volume group is vg00
# vgdisplay /dev/vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 4
Total PE 8680
Alloc PE 3242
Free PE 5438
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
So from this output on my system I have 5438 extents @ 4Mb, so I have 21752Mb available..
To create the extra swap of 512Mb do this:
# lvcreate -n swap2 /dev/vgXX
# lvextend -L 512 /dev/vgXX/swap2
# swapon /dev/vgXX/swap2
Add an entry like this to your /etc/fstab file
/dev/vg00/swap2 ... swap pri=1 0 0
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2001 10:20 PM
09-16-2001 10:20 PM
Re: Is it possible to add more swap space on a running workstation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 01:04 AM
09-17-2001 01:04 AM
Re: Is it possible to add more swap space on a running workstation
In addition to having space on the disks, you also need to make sure that the kernel can handle the additional swap. There is a kernel parameters, maxswapchunks, which determines the max amount of swap allowable on the system. Take this number and multiply by 2048Mb. This is the max allowable swap space. If the space you're planning to add exceeds this value, you'll have to increase this value and incur a reboot.
-Santosh