- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: To remove secondary 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
тАО03-20-2009 09:27 PM
тАО03-20-2009 09:27 PM
I want to remove secondary swap on our hpunix 11.23(ia) server.Please share the procedure.
I have attached swapinfo output.
Is it possiple to remove secondary swap without reboot ?
Regards,
Suresh.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 09:38 PM
тАО03-20-2009 09:38 PM
Re: To remove secondary swap
Plz check the below link, hope it will help you.
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1237613836769+28353475&threadId=1143372
Thnx...Farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 09:53 PM
тАО03-20-2009 09:53 PM
Re: To remove secondary swap
To my knowledge we have to perform below steps:
- First remove the entry in "/etc/fstab" for "/dev/vgswap/swaplv"
- Reboot the server in order to remove this swap.
So by this way, reboot is necessary.
Thanks,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 10:31 PM
тАО03-20-2009 10:31 PM
Re: To remove secondary swap
1) Comment out, or delete, the /dev/vg00/u0swap line in /etc/fstab
2) Reboot the machine. Upon reboot that swap area won't be mounted.
Swap can NOT be deleted without rebooting the machine. If this is something you wanted to accomplis without a reboot, then I'm sorry to tell you that you can't do it. A reboot will be required!
removing swap would require a system reboot
Good Luck !
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 12:00 AM
тАО03-21-2009 12:00 AM
Re: To remove secondary swap
Can u post the output of below command.
#more /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 01:12 AM
тАО03-21-2009 01:12 AM
Re: To remove secondary swap
11iv3 (11.31) introduced the swapoff command, so it can be done without a reboot in the latest version of the OS.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 01:17 AM
тАО03-21-2009 01:17 AM
Solutionswapoff ?? , I couldn`t find it on hpux 11.31.0803.Could you advice me .
fyi :-
# uname -a
HP-UX cmcrxsvr B.11.31 U ia64 3902920412 unlimited-user license
# swlist |grep -i oe
HPUX11i-DC-OE B.11.31.0803 HP-UX Data Center Operating Environment
# whereis swapoff
swapoff:
#
Thanks ,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 01:18 AM
тАО03-21-2009 01:18 AM
Re: To remove secondary swap
If u got the solution, then plz go ahead and assign the points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 01:21 AM
тАО03-21-2009 01:21 AM
Re: To remove secondary swap
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SwapoffEnh
Thanks,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2009 02:00 AM
тАО03-21-2009 02:00 AM
Re: To remove secondary swap
Pls find fstab output.
root@app1#more /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvdb2 /db2 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
/dev/vgswap/swaplv ... swap pri=0 0 0
Regards,
Suresh