- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove swap 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
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-01-2009 11:37 PM
06-01-2009 11:37 PM
How to remove swap swap space
In our system(/etc/fstab) swap information is as folllows:
dev/vg00/lv_swap1 ... swap pri=1 0 0
/dev/vg00/lv_swap2 ... swap pri=1 0 0
/dev/vg00/lvol_swap ... swap defaults 0 0
Now we don't want to use lv_swap1,lv_swap2 and lvol_swap as swap space.
So we need to first edit the /etc/fstab file and comment old swap entries(lv_swap1,lv_swap2,lvol_swap) then reboot the system.
My query is after reboot the system can we remove lv_swap1,lv_swap2 and lvol_swap using lvremove as we previously configured these LV as device swap to reclaim free space in vg00??
Thanks in advance
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2009 11:44 PM
06-01-2009 11:44 PM
Re: How to remove swap swap space
yes you could but,
you need specify a default dump+swap space.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2009 11:45 PM
06-01-2009 11:45 PM
Re: How to remove swap swap space
Also double check you primary swap space using lvlnboot -v for safer side.I belive you are intend to remove the primary swap
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2009 11:56 PM
06-01-2009 11:56 PM
Re: How to remove swap swap space
If you are running HP-UX 11.31 you can install the swapoff enhancement which will remove the need for you to reboot the system.
You can get swapoff here:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SwapoffEnh
regards,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2009 11:57 PM
06-01-2009 11:57 PM
Re: How to remove swap swap space
>>you need specify a default dump+swap space<<
From the above line you meant we need at least
one swap+dump device which we usually see
using "lvlnboot -v" command and this dump+device device usually /dev/vg00/lvol2.
Except(dump+device device usually /dev/vg00/lvol2) we can remove other lv that was previously configured as device swap??
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 12:02 AM
06-02-2009 12:02 AM
Re: How to remove swap swap space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 12:03 AM
06-02-2009 12:03 AM
Re: How to remove swap swap space
ok you can remove it after comment the entries in /etc/fstab
Dump will go to lvol2.
mikap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2009 12:25 AM
06-02-2009 12:25 AM
Re: How to remove swap swap space
Thanks
Minhaz