- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add swap space
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
10-04-2005 07:23 PM
10-04-2005 07:23 PM
Add swap space
thanks for your advise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 07:32 PM
10-04-2005 07:32 PM
Re: Add swap space
lvcreate -L "xxM" -C y -r n /dev/vgxx
swapon -p "same_priority_as_primary_swap" /dev/vgxx/lvolx
(Same priority gives advantage of round robin swapping and is helpful)
Update /etc/fstab as follows.
/dev/vgxx/lvolx . swap pri=x 0 0
Depending upon your maxswapchunks settings, you may need to tune it to reflect additional space configured for swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 07:38 PM
10-04-2005 07:38 PM
Re: Add swap space
#lvcreate -L 16M -n myswap /dev/vg01 (swap size is 16MB)
Add swap as,
#swapon /dev/vg01/myswap
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 07:38 PM
10-04-2005 07:38 PM
Re: Add swap space
http://docs.hp.com/en/B2355-90672/ch06s03.html
[HP-UX System Administration Tasks > Chapter 6. Managing Swap Space and Dump Areas
Designing Your Swap Space Allocation]
http://docs.hp.com/en/B2355-90672/ch06s04.html?btnNext=next%A0%BB
[Adding, Modifying, or Removing Device Swap]
# man swapon will also help
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2005 07:41 PM
10-04-2005 07:41 PM
Re: Add swap space
User "swapon -f".
-f - very important, forces swapon to use the whole logical volume, because if there once a filesystem and lvol, it will recognize it and use the space that left after the FS.
I had this thing once and eventually had to reboot the machine to get rid of 12MB swap. Well, learned my lesson.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 01:07 AM
10-05-2005 01:07 AM