- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Relocating Primary 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
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-17-2007 09:19 PM
09-17-2007 09:19 PM
Relocating Primary Swap
What I thought I would do was to create another Primary Swap area on the second disk then delete the original one.
I have created /vg01 on my second disk (and have made it bootable), and also created logical volume /vg01/lvol1. When I try to run lvlnboot -s /dev/vg01/lvol1, it returns:
"lvlnboot: A Root Logical Volume must be assigned before a Dump or Swap logical volume can be assigned"
I'me not quite sure where to go from here - any suggestions would be much appreciated.
Thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 09:23 PM
09-17-2007 09:23 PM
Re: Relocating Primary Swap
are you not planning to use it as root device? the lvlnboot -r option will define the root lv on this /dev/vg01/lvol1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 09:26 PM
09-17-2007 09:26 PM
Re: Relocating Primary Swap
don't think you can just move out the primary swap just like that. you will need the primary swap as your dump space too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 09:30 PM
09-17-2007 09:30 PM
Re: Relocating Primary Swap
Cheers,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 09:32 PM
09-17-2007 09:32 PM
Re: Relocating Primary Swap
swap and dump do not need to be the same device. If one has the space, its best to locate them separately.
I have never in 15 years relocated swap. It can be done from the command line, but if I don't do something regularly, I'd say sam is a good choice.
You can define a new swap device, set the current one to become in active.
Then you have to boot your system for it all to take effect.
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
09-17-2007 09:42 PM
09-17-2007 09:42 PM
Re: Relocating Primary Swap
I would normally have tried to use sam, however, this is an 11iv3 machine that uses smh instead of sam and I can't see where to configure primary swap using smh.
BTW, I want to relocate swap off the root disk because fresh out of the box, I have less than 2GB of disk to play with for extending my various file systems.
Thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2007 09:43 PM
09-17-2007 09:43 PM
Re: Relocating Primary Swap
Cheers,
Gary