- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap, dump and LVM
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
10-23-2001 05:16 AM
10-23-2001 05:16 AM
Swap, dump and LVM
My customer had 4 x internal 9Gb disks on his server and he had primary swap on 1 disk and swap/dump on another disk (2 LV's across 2 VG's) mirrored.
Now he is using 2 x internal 36Gb disks and using 8Gb of swap/dump on 1 LV (mirrored).
Is having 8Gb on 1 disk (mirrored) ok or are there issues about a crash dump being overwritten by system swap.
If anyone can offer a good solution to having swap all on 1 disk and 1 LV that would be great.
Thanks,
Martyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 05:28 AM
10-23-2001 05:28 AM
Re: Swap, dump and LVM
That said....if you are/must set up disk for disk swapping then let me simply say that you would not want all of your processes to swap to 1 disk. It is better to spread your swap across multiple disks to give better performance. Putting all your demand on one disk would greatly increase your I/O and hinder performance.
And as soon as I finished setting up multiple disks for swapping - my next job would be to write a request for more memory.
Rgrds,
Rit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 05:32 AM
10-23-2001 05:32 AM
Re: Swap, dump and LVM
How much memory do they have now, and how much swap are they actually using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 05:35 AM
10-23-2001 05:35 AM
Re: Swap, dump and LVM
unless /etc/rc.config.d/crashconf says never to transfer the dump to disk. Typically /var/adm/crash/
man crashconf (and use the command) to verify that lvol2 is sufficient in size.
Before swap is activated on the reboot, the dump will be copied if the /etc/rc.config.d/savecrash says so.
You still may get something from your /etc/shutdownlog or syslog.log
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 05:40 AM
10-23-2001 05:40 AM
Re: Swap, dump and LVM
My real preference is to swap so little that it doesn't really matter how swap is laid out.
There is a problem with mirroring swap and dump. You want to mirror swap but if dump is mirrored, there is a 0.5 probability of the dump being written to either disk. My preference (if I've bought enough memory and I always do), is to configure a small primary swap (256MB-512MB) that is mirrored and a seperate dump area that is not. If I think I need more swap (or as a safety net) I then configure the terrible, dreaded, and bad filesystem swap at very low priority. Why waste disk that is not going to be used as mirrored device swap?
If you do choose to use device swap, make sure that you do not configure two areas on the same drive with equal priority, you will drive the head positioning mechanism nuts.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 05:41 AM
10-23-2001 05:41 AM
Re: Swap, dump and LVM
SAM > Kernel > Configurable>
Check dontdump = 0
SAM > Kernel > Dump Devices >
specify different lvol for dump if necessary...
(man savecrash too)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 05:44 AM
10-23-2001 05:44 AM
Re: Swap, dump and LVM
It's ok to have one 8Gb
lv for swap/dump. But,
there are a few things which
needs consideration:
Swap -> it is always better to
spread your device swap on
different disks/LV's. So,
instead of having one huge
8Gb swap volume, you can split
into 4LV's of 2Gb each.
If you have external disks,
you can create a swap space
from them too. By spreading
swap, you get better performance.
Dump -> If you are using
Hpux 11.00, you can find
out what the Dump size of your
system needs to be by
using the crashconf -v command. Based on this
you can configure one LV
with that size and it can
also used for swap.
Also, remember to set the
dump file in the /etc/rc.config.d/crashconf
file.
here is a whitepaper which
gives you useful details on
Dump:
http://docs.hp.com/hpux/onlinedocs/os/syscrash.html
For 10.20 , your dump
would be the RAM+kernel
and an additional 25% of the
value.
You can check your
current configuration
by lvlnboot -v
HTH
raj