- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Want to increase 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
07-13-2010 01:48 PM
07-13-2010 01:48 PM
Want to increase swap space
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16777216 0 16777216 0% 0 - 1 /dev/vg00/lvol2
reserve - 16777216 -16777216
memory 66971440 16067492 50903948 24%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2010 03:28 PM
07-13-2010 03:28 PM
Re: Want to increase swap space
Do you really need that much more swap?
>swap to 49M
That should be G?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2010 03:45 PM
07-13-2010 03:45 PM
Re: Want to increase swap space
> If I want to use the space on lvol2, do I need to remove the current swap and increase it?
You won't be able to expand 'lvol2' since primary swap requires contiguous logical volume physical extents. This doen't matter, tough, since a secondary device swap can be created and activated (with 'swapon') quite easily.
There are any number of threads in this forum that offer mechanistic details and preferences for configuring secondary device swap. Search and you shall be amply rewarded.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2010 10:25 PM
07-13-2010 10:25 PM
Re: Want to increase swap space
If you wnat to use it on lvol2 you should increase it.
Its a tough job as lvol2 should be contiguous.
There are methods to increase it, online and offline ( but risky as you will be playing with root disk)
As JRF said , you can have a secondary swap enabled easly. I think you must have configured your lvol2 as dump device also. You should always plan the size properly when you manage swap devices.
#swapinfo -tam will be helpful to give better suggetions.
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 01:31 AM
07-14-2010 01:31 AM
Re: Want to increase swap space
There are 2 ways to increase the swap space :
1. By SAM
SAM > Disk and File Systems > Swap > Actions
You can add the Device Swap or File System Swap. Check this document-ID : KBRC00002148 for document about 'how to increase system swap'
2. By command line
a. Create the logical volume for your secondary swap:
# lvcreate -L 128 /dev/vg14
NOTE: "-L 128" is the size of desired swap
b. Verify the logical volume:
# lvdisplay /dev/vg14/lvol15
c. Use SAM to declare your new secondary swap or use the command line:
# swapon /dev/vg14/lvol15
d. Verify it has been added in "/etc/fstab" when using SAM, or add it manually
when using the command line.
Example:
/dev/vg14/lvol15 . swap defaults 0 0
Check the below link for more details:
http://docs.hp.com/en/B2355-90950/ch06s03.html
Rgds-Kranti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 02:54 AM
07-14-2010 02:54 AM
Re: Want to increase swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2010 07:02 AM
07-14-2010 07:02 AM
Re: Want to increase swap space
You could just add file system swap as well.
- Just a thought.