home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / misc / 7250 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  13.5 KB

  1. From: franks@hpuamsa.neth.hp.com (Frank Slootweg CRC)
  2. Date: Wed, 27 Jan 1993 08:42:02 GMT
  3. Subject: Diskette read errors and data loss.
  4. Message-ID: <27800049@hpuamsa.neth.hp.com>
  5. Organization: Hewlett-Packard, The Netherlands
  6. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!elroy.jpl.nasa.gov!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpcc05!hpbbn!hpuamsa!franks
  7. Newsgroups: comp.os.msdos.misc
  8. Lines: 274
  9.  
  10. N.B. This article is rather long because the problem is rather important
  11.      for me - the prospect that I can loose (some of) my data and/or
  12.      programs at any time is not a very nice one - and I spent a lot of
  13.      time trying to solve and prevent the problem.
  14.      If you are in a hurry, then please jump to the "Questions" to see
  15.      if you can help or contribute.
  16.  
  17. N.B. This article contains the names of several products in a somewhat
  18.      negative context. I do not want to imply in any way that these are
  19.      bad products. I only describe my findings using these products. The
  20.      actual cause of my problems may be not in these products at all.
  21.  
  22. The problem
  23. ===========
  24.  
  25.   I get, more often than I consider normal, read errors on my diskettes:
  26. At least one problem sector on each of 5 out of 20 diskettes.
  27.  
  28. Details of the problem
  29. ======================
  30.  
  31. - With "read errors", I mean the DOS error
  32.   "Data error reading drive B
  33.    Abort, Retry, Ignore, Fail ?"
  34.   from commands like "copy b:file.ext c:".
  35.   Other programs like Norton's 4.5 DT (DiskTest) and NDD (Norton Disk
  36.   Doctor) and PC Tools' 6.0 Verify File/Disk give similar errors.
  37.  
  38. - I get the read errors only for 3.5"/1.44MB diskettes, but that is
  39.   probably because I hardly use any other type (i.e. 5.25"/360KB/1.2MB
  40.   or 3.5"/720KB).
  41.  
  42. - Most of the time the read errors are "hard errors", i.e. trying a
  43.   little later and/or removing/reinserting the diskette does not help.
  44.   Only once I had a "soft error".
  45.  
  46. - When a read error occurs on a particular diskette, it normally occurs
  47.   only for a single sector.
  48.   On one diskette there were, over time, two problem sectors with the
  49.   following scenario: Read error in sector X, reformat diskette, problem
  50.   gone, several months go by, read error in sector Y.
  51.   On one diskette, the TDK one (see below), I got, over time, three
  52.   problem sectors, probably because I had not reformatted the diskette
  53.   after encountering the first problem sector.
  54.  
  55. - One problem diskette, the TDK one (see below), I tried to read on two
  56.   other systems:
  57.   - A system of the same brand as mine (Hewlett-Packard) and with the
  58.     same brand and type of diskette drive.
  59.   - A system of a friend of my son. I have no details of this system,
  60.     but is was not a Hewlett-Packard system.
  61.   I got exactly the same read errors, in the same sectors, on those
  62.   other systems, so it is safe to assume that there is nothing wrong
  63.   with my diskette-drive, at least not for reading.
  64.  
  65. - The majority of the problems, at least one problem sector on each of
  66.   5 out of 20 diskettes, occured on JVC MF-2HD diskettes. This caused me
  67.   not to buy this brand of diskettes anymore.
  68.   Nearly all JVC diskettes have the same batch number (production
  69.   identification): H971458RY. One problem diskette has a different batch
  70.   number, which is hard to read, probably H972688RY.
  71.  
  72. - My other 3.5"/1.44MB diskettes, about 80-100, are mainly TDK MF-2HD
  73.   diskettes. Until recently, I never had a problem with these TDK
  74.   diskettes, but then I also got a (hard) read error on one of them
  75.   (which was hardly ever used). This TDK diskette has batch number
  76.   JB907B0106. After trying to recover the data from this TDK diskette, I
  77.   got two more (hard) read errors in other sectors of this same
  78.   diskette.
  79.  
  80. - I never had a problem with diskettes which were not written on my
  81.   system, i.e. for example diskettes of software products which I
  82.   bought. But of course I read these kinds of diskettes less frequently
  83.   than my other diskettes.
  84.  
  85. - I never get an error when formatting or writing a diskette.
  86.   When I started to get the read errors, I checked each COPY operation
  87.   to a diskette by doing a COMP directly after the COPY. In the majority
  88.   of the cases, the problem sectors were detected by this "COMP after
  89.   COPY" operation.
  90.   While the problem is not *detected/reported* during formatting or
  91.   writing, it may well be *caused* by/during formatting or writing.
  92.  
  93. - I am under the impression that the use of the PC Tools (6.0) PCFORMAT
  94.   program might be related to the problem.
  95.   I use PCFORMAT all of the time, because it has more features than the
  96.   basic DOS FORMAT.
  97.   My son uses both PCFORMAT and DOS (in the beginning MS-DOS 3.3 and now
  98.   DR DOS 6.0) FORMAT on my system and has never had any problems, also
  99.   not with his 20 JVC MF-2HD diskettes. Of his JVC diskettes, which have
  100.   different batch numbers than mine: GO32857R and GO32858R, about half
  101.   are formatted with PCFORMAT and about half with FORMAT (Norton's (4.5)
  102.   DI (Disk Information) gives 'PCFormat' in the 'system ID' field if the
  103.   diskette was (last) (really) formatted with PCFORMAT and 'IBM  3.3' if
  104.   it was formatted with FORMAT.).
  105.   The exception to these formatting habits seems to be the one TDK
  106.   diskette with the read errors. Its 'system ID' field says 'IBM PNCI'.
  107.   I do not know where this ID comes from. It could be the result of a
  108.   DISKCOPY of an unknown diskette onto this one (DISKCOPY also copies
  109.   the bootsector, so also the 'system ID', from the source disk to the
  110.   destination disk). However that is not very likely because there are
  111.   no deleted files on this diskette, which there (probably) would be
  112.   after a DISKCOPY, followed by a DEL *.*, followed by COPYing the
  113.   files, which it currently contains, onto it.
  114.  
  115. Why am I worried?
  116. =================
  117.  
  118.   The fact that the problem now also occurs on a non-JVC diskette
  119. worries me, and is the main reason for me to write this article: When
  120. will my other 80-100 diskettes start to give problems?
  121.  
  122.   I use my diskettes mainly for archiving purposes. They contain my own
  123. text and data files, my own programs, freeware and shareware programs,
  124. etc.. Of course I make backup of my hard-disk, but I hate to have to
  125. make a backup copy each time (i.e. whenever the content changes) of all
  126. my diskettes too, just because one might get bad.
  127.  
  128. Data recovery attempts
  129. ======================
  130.  
  131.   Attempts to recover the data in the sector which gives a read error,
  132. have, in general, been unsuccessful. I have the Norton Utilities 4.5 and
  133. PC Tools 6.0.
  134.  
  135. - Before trying any of the below data recovery methods, it is wise to
  136.   make a backup copy of the diskette with the read error(s). This is
  137.   wise because during the data recovery attempts, more problem sectors
  138.   may appear. By making, as soon as possible, a backup copy of the
  139.   still-good part of the problem diskette, data loss is minimized.
  140.  
  141.   Make sure to keep/make the problem diskette write-protected when
  142.   trying to make a backup copy!
  143.  
  144.   However one can not make a backup copy with DISKCOPY, because DISKCOPY
  145.   will fail with "Error reading from the disk" when it tries to read a
  146.   problem sector and DISKCOPY will terminate (i.e. NO "Abort, Retry,
  147.   Ignore, Fail?" message).
  148.  
  149.   If one has enough space on the hard-disk, or on another diskette in a
  150.   two diskette-drive system, then one can make a diskimage-in-a-file
  151.   copy of the problem diskette with Norton's NU (probably called
  152.   DiskEdit in newer releases), and copy that diskimage-in-a-file to
  153.   another backup diskette.
  154.  
  155.   NU has a sector mode and a file mode for reading and for writing. The
  156.   mode, sector or file, can be set seperately for reading in the "Choose
  157.   item" menu and for writing in the "Write item to disk" menu.
  158.  
  159.   The backup copy can be made by reading the whole diskette (sectors 0
  160.   through 2879 for the example 3.5"/1.44MB diskettes) in sector mode and
  161.   writing it in file mode to another disk(ette) drive (from now on this
  162.   will be called sectors-to-file mode), and then copying the diskimage-
  163.   in-a-file in file-to-sectors mode (starting sector 0) to the backup
  164.   diskette.
  165.   During the sectors-to-file copy, NU will say
  166.   "The copy may not be correct
  167.   [several blank lines]
  168.    Check the destination to verify correct copying"
  169.   because it tried to read one or more unreadable sectors.
  170.  
  171. - The most "safe" recovery method is to use NU to try to copy the
  172.   content of a file, which contains problem sector(s), to a file on
  173.   another disk(ette). Norton's DT can tell which file(s) contain(s) (a)
  174.   problem sector(s) (Actually DT will give the cluster number. NDD will
  175.   give the sector number.).
  176.  
  177.   This data recovery method does not alter the problem sector(s) in
  178.   any way (the problem diskette can be write-protected), so you can try
  179.   it over and over again.
  180.  
  181.   One can copy the files in either file-to-file or sectors-to-file mode
  182.   (and in some cases also file-to-sector mode)
  183.  
  184.   If there is only one problem sector in a particular file, then file-to-
  185.   file mode is the easiest.
  186.  
  187.   If there is more than one problem sector in a particular file, then it
  188.   is probably best to use sector(s)-to-file mode to copy the good and
  189.   bad parts of the source file to individual destination files, because,
  190.   when using file-to-file mode, in one try NU might be able to read one
  191.   problem sector correctly, but might not be able to read the other
  192.   problem sector(s) correctly, while in a next try the situation might
  193.   be reversed. By reading in sector mode, and reading one problem sector
  194.   at a time, one can try over and over again until one has recovered the
  195.   best possible data from the problem sector(s). The individual
  196.   destination files can be recombined with (for example)
  197.   copy /b good1+bad1+good2+bad2+good3 total
  198.  
  199.   If the original file is fragmented, i.e. does not occupy just one set
  200.   of contiguous clusters/sectors on the disk, then it might be easier to
  201.   first copy the file, in file-to-file mode, to an empty diskette - i.e.
  202.   the destination file will be unfragmented - and then copy the problem
  203.   sector(s), in sector-to-file mode, from the source sector(s) to
  204.   file(s), and finally copy, in file-to-sector mode, the file(s) to the
  205.   correct sector(s) in the destination file.
  206.  
  207.   In each of the above cases, NU will say
  208.   "The copy may not be correct
  209.   [several blank lines]
  210.    Check the destination to verify correct copying"
  211.   when it encountered one or more unreadable sectors. The data which NU
  212.   read will be written to the specified destination (file or sector(s)).
  213.   I.e. NU will write what it has read, while DISKCOPY will just
  214.   terminate on a read error and COPY with 'Ignore' will copy nonsense
  215.   from the problem sector to the end of the file (COPY with 'Abort'
  216.   (with or without an earlier 'Retry') or 'Fail' will truncate the 
  217.   destination file at or before the failure point.).
  218.  
  219.   In my data recovery attempts, the data, which NU recovered from the
  220.   problem sector(s), was similar to a known-good copy, but there were
  221.   always one or more bytes (upto 83) incorrect (determined with a UNIX
  222.   "cmp -l" clone for MS-DOS). In some cases there was only one single-
  223.   bit error in a problem sector. For most non-text files however, a
  224.   single-bit error is as bad as a totally corrupt file.
  225.   (Luckily, in all-but-one of the cases, I still had an extra known-good
  226.   copy somwhere.)
  227.  
  228. - A somewhat less safe/convenient data recovery method is the "surface
  229.   scan" facility of PC Tools and the Norton Utilities. In this case the
  230.   utility does only a single read, or a series of reads, of the problem
  231.   sector, and then copies what it has read to another sector and marks
  232.   the problem sector as bad. If this data recovery attempt is
  233.   unsuccessful, which it is most of the time, then you have to mark the
  234.   problem sector again as "good" (which can only be done with Norton's
  235.   DT), and then start all over again.
  236.  
  237. - The least safe/convenient data recovery methods are the "/R" option of
  238.   PC Tools' PCFORMAT, the "Revitalize a floppy" function of PC Tools'
  239.   DISKFIX and the "Revive a Defective Diskette" function of Norton's
  240.   NDD. These tools do a single read, or a series of reads, of a sector
  241.   and then reformat and rewrite the data. If the read(s) is/are
  242.   unsuccessful, then bad luck, the incorrect data will have been
  243.   rewritten to the diskette, and there is no way to try again to get the
  244.   correct data.
  245.  
  246. Questions
  247. =========
  248.  
  249. 1. Do you find at least one problem sector on each of 5 out of 20
  250.    diskettes a high/medium/low failure rate?
  251.  
  252. 2. What are your experiences with read (or format or write errors) on
  253.    diskettes?
  254.  
  255. 3. Do you have bad/good experience with the PC Tools PCFORMAT program,
  256.    compared to the DOS FORMAT program?
  257.    If PCFORMAT is suspect, can you recommend DISKFIX' "revitalize" or
  258.    NDD's "revive" to try to make my diskettes more reliable than they are
  259.    now? (It is hardly practical to copy each diskette to another
  260.    diskette or the harddisk, do a real format of the original diskette
  261.    and copy back the data to it.)
  262.  
  263. 4. Do you know a better data recovery method than the ones described
  264.    above?
  265.  
  266. 5. Can you explain why I had better results with NU than with COPY?
  267.    (NU: single-bit to 83 bytes wrong in the copy of a problem sector.
  268.    COPY with 'Ignore': everything in the destination file, from the copy
  269.    of the problem sector to the end of the file, is wrong.)
  270.    Are there any special features in the diskette drive/controller
  271.    hardware, BIOS or DOS, which NU uses to try to recover as much data
  272.    as possible, which COPY does not use?
  273.  
  274. 6. Do you know any, preferably freeware or shareware, programs for
  275.    - more thoroughly formatting diskettes?
  276.    - more thoroughly testing diskettes?
  277.    - testing the diskette drive?
  278.  
  279. 7. Any other information, tips, remarks, questions, etc.?
  280.  
  281.   Thanks in advance for your help.
  282.  
  283. Frank Slootweg
  284.