- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: question about 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
01-05-2006 08:47 AM
01-05-2006 08:47 AM
if the disk with secondary swap (not lvol2) crash while the system is running, does it impact system.
do we need make mirror for seconday swap .
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 08:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 08:52 AM
01-05-2006 08:52 AM
Re: question about swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 09:09 AM
01-05-2006 09:09 AM
Re: question about swap
but sometime , the secondary swap is huge ,
for example, sap require 25-20G swap space, but the space of internal disk is not enough,how to resolve this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 09:16 AM
01-05-2006 09:16 AM
Re: question about swap
Assuming that you have a machine with enough memory so that swapping does not actually occur, you can set swapmem_on=1 and run just fine with as total swap space as small as ~25% of memory. SAP only requires that huge amount of swap during installation. The installation check for it and then proceeds. You don't need it after that so a good solution is to configure as much swap as you really need to operate and then add the terrible, dreaded filesystem swap to get you up to the 3X memory that SAP install requires. You can then delete the filesystem swap entry in /etc/fstab and reboot and you will be back to normal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 09:27 AM
01-05-2006 09:27 AM
Re: question about swap
Since the secondary swap will not be available to the system, you may get a degraded performance or a system hang depending on the status of the swap space being used.
If your secondary swap is device swap then it is better that you have it mirrored.
Thanks
Ajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 09:31 AM
01-05-2006 09:31 AM
Re: question about swap
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4161536 0 4161536 0% 0 - 1 /dev/vg00/lvol2
dev 12582912 0 12582912 0% 0 - 1 /dev/vg00/lvswap1
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvswap2
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvswap3
reserve - 10486412 -10486412
memory 14244872 2559716 11685156 18%
the usage on phyical swap is 0, do you mean i can remove some on the next down time, is any way to disable swap online.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 09:32 AM
01-05-2006 09:32 AM
Re: question about swap
thanks
Ajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 09:52 AM
01-05-2006 09:52 AM
Re: question about swap
You asked if you can disable your device swap "online". No, you can't. Delete the secondary device swap entries that you don't want from '/etc/fstab' and reboot. When done, you can remove the useless logical volume that supported them.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 09:55 AM
01-05-2006 09:55 AM
Re: question about swap
You don't mention how much physical memory you have have but leave at least 25% of RAM configured as swap space and monitor the situation using swapinfo until you are confident that you have enough swap. You cannot disable swap once the machine has allocated it BUT you can remove the /etc/fstab entries while the machine is up. In any event every dab of your swap should still be mirrored and my other configuration rule is that swap space has absolutely nothing to do with dump space and dump space should never be mirrored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 02:16 PM
01-05-2006 02:16 PM
Re: question about swap
If the disk with secondary swap fails while system is running, system won't go down if the swap space from that lvol is not used. But if it is being used, then it may crash.
It is better to create the secondary swap on the external storage box, which normally will be an AUTORAID box. Then you don't need to mirror it - because storage box will have redundancy depending up on the configuration you have done.
It is adviced to configure secondary swap on lvols which is on different disks with same priority. & lvols which is on same disk on different priority.
Regards,
Shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 09:20 PM
01-05-2006 09:20 PM
Re: question about swap
a) Avoid file system swap altogether if possible.
b) Avoid using busy file systems such as the root file system.
c) Avoid using file systems already near capacity.
d) Avoid using file systems on disks that already have swap configured.
e) Set priorities appropriately.
f) Choose faster devices over slower devices.
g) Choose infrequently-used file systems over busier file systems.
Regards,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 10:04 PM
01-05-2006 10:04 PM
Re: question about swap
would be nice to have a look at the attachment...
Good Luck,