- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: filesystem swap
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
01-01-2008 12:01 AM
01-01-2008 12:01 AM
And how filesystem swap is helpful when we don't have diskspace available for additional device swap?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-01-2008 02:55 AM
01-01-2008 02:55 AM
Re: filesystem swap
>And how filesystem swap is helpful ..
Well, you can enable it without rebooting and put it on any existing filesystem that has space. But it is slower than device swap, so you want to set the priority so it uses device swap first.
Also, if you have lots of RAM, you should enable pseudo-swap, swapmem_on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-01-2008 02:37 PM
01-01-2008 02:37 PM
SolutionIf possible, avoid file system swap.
RAM is cheap these days, or set up
multiple device swaps across different disks.
However, if you insist on having
file system swap...
A) From the command-line
(setting priority to 4):
# swapon -p 4 -l 1024M /somefs/myswap1
B) In /etc/fstab:
/dev/vg01/myfs1 /somefs/myswap1 swapfs pri=4,lim=1024M 0 0
Again, I stress out the general swap space
guidelines:
* Avoid file system swap altogether if possible.
* Avoid using busy file systems such as the root file system.
* Avoid using file systems already near capacity.
* Avoid using file systems on disks that already have swap configured.
* Set priorities appropriately.
* Choose faster devices over slower devices.
* Choose infrequently-used file systems over busier file systems.
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-01-2008 06:57 PM
01-01-2008 06:57 PM
Re: filesystem swap
In HP-UX,u can able to create to swap in different ways.
1) Device Swap space.(Using entire hdd for swap)
2) Swap File.(Creating a file and use it as a swapfs)
3) Primary and secondary swap.
Primary swap:This swap to be created under / filesystem.
Seciondary swap:This swap to be created any where in the / filesystem after primary swap(i.e. it can be a Swap File).
4) Pseudo swap.
U can configure swap after the installation also.
This link will be useful for u installation and configuration of swap in HP-UX.
http://docs.hp.com/en/B2355-90672/ch06s02.html
Swap will be useful, when ur data processing processes requires more fastest operation(i..e. it will be helpful in feeding the processes when user or a program requires.The data will be in swap under 4 states are wait,run,sleep and zombie.)
If u go through that above link, u will be getting clear i hope...
Note:Try to give points also to everyone then only will come to forward give solution.
Regs
Palani.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP