- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap increase
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
06-28-2006 12:40 AM
06-28-2006 12:40 AM
swap increase
# swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 3031 1065 74% 0 - 1 /dev/vg00/lvol2
dev 8192 3144 5048 38% 0 - 1 /dev/vg00/lvswap
reserve - 6113 -6113
memory 19248 12554 6694 65%
total 31536 24842 6694 79% - 0 -
How would i accomplish this?
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 12:46 AM
06-28-2006 12:46 AM
Re: swap increase
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=905832
Regards,
jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 12:47 AM
06-28-2006 12:47 AM
Re: swap increase
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 12:48 AM
06-28-2006 12:48 AM
Re: swap increase
see
'man 1m lvlnboot'
but I prefer to use SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 12:58 AM
06-28-2006 12:58 AM
Re: swap increase
From your swapinfo it seems you have 2 swap devices 4 Gb and 8 GB and also have pseudo swap enabled (kernel parameter swapmem_on = 1).
Now If you are asking to have 18G of total swap space or 18GB of physical disk swap space ?
If your answer is 18 GB of swap space [ need not be physical ] then you already have around 31 GB swap space.
If you are asking for 18 GB physical swap space, then you need to add additional of 6 GB physical disk swap space.
For this
1. Determine which volume group you will have your swap space and keep in mind that swap volume needs contiguous disk space.Also you should have swap volume mirrored. So while selecting Volume group you need to have atleast 2 seperate physical disks having 6 GB contiguous space available on each disk.
2. Create lvol for swap
lvcreate -L 6144 -n swap3 -C y -r n /dev/vgname
3. Mirror the swap vol
lvextend -m 1 -s y /dev/vgname/swap3 pv_path
[ pv_path is disk name of the disk which will have the mirror of swap volume]
4. Add entry in /etc/fstab
/dev/vgname/swap3 swap swap defaults 0 0
5. swapon -a
Thats it.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:14 PM
06-28-2006 08:14 PM
Re: swap increase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 08:22 PM
06-28-2006 08:22 PM
Re: swap increase
Create another 6GB lvol , and add this lvol as a swap device.
i] lvcreate ( 6GBlvol say=lvol10 )
ii] add the swap entry in fstab :
/dev/vg00/lvol10 ... swap pri=0 0 0
iii] swapon -a
iv] check ,
# swapinfo -tam
# vmstat 5 20
[ pi/po values should not be non-zero , non-zero value indicates large swapping]
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 11:44 PM
06-28-2006 11:44 PM
Re: swap increase
#sam
>disk and file systems>Swap
than Action>Add device swap or Add file system swap
if you wanna extend lvol2 at sam menu;
>disk and file systems>Logical volumes
mark the lvol2 by space key.
Action>Modify and tick the Use Contiguous Allocation.
Action>Increase size
regards;
mustafa