We have a severely corrupted table and when I run kdbfchk against it does this.
Checking file books.tbl:
Reading free tree and list:
0%-----------------------------25%------------------------------50%------------------------------75%---------------------------100%
-----------------------------------------------------------------------------------------------------------------------------------
Scanning for orphaned free tree pages:
0%-----------------------------25%------------------------------50%------------------------------75%---------------------------100%
##################################################################################################################################0b
006 Could not write new page for B-tree (temp RAM DBF) in the function btgetnewpage
006 Can't create new page in B-tree (temp RAM DBF) in the function [fbt]insert
006 Can't add free block to internal tree in the function add_free_block
Checking file books.tbl:
Reading free tree and list:
0%-----------------------------25%------------------------------50%------------------------------75%---------------------------100%
-----------------------------------------------------------------------------------------------------------------------------------
Scanning for orphaned free tree pages:
0%-----------------------------25%------------------------------50%------------------------------75%---------------------------100%
##################################################################################################################################0b
006 Could not write new page for B-tree (temp RAM DBF) in the function btgetnewpage
006 Can't create new page in B-tree (temp RAM DBF) in the function [fbt]insert
006 Can't add free block to internal tree in the function add_free_block