- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- procedures to 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
01-12-2004 10:02 AM
01-12-2004 10:02 AM
procedures to add swap space
on a running server?
Thanks.
Wei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 10:18 AM
01-12-2004 10:18 AM
Re: procedures to add swap space
You then edit /etc/fstab and make an entry for the new swap space. You then simply issue a swapon -a command and the new swap space will be added. Man 1m swapon for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 10:45 AM
01-12-2004 10:45 AM
Re: procedures to add swap space
# lvcreate -n swap1 /dev/myvg
# lvextend -L 1024 /dev/myvg/swap1
# swapon /dev/myvg/swap1
As suggested make sure your 'maxswapchunks' are big enough.
You can also use SAM to do this task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 10:53 AM
01-12-2004 10:53 AM
Re: procedures to add swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 11:15 AM
01-12-2004 11:15 AM
Re: procedures to add swap space
/dev/myvg/swap1 ... swap pri=1 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 05:35 PM
01-12-2004 05:35 PM
Re: procedures to add swap space
You cann't extend ur current swap logical volume
because it is cotinous space
but you can add the other swap device like ur logical volume or the directory
create the logical volume
use the raw logical volume for the better performance
swapon /dev/vgxx/rlvolx
swapon /<
And put the entry in /etc/fstab file to enable at boot of the system
Thanx & Regards,
Suresh Patoria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 05:36 PM
01-12-2004 05:36 PM
Re: procedures to add swap space
You can check the status of the swap memory using the swapinfo -tm command
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 05:43 PM
01-12-2004 05:43 PM
Re: procedures to add swap space
#lvcreate -L
#swapon -s /dev/vgxx/swap1
make entry in /etc/fstab
/dev/vgxx/swap1 ... swap p=0 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 09:54 PM
01-12-2004 09:54 PM
Re: procedures to add swap space
Like the others have mentioned.
create an lvol and activate swap on this lvol with the swapon command. Add this info in /etc/lvmtab.
You need to check a few things first.
1. The maxswapchunks parameter.. e.g. do you have free chunks to anable in your kernel.
2. Is your disk/lvol ever userd before. if so use the swapon -f flagg check man swapon)
3. Prio. Use this to loadbalance.
HTH,
Gideon