Firebird 2.5 错误,"ReadFile" 文件操作期间出现 I/O 错误
Firebird 2.5 Error, I/O error during "ReadFile" operation for file
希望您能帮助我找到解决 Firebird 数据库问题的方法。
使用 flamerobin 的错误是:
我已尝试对数据库进行 gfix,但它无法验证 powershell 中出现的相同错误。
PS C:\Program Files\Firebird\Firebird_2_5\bin> .\gfix.exe -v C:\databases2\Issue\RFS.FDB -user sysdba -password masterkey
I/O error during "ReadFile" operation for file "C:\DATABASES2\ISSUE\RFS.FDB"
-Error while trying to read from file
-Reached the end of the file.
PS C:\Program Files\Firebird\Firebird_2_5\bin> .\gfix.exe -v -f C:\databases2\Issue\RFS.FDB -user sysdba -password masterkey
I/O error during "ReadFile" operation for file "C:\DATABASES2\ISSUE\RFS.FDB"
-Error while trying to read from file
-Reached the end of the file.
PS C:\Program Files\Firebird\Firebird_2_5\bin> .\gfix.exe -v -f -i C:\databases2\Issue\RFS.FDB -user sysdba -password masterkey
I/O error during "ReadFile" operation for file "C:\DATABASES2\ISSUE\RFS.FDB"
-Error while trying to read from file
-Reached the end of the file.
PS C:\Program Files\Firebird\Firebird_2_5\bin>
在任何其他命令 -mend
或 gbak
上都是同样的错误
该错误可能意味着您的数据库已损坏且无法恢复(或者至少,在没有专家帮助的情况下)。从本质上讲,这意味着您的数据库文件比 Firebird 认为应该的要小,并且 Firebird 会尝试读取超出文件长度的内容。这可能表明文件被截断(并且任何超出截断点的数据现在都丢失了),数据库的内部元数据已损坏,或者当 Firebird 试图增加数据库文件的大小时出现问题。
这可能可以通过重写一些内部元数据来挽救。但据我所知,这超出了 gfix
的功能。我认为您需要一家提供恢复服务的公司的帮助,例如 IB-Aid 的 IB-Surgeon,请参阅 https://ib-aid.com/。我建议您 post 在 firebird-support 邮件列表上提出您的问题,看看是否有其他解决方案。
希望您能帮助我找到解决 Firebird 数据库问题的方法。
使用 flamerobin 的错误是:
我已尝试对数据库进行 gfix,但它无法验证 powershell 中出现的相同错误。
PS C:\Program Files\Firebird\Firebird_2_5\bin> .\gfix.exe -v C:\databases2\Issue\RFS.FDB -user sysdba -password masterkey
I/O error during "ReadFile" operation for file "C:\DATABASES2\ISSUE\RFS.FDB"
-Error while trying to read from file
-Reached the end of the file.
PS C:\Program Files\Firebird\Firebird_2_5\bin> .\gfix.exe -v -f C:\databases2\Issue\RFS.FDB -user sysdba -password masterkey
I/O error during "ReadFile" operation for file "C:\DATABASES2\ISSUE\RFS.FDB"
-Error while trying to read from file
-Reached the end of the file.
PS C:\Program Files\Firebird\Firebird_2_5\bin> .\gfix.exe -v -f -i C:\databases2\Issue\RFS.FDB -user sysdba -password masterkey
I/O error during "ReadFile" operation for file "C:\DATABASES2\ISSUE\RFS.FDB"
-Error while trying to read from file
-Reached the end of the file.
PS C:\Program Files\Firebird\Firebird_2_5\bin>
在任何其他命令 -mend
或 gbak
该错误可能意味着您的数据库已损坏且无法恢复(或者至少,在没有专家帮助的情况下)。从本质上讲,这意味着您的数据库文件比 Firebird 认为应该的要小,并且 Firebird 会尝试读取超出文件长度的内容。这可能表明文件被截断(并且任何超出截断点的数据现在都丢失了),数据库的内部元数据已损坏,或者当 Firebird 试图增加数据库文件的大小时出现问题。
这可能可以通过重写一些内部元数据来挽救。但据我所知,这超出了 gfix
的功能。我认为您需要一家提供恢复服务的公司的帮助,例如 IB-Aid 的 IB-Surgeon,请参阅 https://ib-aid.com/。我建议您 post 在 firebird-support 邮件列表上提出您的问题,看看是否有其他解决方案。