home *** CD-ROM | disk | FTP | other *** search
- From: franks@hpuamsa.neth.hp.com (Frank Slootweg CRC)
- Date: Thu, 27 Aug 1992 06:34:37 GMT
- Subject: Re: FORMAT under DRDOS
- Message-ID: <27800024@hpuamsa.neth.hp.com>
- Organization: Hewlett-Packard, The Netherlands
- Path: sparky!uunet!decwrl!sdd.hp.com!hpscdc!hplextra!hpcc05!hpbbn!hpuamsa!franks
- Newsgroups: comp.os.msdos.misc
- References: <1992Aug5.112156.164285@dstos3.dsto.gov.au>
- Lines: 76
-
- On August 5 hjh@swan.dsto.gov.au (H.J.Harvey-AEG. Hi Howie!) wrote:
-
- >I tried formatting some 3.5" HD floppies using FORMAT B: /U under DRDOS V6
- >last week. I noted that all diskettes had only about 1.3Mb out of 1.44MB
- >capacity. Using WIN3.1 formatting worked OK, and doing a diskscan on
- >supposedly bad disks showed no errors.
- >
- >I fixed the problem by disabling SUPERPCK (using SUPERPCK/D) while formatting.
- >Any one noted a similar problem or know exactly why my system behaved
- >that way?
-
- First the good news: I think your "problem" is an innocent feature of
- the DR DOS 6.0 FORMAT and SUPERPCK combination. But then again: There
- may be danger ahead (see the end of my posting).
-
- I had some problems reproducing your problem. I started with a
- never-formatted diskette (fresh from the box) and did repeated
- "FORMAT B: /U" operations, but could not get it to fail. Then I
- completely filled the (now already formatted) diskette by
- "XCOPY C: B:" (while in the DRDOS directory) and then did a
- "FORMAT B: /U". Now FORMAT indeed reported
-
- "1,457,664 bytes total disk space.
- 1,345,024 bytes available on disk."
-
- "CHKDSK B:" also reported the same information and (PC Tools 6.0)
- DISKFIX reported
-
- "There are multiple copies of the File Allocation Table
- on your disk and at least one copy has been corrupted."
-
- A subsequent Norton DT (Disk Test, both DISK and FILE test) and NDD
- (Norton Disk Doctor, including "test ... for Defective Sectors") gave no
- errors and a subsequent CHKDSK gave again the normal "1,457,664 bytes
- available on disk.". So, like you, I suspected the Super PC-Kwik disk-cache.
-
- To cut a very long story short: Now the solution/workaround: After
- FORMAT reports the wrong number of "bytes available on disk.", just do :
-
- remove and re-insert diskette and/or
- "SUPERPCK /F" (flush cache) and/or
- "SUPERPCK /D" (disable cache (does a flush)) and optionally "SUPERPCK /E".
-
- My suspicion is that the in-memory copy of the FAT is not quite
- correct, directly after a "FORMAT B: /U". Flushing the cache or removing/
- re-inserting the diskette causes DR DOS to read a fresh copy of the FAT
- from the diskette.
-
- Other notes:
-
- - Sometimes (always?) I also got an error from CHKDSK when the number of
- "bytes available on disk." was wrong :
- "Errors detected /F option required to update disk.
- [blank line]
- 720 lost clusters in 215 chains."
-
- - Sometimes the number of "bytes available on disk." was different:
- 1,346,560 or 1,346,536.
-
- - I could not reproduce the problem with (PC Tools 6.0)
- "PCFORMAT B: /DESTROY" ("/DESTROY" is like the "/U" of the DR DOS 6.0
- FORMAT).
-
- - I used DR DOS 6.0 without any of the updates, i.e. the pre-Dec'91
- version.
-
- The only thing which worries me is that if the in-memory FAT is indeed
- wrong, then it is perhaps possible that the diskette becomes corrupted
- if files are written to it *before* any of the above solutions/
- workarounds have been performed. Perhaps the Novell/DRI people could
- comment on this scenario and could explain what is "wrong" with FORMAT
- and/or SUPERPCK in the first place.
-
- Hope this helps.
-
- Frank Slootweg
-