- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding 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
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
12-19-2001 07:35 AM
12-19-2001 07:35 AM
i have a system with mirrored vg00 (2 x 4GB)and have to increase swap but there is not enough space in vg00.
So i bought two additional disks (4GB) and put them into my HASS enclosure. These new disk should also be mirrored.
Now i'm not sure how to add the swap.
Should i add the disks into vg00 (vgextend)
or
create a new vg and add them there ?
Kind Regards
Andreas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:40 AM
12-19-2001 07:40 AM
Re: Adding swap
man 1m swapon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:41 AM
12-19-2001 07:41 AM
Re: Adding swap
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90672/B2355-90672_top.html&con=/hpux/onlinedocs/B2355-90672/00/00/63-con.html&toc=/hpux/onlinedocs/B2355-90672/00/00/63-toc.html&searchterms=swap%7cadding&queryid=20011219-074426
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:45 AM
12-19-2001 07:45 AM
Re: Adding swap
Just my way of doing things,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:46 AM
12-19-2001 07:46 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:47 AM
12-19-2001 07:47 AM
Re: Adding swap
# lvcreate -L 400 -n swap2 -C y -r n /dev/vg01
==> create 400MB contigous lv called swap in vg01 with bad block reallocation turned off
# swapon -p 1 /dev/vg01/swap2
==> enable swap with priority 1.
# swapinfo -ta
==> check to see if added swap is enabled.
# vi /etc/fstab
....
/dev/vg01/swap2 ... swap pri=1 0 1
....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:48 AM
12-19-2001 07:48 AM
Re: Adding swap
Hi
I would create new VG and than use priority
The following doc might useful
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=c13f35fc11a4d6f7e3/screen=ckiDisplayDocument?docId=200000053039597
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:48 AM
12-19-2001 07:48 AM
Re: Adding swap
If you are looking for a secondary swap space, then you can create a new VG, then create new lv and mirror it. U can add this new lv as the new swap space.
There is no problem in adding this to vg00 and doing the same thing.
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:53 AM
12-19-2001 07:53 AM
Re: Adding swap
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 08:21 AM
12-19-2001 08:21 AM
Re: Adding swap
let's start a fight about this ;-)
Personally I don't think it really matters if you create a new Volume Group or add them to VG00; it's up to you, your habbits, company policy, whatever,... Both have some advantages and disadvantages, but no real winner or loser on both.
But if you add them to VG00, make sure the new swap space resides completely on the new disk, or that a different swap priority is assigned. You really do not want to round-robbin between swap spaces on the same disk ;-)
good luck,
Thierry.