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
09-14-2005 06:17 PM
09-14-2005 06:17 PM
Is it possible to grow a swap lvol online?
Just by "lvextend -L XXXX /dev/vg01/lvolY"?
Or I must create a new lvol and run swapon?
Thanx,
Max.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 06:23 PM
09-14-2005 06:23 PM
Re: swap
If you are using logical volumes, you may want to first attempt to extend the disk space allocated for the primary swap logical volume using the lvextend command or SAM. However, you will only succeed if disk space (physical extents) contiguous with the existing swap space is still available, which is unlikely. You must reboot the system for the changes to take effect.
If contiguous disk space is not available, you will need to create a new contiguous logical volume for primary swap within the root volume group, the volume group that contains the root logical volume.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 06:24 PM
09-14-2005 06:24 PM
SolutionCreate a new lvol on seperate disk (seperate than primary swap disk)
lvcreate -L 512 -C y -r n -n devswap /dev/vg01
swapon /dev/vg01/devswap
Edit fstab file.
/dev/vg01/devswap â ¦ swap pri=2 0 0
Priority if set at same as that of primary swap, swapping is done is round robin fashion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 06:25 PM
09-14-2005 06:25 PM
Re: swap
If your system is installed with OnlineJFS, you can increase swap lvol online using
# fsadm -b
Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 06:26 PM
09-14-2005 06:26 PM
Re: swap
The swap need a contigous file system, so the best way is the create a new lvol and run swapon.
Check the document below (docID : KBRC00008533) for your reference about 'Increase swap size - Create a secondary swap' :
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080021750
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 06:28 PM
09-14-2005 06:28 PM
Re: swap
"Two swap areas on different disks perform better than one swap area with the equivalent amount of space. This allows interleaved swapping which means the swap areas are written to concurrently, minimizing disk head movement, thus enhancing performance."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 06:31 PM
09-14-2005 06:31 PM
Re: swap
Yes it is very much possible to grow the swap lvol online if u are having online JFS.
But I Will not recommand to go for extending the existing swap partion, as system crash chances are there.
so the best option is U can increase the swap size by creating a secoundry swap partion & activate it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 06:41 PM
09-14-2005 06:41 PM
Re: swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 07:32 PM
09-14-2005 07:32 PM
Re: swap
I know that it is better to create a new swap lvol. I just want to know if it's possible to grow the swap lvol online.
The swap lvol that I want to increase is a secondary swap device. I created it using "lvcreate -L XXXX /dev/vg01/lvolY" (without -C). There is no filesystem on it.
Some of you, said that it is possible, and some of you said that it's not.
So, is it or is it not?
Max.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 07:36 PM
09-14-2005 07:36 PM
Re: swap
Therefore, it is hard to say you can extend it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2005 07:59 PM
09-14-2005 07:59 PM
Re: swap
-Arun