Operating System - OpenVMS
1752810 Members
5891 Online
108789 Solutions
New Discussion юеВ

inconsistent highwater mark and EFBLK

 
SOLVED
Go to solution
Andrea Arthur
Occasional Advisor

inconsistent highwater mark and EFBLK

Is there anything I can do to get rid of the following errors that ana/repair doesn't fix?

File (2540,2,1) PAGEFILE.SYS;2
inconsistent highwater mark and EFBLK
File (2541,1,1) SWAPFILE.SYS;2
inconsistent highwater mark and EFBLK

Is this indicative of a more significant problem?

This error appears after an image restore of the system disk following an error file header full.
25 REPLIES 25
John Abbott_2
Esteemed Contributor

Re: inconsistent highwater mark and EFBLK

Issue a $ set file/own=[current_owner] PAGEFILE.SYS;2,SWAPFILE.SYS;2

and they will go away.

J.
Don't do what Donny Dont does
Hein van den Heuvel
Honored Contributor

Re: inconsistent highwater mark and EFBLK


I suppose the inconsistency was triggered due to 'nobackup' settings for those file?

(See help SET FILE/BACK and help BACK/IGNO)

How about just deleting those files?

And maybe $set file/end... but if HWM is enabled then this will take a while (if you can even do that one those files on a live system).

[Sorry, no system to test/verify any of the above]

Hope this helps some,
Hein.
Andrea Arthur
Occasional Advisor

Re: inconsistent highwater mark and EFBLK

Thank you.

I had created new page and swap files then deleted the old ones. I'm all set now.

But I am curious as to why a set file/owner would fix this issue.

Thanks again.
John Abbott_2
Esteemed Contributor

Re: inconsistent highwater mark and EFBLK

> But I am curious as to why a set file/owner would fix this issue.

The files in question are typically marked /nobackup.

To be honest Andrea, it is puzzling. Simply "touching" the file appears to fix it (so other $ set file comands work too). The message fom anal/disk is only informational and doesn't even appear in the $ help/mess BADHIGHWATER

Sorry, can be of any more help. Maybe someone else can jump in for a good answer & 10 points :-)

J.
Don't do what Donny Dont does
Volker Halle
Honored Contributor

Re: inconsistent highwater mark and EFBLK

Andrea,

the BADHIGHWATER message is issued from [VERIFY]VERIFY_INDEX based on the values of EFBLK, FFBYTE and HIGHWATER.

The source code comments says: DO NOT FIX IT! and ANAL/DISK/REPAIR doesn't ;-)

A DUMP/HEADER/BLOCK=COUNT=0 of such a file would be required to find out what's wrong.

Volker.
Wim Van den Wyngaert
Honored Contributor

Re: inconsistent highwater mark and EFBLK

John Abbott_2
Esteemed Contributor

Re: inconsistent highwater mark and EFBLK

All the files on the backup of my system disk & on data disks that are marked /nobackup report back with BADHIGHWATER when using anal/disk after a restore.

Some of them have been appearing for many moons now. Hey I'm not worried, cos there marked /nobackup & it's informational :-) !
Don't do what Donny Dont does
John Abbott_2
Esteemed Contributor

Re: inconsistent highwater mark and EFBLK

... could it be for files that have a ALQ not equal to EOF ?
Don't do what Donny Dont does
Volker Halle
Honored Contributor

Re: inconsistent highwater mark and EFBLK

John,

if you could provide a DUMP/HEAD/BL=COUNT=0 of such a file, I might be able to tell what's wrong...

Volker.