- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Device Swap
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
07-06-2004 05:05 AM
07-06-2004 05:05 AM
Device Swap
I need space in vg00 and decide to remove lvol2. I comment the entry in /etc/fstab and then reboot the system, but after reboot i see the lvol2 again as swap device.
i know the system must have at least one device swap in vg00. but i want to lvol10 to be the device swap from the system.
What can i do to remove the lvol2 from vg00?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 05:17 AM
07-06-2004 05:17 AM
Re: Device Swap
Sam
Disks and Filesystems
Swap
Select the device you want to deactivate
Use actions off the menu to deactivate.
You will have to boot again but this time all the housekeeping will be done for you.
Do make sure swap is at least half of RAM or you may get some nasty error messages back from your system.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 05:21 AM
07-06-2004 05:21 AM
Re: Device Swap
that is the primary swap and i think it can not be removed like that. after all it needs to be contegeous along with boot & root. If u want to re-size, we will need to re-define the boot,swap etc
easy job is to get rid of lvol10
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 05:23 AM
07-06-2004 05:23 AM
Re: Device Swap
lvlnboot -R and check it with lvlnboot -v
Also you will have to tune kernel parameter maxswapchunks to reflect new swap area. (total swap space on system)
Reboot and your are done.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 05:42 AM
07-06-2004 05:42 AM
Re: Device Swap
Seems to me there was an old rule that said.." if a logical volume was to be used for root, primary swap, or dump, the physical extents must be contiguous."
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 06:13 AM
07-06-2004 06:13 AM
Re: Device Swap
Best to remove lvol10.
This is best done in SAM - and requires a reboot.
Put your lvol2 back in the fstab file.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 06:21 AM
07-06-2004 06:21 AM
Re: Device Swap
You cannot remove lvol2 as it is primary swap and is enabled by the 'lvlnboot' command not through /etc/fstab.
You can remove lvol10. Simply comment it out in /etc/fstab and reboot the system and then remove that LV.
If you have pseudo_swap on, then it is possible to reduce the primary swap also, but I wouldn't suggest that procedure as there is a good chance to mess up the system.
-Sri