- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removing filesystem swap
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
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
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
тАО05-21-2009 05:51 AM
тАО05-21-2009 05:51 AM
I was wondering if you guys could weigh in on removing filesystem swap (HP-UX 11.00). I'm cleaning up a box that hasn't been touched for a while, and I noticed that one of the local disks was used to create a vg & lv solely for a filsystem swap area. We don't need it, so I'd like to remove it and reclaim that disk. I've heard a couple different approaches to doing that, so I wanted to try and get some clarification beforehand.
The first option I've heard is to go through the normal steps of lvremove/vgremove, and reboot, to blow it away.
I've also heard that the only way to remove it is to comment out (or remove) the entry in the fstab and reboot. Would this be an issue at boot time though, since there's an entry in the lvmtab for this vg & disk?
There's also an option in SAM to 'remove' a swap area - anyone gone that route before?
Any input is appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:58 AM
тАО05-21-2009 05:58 AM
SolutionHTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:58 AM
тАО05-21-2009 05:58 AM
Re: removing filesystem swap
Comment-out or remove the 'fstab' entry for the secondary swap and reboot. This will deactivate the device swap in question. After you do this you are at liberty to 'lvremove' the logical volume. Then, if the parent volume group isn't needed anymore, you can 'vgexport' it to cleanup the volume group device files and the '/etc/lvmtab'.
On the latest 11.31 release, there is a new 'swapoff' facility which eliminates rebooting to deactivate secondary swap. Don't you wish you were there? :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:59 AM
тАО05-21-2009 05:59 AM
Re: removing filesystem swap
That would be the correct way to do it and no, you will not have an issue at boot time - it's just another VG to the system. Ultimately you may want to lvremove/vgremove in order to use the space for something else but first you've got to make it non-swap space.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 06:02 AM
тАО05-21-2009 06:02 AM
Re: removing filesystem swap
Haha... do I.
Thanks for the quick repsonses, guys - I really appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 06:03 AM
тАО05-21-2009 06:03 AM