Author Topic: Chkdsk log formatter  (Read 10414 times)

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1062
  • Karma: +26/-0
    • View Profile
    • Blonde Guy
Chkdsk log formatter
« on: October 23, 2018, 12:24:17 am »
I used the check disk log formatter, CHKLGJFS.EXE to format the log file for my JFS formatted disk. The version is 1.9.5 by D Azarewicz.

I don't know what it means, so I'm attaching it here. I only included the first few lines. OS/2 World does not permit the whole file to be uploaded. It's too big.
« Last Edit: October 23, 2018, 12:36:42 am by Neil Waldhauer »
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1599
  • Karma: +4/-2
    • View Profile
Re: Chkdsk log formatter
« Reply #1 on: October 23, 2018, 06:24:16 am »
I have no idea what it means, but if you have a DFSEE subscription, I would ask Jan. DFSEE may give you more information, in a friendlier way too.

Andi B.

  • Hero Member
  • *****
  • Posts: 852
  • Karma: +11/-2
    • View Profile
Re: Chkdsk log formatter
« Reply #2 on: October 23, 2018, 08:21:04 am »
Quote
... error writing M to d:...
Sound very familiar to me. But can't remember now what it triggers. Maybe there's even a mantis ticket for that. Did you search for this? I know for sure we have discussed this during the last years but my memory is vanishing....

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1062
  • Karma: +26/-0
    • View Profile
    • Blonde Guy
Re: Chkdsk log formatter
« Reply #3 on: October 24, 2018, 03:58:22 am »
I notice that ArcaOS has the old IBM chklgjfs.exe. I wonder what is the difference?
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Lars

  • Hero Member
  • *****
  • Posts: 1352
  • Karma: +69/-0
    • View Profile
Re: Chkdsk log formatter
« Reply #4 on: October 25, 2018, 11:59:20 am »
The chkdsk log ("Unrecoverable error writing M to d:. CHKDSK CANNOT CONTINUE.") means that your JFS transaction log is broken which is really bad news because I think that is non-recoverable.

The "M" should really spell "Metadata" but this is some problem either with the tool or with the JFS transaction log.
There had been a bug report for this in either the AN or the eCS bugtracker.
« Last Edit: October 25, 2018, 12:02:31 pm by Lars »

Lars

  • Hero Member
  • *****
  • Posts: 1352
  • Karma: +69/-0
    • View Profile
Re: Chkdsk log formatter
« Reply #5 on: October 27, 2018, 05:38:49 am »

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1062
  • Karma: +26/-0
    • View Profile
    • Blonde Guy
Re: Chkdsk log formatter
« Reply #6 on: October 27, 2018, 03:44:46 pm »
Well, unlike the bug reporter above, the disk was still usable. But the system would restart unexpectedly, which was unacceptable.

I get from this that the disk was damaged, but OS/2 was able to ignore the error and continue. Perhaps this was the cause of the unexpected system restarts, but probably not.
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

Lars

  • Hero Member
  • *****
  • Posts: 1352
  • Karma: +69/-0
    • View Profile
Re: Chkdsk log formatter
« Reply #7 on: October 27, 2018, 11:49:14 pm »
It might be possible that it will still start. But you will no longer be able to run chkdsk to clear up any potential errors because chkdsk.exe will abort operation if it finds something wrong with the transaction log.
That's really unfortunate (I think it would be better if chkdsk completely wiped the transaction log if it gets corrupted).
But now you might have some lurking errors. I had the very same, including these unexpected system restart. I never realized there was something wrong with my JFS partition (because the transaction log was fine) until I finally ran chkdsk /F:3 from another partition.  A whole bunch of errors turned up and I had about 400 MB of crosslinked files (fortunately, that was basically a source file tree that I had cloned from a GITHUB repo which I could just reget).
But after that, the JFS partition was in an errorfree state.

The only thing I can suggest is that you save the files to another partition/media and reformat the JFS partition.