- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving 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
02-15-2001 01:32 AM
02-15-2001 01:32 AM
Moving primary swap
And, then, we would like move secondary swap to old primary's place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 02:57 AM
02-15-2001 02:57 AM
Re: Moving primary swap
You can could then use the rest of the old lvol2's extents to increase other vg00 LV's or create a new LV for more secondary swap or another file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 03:25 AM
02-15-2001 03:25 AM
Re: Moving primary swap
Yes you can do such things:
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 266240 0 266240 0% 0 - 1 /dev/vg00/lvol2
dev 262144 0 262144 0% 0 - 0 /dev/r5vg01/lvol9
reserve - 285820 -285820
Only I dont remember how I did it..., at that time it made sense: the external disks were on raid5 FW/DIFF and much faster than the internal SE-SCSI mirrored rootvg. If I dont remember it means it was something obvious... like declaring your new swap then change its priority= the secondary becomes primary swap and Im sure it can be done trough sam...
Good luck
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 04:11 AM
02-15-2001 04:11 AM
Re: Moving primary swap
Check out the -p option in swapon in the man (1M) swapon, it talks about priorities, remember that DEV swap will be used before FS swap. The default priority is 1, however, if you add your new swap area with SAM, you can change the priority to 0, a higher priority area (or modify /dev/vg00/lvol2 to say priority 2).
Also check "default allocation pages" area in the man (1m) swapinfo...
MND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 07:49 PM
02-15-2001 07:49 PM
Re: Moving primary swap
Keep in mind that the dump device is often the same as the primary swap device. If you have a kernel panic and the dump device is tiny, then the dump will be incomplete. You can check what you dump device is with lvlnboot -v.
--Bruce