- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Dump devices and primary 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
04-19-2007 02:10 AM
04-19-2007 02:10 AM
I created a primary dump lvol and added it using the lvlnboot -d command. I rebooted the server and see the new dump volume with lvlnboot -v and crashconf -v. Now that this is complete, I would like to remove primary swap (lvol2) from being a dump device.
My questions are 1) how do I do this? 2) Should I do this? I have disabled savecrash and want to make sure that no dump information is written to swap because it will not be saved.
All opinions are welcome.
Thanks,
Jay
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 02:27 AM
04-19-2007 02:27 AM
Re: Dump devices and primary swap
Also, unless you have free, contiguous extents immediately adjacent to the last physical extent of 'lvol2' you cannot extend primary swap, /, primary swap and /stand must be contiguous and cannot be extended with lvextend.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 02:55 AM
04-19-2007 02:55 AM
Re: Dump devices and primary swap
l) use the lvrmboot command as suggested by Clay
2) Should you do this ? Yes, it is usually a good idea not to use the swap as the primary dump device. But if you need to understand why, here is my understanding.
When the system panics, the kernel is going to dump the memory to the primary dump device (i.e to lvol2 in this case) and reboot the system. Savecrash at bootup will dump the lvol2 to /var/adm/crash (default).
But if for somereason, savecrash could not save the crash dump, the system will continue to boot (if it can ,ofcourse). Now if your lvol2 is both the swap and the dump device, and if your system starts swapping, the dump contents will be overwritten and you can no longer be able to save them to the filesystem.
The dump is usually written starting from the bottom of the device, working backwards. So , depending on the size of your swap device and dump configuration, you could still be able to save the crash dump, even if you system is swapping,ofcourse only if your swap device is not 100% used.
Confusing enough ? :-) hope this helps.
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 03:05 AM
04-19-2007 03:05 AM
Re: Dump devices and primary swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 04:55 AM
04-19-2007 04:55 AM
Re: Dump devices and primary swap
Thanks for all the information and advice, it's appreciated.
Br,
jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 04:57 AM
04-19-2007 04:57 AM