- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add more 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
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
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-16-2008 10:11 PM
тАО11-16-2008 10:11 PM
Add more Swap space
I have some cuestion about Swap in hpux 11i v3.
1. Can create swap space from SAM o the new tools SMH i guest
2. If the first question its negative, someone know the procedure.
3. its posible active the swap space now y next boot , how to !!!
Tks allot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2008 10:23 PM
тАО11-16-2008 10:23 PM
Re: Add more Swap space
Create a logical volume (Make sure you have atleast 4 GB of space in any volume group)
Follow as example :-
#lvcreate -n swap -L 4000 vg01
Edit /etc/fstab and place the entry
/dev/vg01/swap ... swap pri=0 0 0
#swapon -a
#swapinfo -t
and make sure you have the swap listed.
Easy by command line also .. :)
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2008 11:24 PM
тАО11-16-2008 11:24 PM
Re: Add more Swap space
Use SAM to create additional swap if you are not comfortable with command line. Follow the below steps.
Findout which volumegroup(VG) is having enough free space using vgdisplay command.
For VG01 use the following command. Look at the values of Free PE and PE size.
PE size*No of Free PE├в s is the space available on that VG
#vgdisplay /dev/vg01
Create the logical volume for your secondary swap.
#lvcreate -L 8000 -n swap -C y -r n /dev/vg01 ->Here the size is 8GB
Note the above commad. It should be contigious( -C y), bad block reallocation off(-r n). Once you created the logical volume use SAM to configure it.
#sam
Disks And File Systems
Swap
Actions ->Add Device Swap
Using the Logical Volume Manager
Select the lvol from the list of Unused Logical Volumes
/dev/vg01/swap
select:
When to Enable
[X] Now
[X] At Every System Boot
OK
Then system will rebuilt the kernel and reboot the system.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2008 11:31 PM
тАО11-16-2008 11:31 PM
Re: Add more Swap space
http://docs.hp.com/en/B2355-90950/ch06s03.html
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2008 11:52 PM
тАО11-16-2008 11:52 PM
Re: Add more Swap space
lvlnboot - prepare LVM logical volume to be root, boot, primary swap,
or dump volume
SYNOPSIS
/usr/sbin/lvlnboot [[-A autobackup]
{ -b boot_lv | -d dump_lv | -r root_lv | -R | -s swap_lv }]
[-v] [vg_name]