- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding 4GB swap in HP-UX 11.23
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
Discussions
Discussions
Forums
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
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-18-2010 02:18 AM
тАО07-18-2010 02:18 AM
Adding 4GB swap in HP-UX 11.23
Add 4GB swap as per request.
#lvcreate -C y -L 4093MB -n swap2 /dev/vg00 /dev/dsk/c2t1d0
#lvextend -m 1 /dev/vg00/swap2 /dev/dsk/c3t0d0
#swapon /dev/vg00/swap2
#Add the entries in /etc/fstab
/dev/vg00/swap2 ... swap pri=1 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2010 04:10 AM
тАО07-18-2010 04:10 AM
Re: Adding 4GB swap in HP-UX 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2010 04:12 AM
тАО07-18-2010 04:12 AM
Re: Adding 4GB swap in HP-UX 11.23
if the second swap is on the disk where is already the primary swap, you could have performance issue.
the best way is to create the ignite and restore in advanced mode of ignite, increase the primary swap space.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2010 09:51 PM
тАО07-18-2010 09:51 PM
Re: Adding 4GB swap in HP-UX 11.23
command has got syntax error .
and it should be
lvcreate -C y -L 4093 -n swap2 /dev/vg00 /dev/dsk/c2t1d0
Also consider create swap area in another VG for better performance ..
Regards!
johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2010 10:27 PM
тАО07-18-2010 10:27 PM
Re: Adding 4GB swap in HP-UX 11.23
I followed the same way but for new volume group not vg00. You can hit below commands it is successful in my production environment.
Add 4GB swap as per request.
#lvcreate -L 4093MB -n swap2
#lvextend -m 1 /dev/vg00/swap2 /dev/dsk/c3t0d0
#swapon /dev/vg00/swap2
#Add the entries in /etc/fstab
/dev/vg00/swap2 ... swap pri=1 0 0
Rgd's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2010 10:29 PM
тАО07-18-2010 10:29 PM
Re: Adding 4GB swap in HP-UX 11.23
Update this with previous entry as :
#lvcreate -L 4093 -n swap2
Rgd's