- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: DOSD peculiarity
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
тАО09-26-2008 03:42 AM
тАО09-26-2008 03:42 AM
Re: DOSD peculiarity
the dump file is something special, and if you think of it, it should be.
Suppose somehow something to do with RMS, or even lower level IO from within the OS, is not functioning as it should. A true case for a crash dump analysis, but... how would it be written?
The (fysical) block mapping of the DUMP file is mapped VERY low level, directly available the Crash handler.
The writing occurs without any file system assistence, and hence NO care is given to any filesystem mechanism whatsoever.
And this is also the reason that it is NOT a good idea to move or delete the file: IF a crash should occur in such case, the dump gets written to the disk location that was determined from SYSDUMPs location during bootstrap; and any (part of) any file in that location will simply be overwritten.
Maybe that was the original reason to open the file way back when: prevent it from being (re)moved. And that idea was considered no longer being as relevant, (or simply forgotten) when DOSD was implemented....
--- we have used DOSD for many, many years; and never had any trouble with it. It just worked as descibed.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 04:38 AM
тАО09-26-2008 04:38 AM
Re: DOSD peculiarity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 05:27 AM
тАО09-26-2008 05:27 AM
Re: DOSD peculiarity
Put the name of the disk to be used in the DUMP_DEV environment variable. On Alpha, this is done with a SET DUMP_DEV command at the console prompt. On I64, it is done using the command procedure SYS$MANAGER:BOOT_OPTIONS.COM.
No Itanium over here. What is the boot_options.com doing ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2008 05:41 AM
тАО09-26-2008 05:41 AM
Re: DOSD peculiarity
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2008 10:45 PM
тАО09-29-2008 10:45 PM
Re: DOSD peculiarity
Even very early mount of disk didn't help. I think SYSINIT opens it when only the system disk is open. So, it can't open the dump file at that moment.
fwiw
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 04:35 PM
тАО09-30-2008 04:35 PM
SolutionSome history...
Before V5 there was a rather nasty bug/feature in VMS (as it was then). As Jan has pointed out, the dumpfile is "special" in that it's written to the physical device, not through the filesystem (since we need to avoid any code which may have been the cause of the crash - like the file system). That's also why the dump file needs to fit in a single header.
Back then, at boot time the system would find the dump file and remember the physical location on disk. At dump time, it would just spew out the bits to that physical location on the disk.
But what if someone had deleted the dump file in the mean time? Oh dear, the disk was corrupted. Not good. Since disk space back then was expensive and scarce, this happened far too often! "Here's a big file that we don't really need".
The simple solution introduced in V5 was to check for a dump file at boot time and open the file permanently. That way even if it was deleted, the blocks would only be marked delete pending, thus preventing corruption.
Note that the file being open is completely independent of the dumping itself. It doesn't mean it will be used to dump, it's just a safety mechanism to prevent it from being deleted.
With DOSD, then mechanism has changed completely. I doubt that the code path that opens the dump knows or cares about DOSD. DOSD finds the dump file when it's needed, so deletion is no longer an issue.
Bottom line is, if you have a file SYS$SYSTEM:SYSDUMP.DMP, OpenVMS will always open it at boot time, regardless of if it's the real dump file or not. If you don't want this to happen, or you want to get rid of it, RENAME the file to something else, reboot, then delete it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 09:47 PM
тАО09-30-2008 09:47 PM
Re: DOSD peculiarity
That pretty much answers my questions.
Thanx.
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 09:49 PM
тАО09-30-2008 09:49 PM
Re: DOSD peculiarity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2008 02:02 AM
тАО10-01-2008 02:02 AM
Re: DOSD peculiarity
May be this about clue is needed too.
DOSD (Dump Off System Disk) allows you to write the system dump file to a device other than the system disk. For SDA CLUE to be able to correctly find the dump file to be analyzed after a system crash, you need to perform the following steps:
Modify the command procedure SYS$MANAGER:SYCONFIG.COM to add the system logical name CLUE$DOSD_DEVICE to point to the device where the dump file resides. You need to supply only the physical or logical device name without a file specification.
Modify the command procedure SYS$MANAGER:SYCONFIG.COM to mount systemwide the device where the dump file resides. Otherwise, SDA CLUE cannot access and analyze the dump file.
fwiw
Wim
- « Previous
-
- 1
- 2
- Next »