Corrupt file ...

  • kda
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
14 years 5 months ago #6280 by kda
Corrupt file ... was created by kda
Dear all,

Please guide me the procedure of corrupt file
Ex: in jshell prompt we use command jstat -v F.RECORD.LOCK

test-->jstat -v F.RECORD.LOCK
File ../bnk.data/eb/F.RECORD.000
Type=J4 , Hash method = 4
Created at Fri Nov 4 20:17:59 2005
Groups = 5 , Frame size = 4096 bytes , Secondary Record Size = 8192 bytes
Restore re-size parameters : (none)
File size = 253952 bytes , Inode = 1772660 , Device = Id
9223372230128304130
Last Accessed Tue Jan 11 17:24:19 2011 , Last Modified Tue Jan 11 17:24:19
2011
Backup = YES , Log = NO , Rollback = NO , Network = AUTO
../bnk.data/eb/F.RECORD.000: Error 2007 occurred.
Record Count = 0 , Record Bytes = 0
Bytes/Record = 0 , Bytes/Group = 0
Primary file space: Total Frames = 0 , Total Bytes = 0
Secondary file space: Total Frames = 0 , Total Bytes = 0
test ~ -->

And it shows this file corrupt, The solution how should we do to ensure this file as appropriate.
And could you please tell me, What cause that make file corrupt and explain detail of that procedure?

Thanks

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #6282 by Lars
Replied by Lars on topic Re: Corrupt file ...
Did your application RECORD.LOCK ever worked?
This error comes e.g. when the file size is over 2.0 GB.
Maybe you need a higher JBase Version...
you should contact Helpdesk...

Please Log in or Create an account to join the conversation.

  • kda
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
14 years 5 months ago #6287 by kda
Replied by kda on topic Re: Corrupt file ...
Hi,

For that size not over 2.0 GB, But it is corrupt
If face the problem like this do we have way to solve it online?

Thanks

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #6312 by pavisk
Replied by pavisk on topic Re: Corrupt file ...
jcheck -Sv F.RECORD.LOCK

This will create a file by name SLVG_<HASH FILE NAME>

Backup the original file & replace the salvaged file

Please Log in or Create an account to join the conversation.

Time to create page: 0.029 seconds