- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SwapSpace increase
Operating System - HP-UX
1753259
Members
4662
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО02-16-2006 05:30 PM
тАО02-16-2006 05:30 PM
Solution
Hi Mehul,
For obvious reasons, the steps you followed will fail because, ROOT ,SWAP/DUMP are supposed to be contiguous allocated logical volumes. Since root vol is lvol3 following the swap vol which is lvol2 it is quite defficult to extend the primary swap lvol2 even if it possible.
The Best solution is to leave the primary swap as it is and add some secondary swap to supplement the already configured priamry swap.
Please read on...
You can configure 2 type of secondary swaps..
1) Device swaps.
2) Filesystem swaps.
I would suggest Device swap to be hassle free and would advice you to go ahead with FS swap only if you do not have enough free extents to create an additional LV in VG00.
following are the commands
1) lvcreate -L vg00 (lets assume it would create /dev/vg00/lvol10)
2) issue the following command to enable the swap..
swapon /dev/vg00/lvol10
You can check whether a swap was added or not by issuing the command "swapinfo".
3) Now you need to make this swapon activity automatic to be done across boots by adding the follwoing line in the /etc/fstab file.
/dev/vg00/lvol10 - swap defaults 0 0
Regards,
Senthil Kumar .A
For obvious reasons, the steps you followed will fail because, ROOT ,SWAP/DUMP are supposed to be contiguous allocated logical volumes. Since root vol is lvol3 following the swap vol which is lvol2 it is quite defficult to extend the primary swap lvol2 even if it possible.
The Best solution is to leave the primary swap as it is and add some secondary swap to supplement the already configured priamry swap.
Please read on...
You can configure 2 type of secondary swaps..
1) Device swaps.
2) Filesystem swaps.
I would suggest Device swap to be hassle free and would advice you to go ahead with FS swap only if you do not have enough free extents to create an additional LV in VG00.
following are the commands
1) lvcreate -L
2) issue the following command to enable the swap..
swapon /dev/vg00/lvol10
You can check whether a swap was added or not by issuing the command "swapinfo".
3) Now you need to make this swapon activity automatic to be done across boots by adding the follwoing line in the /etc/fstab file.
/dev/vg00/lvol10 - swap defaults 0 0
Regards,
Senthil Kumar .A
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2006 06:30 PM
тАО02-16-2006 06:30 PM
Re: SwapSpace increase
this is command option. I prefer!
Device swap:
Device swap is faster than file system swap. Device swap resides in its own partition.
steps:
the following command creates a file system on a disk and reserves 200 megabytes
(MB) for swap:
#newfs -R 200 /dev/rdsk/c0t2d0
#swapon /dev/dsk/c0t2d0
File System Swap
File system swap is a form of secondary swap. It can be configured dynamically.
Steps:
#lvcreate -L 16 -n myswap /dev/vg01
#swapon /dev/vg01/myswap
Several kernel tunable parameters limit the amount of swap that can be made available.
├в ┬в The default maximum amount of swap space you can configure, for both device swap and
file system swap combined, is approximately 512 MB. The tunable system parameter,
maxswapchunks, controls this maximum. This parameter (default value of 256) limits the
number of swap space chunks. The default size of each chunk of swap space is 2 MB. The
size of a swapchunk can be modified with the swchunk kernel tunable parameter.
Device swap:
Device swap is faster than file system swap. Device swap resides in its own partition.
steps:
the following command creates a file system on a disk and reserves 200 megabytes
(MB) for swap:
#newfs -R 200 /dev/rdsk/c0t2d0
#swapon /dev/dsk/c0t2d0
File System Swap
File system swap is a form of secondary swap. It can be configured dynamically.
Steps:
#lvcreate -L 16 -n myswap /dev/vg01
#swapon /dev/vg01/myswap
Several kernel tunable parameters limit the amount of swap that can be made available.
├в ┬в The default maximum amount of swap space you can configure, for both device swap and
file system swap combined, is approximately 512 MB. The tunable system parameter,
maxswapchunks, controls this maximum. This parameter (default value of 256) limits the
number of swap space chunks. The default size of each chunk of swap space is 2 MB. The
size of a swapchunk can be modified with the swchunk kernel tunable parameter.
HP is simple
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 03:56 PM
тАО02-17-2006 03:56 PM
Re: SwapSpace increase
Thanks for all of you for kind support.
Problem has been resolved by creating new logical volume for new swap rather than adding to existing one.
Thanks once again all of you for updating my knowledge.
Regards,
Mehul
Problem has been resolved by creating new logical volume for new swap rather than adding to existing one.
Thanks once again all of you for updating my knowledge.
Regards,
Mehul
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP