- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add swap space by creating another vg00 logica...
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
тАО11-22-2005 01:37 AM
тАО11-22-2005 01:37 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 01:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 01:47 AM
тАО11-22-2005 01:47 AM
Re: Add swap space by creating another vg00 logical volume?
I would suggest that you build your secondary swap on a non-vg00 volume group. I would also suggest that you make it the higher priority device; i.e. with a lower number where the primary swap device priority=1. Do something like:
# lvcreate -C y -r n -L 4096 -n lvol1 /dev/vg01
# swapon -p 0 /dev/vg01/lvol1
# echo "/dev/vg01/lvol1 ... swap pri=0 0 0" >> /etc/fstab
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 01:48 AM
тАО11-22-2005 01:48 AM
Re: Add swap space by creating another vg00 logical volume?
you have to create your LV in which you want to create swap space and then enable it using swapon command. Have a look at man 1m swapon to see all swapon option (for example you can create swap file on filesystem charing it with your datas or you can set priority of swap space just created).
RGDS
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 01:49 AM
тАО11-22-2005 01:49 AM
Re: Add swap space by creating another vg00 logical volume?
you have to create your LV in which you want to create swap space and then enable it using swapon command. Have a look at man 1m swapon to see all swapon option (for example you can create swap file on filesystem sharing it with your datas or you can set priority of swap space just created).
RGDS
Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 01:49 AM
тАО11-22-2005 01:49 AM
Re: Add swap space by creating another vg00 logical volume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 02:04 AM
тАО11-22-2005 02:04 AM
Re: Add swap space by creating another vg00 logical volume?
Does this look correct? (remember mirrored vg00)
1.) lvcreate -m 1 -L 4096 -s y /dev/vg00
2.) swapon -p 1 /dev/vg00/lvol11
3.) edit /etc/fstab and add another swap entry
??
Am I missing anything (e.g. appropriate/special lvcreate flags)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 02:10 AM
тАО11-22-2005 02:10 AM
Re: Add swap space by creating another vg00 logical volume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 02:11 AM
тАО11-22-2005 02:11 AM
Re: Add swap space by creating another vg00 logical volume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2005 02:16 AM
тАО11-22-2005 02:16 AM