- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding device swap
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
11-27-2000 07:34 AM
11-27-2000 07:34 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 07:38 AM
11-27-2000 07:38 AM
Re: Adding device swap
Just create a new lvol and add it to swap.
Possibly you have to increase kernel parameter maxswapchunks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 07:39 AM
11-27-2000 07:39 AM
Re: Adding device swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 07:44 AM
11-27-2000 07:44 AM
Re: Adding device swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2000 07:52 AM
11-27-2000 07:52 AM
Re: Adding device swap
1. Swap performance will be best if the size and priority of multiple swap devices is the same. Adding a second logical volume for swap to VG00 is quite appropriate.
2. To search the Forum, click "Search" on the left side of the ITRC Forum pages and choose "Community Forums" to search.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2000 12:11 AM
11-29-2000 12:11 AM
Re: Adding device swap
attain the best performance when the device swap areas are on different physical volumes (disks). This allows for the interleaving of I/O to the physical volumes when swapping occurs. You set up this swapping configuration by creating multiple logical volumes for swap, each logical volume on a separate disk. You ust use HP-UX commands to help you obtain this configuration; SAM does not allow you to create a logical volume on a specific disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2000 03:12 PM
11-29-2000 03:12 PM
Re: Adding device swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2000 06:44 PM
11-29-2000 06:44 PM
SolutionHi,DLH.
first of all , you may need to check the maxswapchunks system parameter which by default allows you to add you swap device at the size of 512MB, if you will config your swap bigger than that, you may need increase the parameter, by sam.
second, create a logical volume on the second PV which will be used as swap. As a primary swap device the LV must be continous area on a disk, but for secondary, no documentation indicates continous nessecity, your condition obviously is the secondary swap.
# lvcreate -n lvswap2 /dev/vgroot
# lvextend -L 200 /dev/vgroot/lvswap2 /dev/dsk/c1t0d0
# swapon /dev/vgroot/lvswap2
(Please read swapon man pages for details, also this will work)
then you should edit the /etc/fstab file to add an entry for the swap device:
/dev/vgroot/lvswap2 / swap defaults 0 0
this guarantee that after a system reboot the new swap device will be automatically swaped on.
use swapinfo to check the swap message, If it doesn't work, try a reboot.
hope this will work.
Good luck & regards.
thinphony