- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: DISK QUESTIONS
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
09-15-2004 05:46 AM
09-15-2004 05:46 AM
DISK QUESTIONS
1)What is a SYMBOL ECC ERROR and what causes these?
2)Is there a method to map a logical block to a file name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 06:34 AM
09-15-2004 06:34 AM
Re: DISK QUESTIONS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:44 AM
09-15-2004 07:44 AM
Re: DISK QUESTIONS
1) IIRC: ECC = Error Correction Code. A method used to be able to correct minor errors in data. If the disk reads data, it will calculate a checksum and compare it with the stored ECC number. In case of mismatch, the disk firmware is able to correct this, based on the algorithm.
2) Yes.
If you want to see the blocks that hold the contents of a file, this is the command:
$ DUMP/HEADER/BLOCKS=COUNT=0
You'll find the retrieval pointers in the end of the output. These are the logical blocks where a fragment starts and the number of block that the fragment spans.
Doing it the other way requires a scan of INDEXF.SYS. the DFU utility has the facility to do this. If you know the Logical Block Number (LBN), SEARCH
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 05:22 PM
09-15-2004 05:22 PM
Re: DISK QUESTIONS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:17 PM
09-15-2004 07:17 PM
Re: DISK QUESTIONS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:36 PM
09-15-2004 07:36 PM
Re: DISK QUESTIONS
if you have the freeware DFU you can do
dfu>search/lbn=
regards
Steph
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 02:44 AM
09-16-2004 02:44 AM
Re: DISK QUESTIONS
You have 4 errors so far, if you get more, think about replacing the disk. At least that is what we do in being proactive (maybe a little too). The frequency of the error is something you can discuss with your HP service rep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2004 06:01 AM
09-16-2004 06:01 AM
Re: DISK QUESTIONS
There is a small command procedure to find the file containing the logical block. In fact two command procedures:
lbn.com
$ if f$trnlnm("file_found","lnm$job").nes."" then deassign/job file_found
$e:
$ on warning then goto e
$l:
$ f = f$search(p1)
$ if f.eqs."" then goto end
$ s='f$file(f,"EOF")'
$ if s.gt.0
$ then
$ pipe dump/head/block=end=0 'f' | -
search/exact/match=and sys$pipe "Count:","LBN:" | -
@lbn1 'p2'
$ endif
$ if f$trnlnm("file_found","lnm$job").eqs."" then goto l
$ deassign/job file_found
$ write sys$output f
$end:
and
lbn1.com
$ sea = 'p1'
$l:
$ read sys$pipe l/end=end/error=end
$ l=f$edit (l,"compress,trim")
$ blocks = f$element(1," ",l)
$ lbn = f$element(3," ",l)
$ elbn = 'lbn' + 'blocks'
$ if sea.ge.lbn.and.sea.lt.elbn
$ then
$ write sys$output "Found ''sea' betwen ''lbn' and ''elbn'"
$ define/job file_found 1
$ endif
$ goto l
$end:
Run the lbn.com command procedure with a wildcard file specification as first parameter and the logical block number as the second parameter.
To search the whole system disk type:
$ @lbn sys$sysdevice:[*...]*.*;* 123456
This will (very slowly) search all the files for that LBN. Open files will not be searched! But you will receive a message like this
%SYSTEM-W-ACCONFLICT, file access conflict
\SYS$SYSROOT:[SYSEXE]ACME$SERVER_CONFIG.TMP;1\
for them.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2004 06:39 AM
09-17-2004 06:39 AM
Re: DISK QUESTIONS
I'm not 100% sure of this answer!
I have the impression that the disk errors are reported by the disk controller. If it says recovered, it means that the layer reporting the error has recovered it and there is no problem (e.g; by disk mirror or raid).
If it was not recovered, it is possible that the shadowing software corrected it.
Without shadowing, the error was passed with a "presumably correct version of the data" to the program. If the program didn't test the IO status, it is possible that it continued. It is also possible that the data was incorrect ...
To find corrupt files : anal/disk/read disk.
To repair : delete/erase or purge/erase after you recovered the contents. I found that /noerase didn't always repaired the error.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2004 06:41 AM
09-17-2004 06:41 AM
Re: DISK QUESTIONS
I also had disks that gave 200 errors in a few weeks and after that al went fine. So, 4 is no problem.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2004 06:46 AM
09-17-2004 06:46 AM
Re: DISK QUESTIONS
will not necessarily find 'corrupt files'. It simply reads all allocated blocks twice and compare the data (according to HELP). That only ensures that the media can be read.
If the data has been 'corrupted' by some other error it can not report this, because it does not understand the logical structure of a file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2004 07:14 AM
09-17-2004 07:14 AM
Re: DISK QUESTIONS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2004 07:40 AM
09-17-2004 07:40 AM
Re: DISK QUESTIONS
The anal/disk/read will read all blocks and check for pariry errors. Thats's the only error I got until now. It may b e that it reads twice but in my opinion modern disks should return the same contents twice (but again, not 100% sure).
For shadow sets this could result in disk errors but those will be most probably be corrected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2004 10:57 PM
09-17-2004 10:57 PM
Re: DISK QUESTIONS
To repair : delete/erase or purge/erase after you recovered the contents. I found that /noerase didn't always repaired the error.
I guess this is expectable behaviour:
On a DELETE (which purge also is) with (may be implied) /NOerase, you just mark the disk blocks as available, clean up the header, and do everything that goes with keeping it consistent. You do NOT do anything to the contents of the diskblocks themselves, so any pattern on the disk reported as bad, stays there. If you apply /ERASE, the disks blocks ARE written to. If that can be done without errors, the error is gone. An dif not, that block is re-located by the drive, and although PHYSICALLY the error is still there, it will LOGICALLY be gone. The INTERNAL disk functionality will have to move the head to the bad block replacement area the address this block, but to the world outside the drive it is PRESENTED as errorfree.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2004 12:20 AM
09-19-2004 12:20 AM
Re: DISK QUESTIONS
But what if the "bad block flag" is set for that file ? Is /erase still necessary ?
I wonder which utilities set the flag when encountering a bad block ...
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 02:43 AM
09-27-2004 02:43 AM
Re: DISK QUESTIONS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 02:55 AM
09-27-2004 02:55 AM
Re: DISK QUESTIONS
Do you mean that during delete/erase, the block is not moved to the bad block list of the disk itself nor the one of VMS ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2004 03:49 AM
09-27-2004 03:49 AM