- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap space question
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
тАО04-11-2002 05:41 PM
тАО04-11-2002 05:41 PM
could bulid a 200MB swap space,however i wanna know that how hpux could know that it should use this dir to swap,after all,'myswap' is just a name that can be changed to "yourswap" or something else.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 05:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 05:58 PM
тАО04-11-2002 05:58 PM
Re: swap space question
need to use the swapon command to enable it.
e.g.
# swapon /dev/vg01/swap1
Add an entry like this to your /etc/fstab file
to ensure that is enabled next time your
system is booted.
/dev/vg01/swap1 ... swap pri=1 0 0
HTH
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 06:45 PM
тАО04-11-2002 06:45 PM
Re: swap space question
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 11:54 PM
тАО04-11-2002 11:54 PM
Re: swap space question
Using LVM:
1. lvcreate -L 16 -n myswap /dev/vg01
2. swapon
3. Finaly, you have to put the new swap area on /etc/fstab, them the new swap will be activated every boot.
It is a good thing put the secondary swap on other disk than vg00.
I hope this answer can help you.
Juanma.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2002 01:31 AM
тАО04-12-2002 01:31 AM
Re: swap space question
Put it in fstab if you want it enabled at the next reboot. Ommit it if it's just for testing.
Also considder what priority you give it if you expect it to actuallu be used. You can check with 'swapinfo -tm' to see what is reserved and what is actually used. If it is on a disk with same or better access speed that existing swap give it the same prioriy. That way the load of swapping will be spread.
BTW the system shouldn't be swapping but paging. But swapping is a historic term and is used annyway.
Regards,
Tron