dbTalk Databases Forums  

SQL statement failed: (-305) I/O error Fatal error: A disk read from

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss SQL statement failed: (-305) I/O error Fatal error: A disk read from in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sohaib Uthmani
 
Posts: n/a

Default SQL statement failed: (-305) I/O error Fatal error: A disk read from - 09-14-2009 , 07:38 PM






SQL Anywhere 10.0.1.3831

E. 2009-09-11 21:55:41. SQL statement failed: (-305) I/O error Fatal
error: A disk read from file "D:\FHMSL\iFHMS\Data\Feedlot111.db"
failed with error code: (38) -- transaction rolled back
E. 2009-09-11 21:55:41. Error while executing hook procedure
sp_hook_dbmlsync_end.

Received this error while running a proc during sync. Tried to
validate the db in Sybase Central resulting in the same error.

I saw the post at
http://groups.google.com/group/sybas...4160e576?fwc=1
and am wondering if there is another way besides using a backup copy
or rebuilding from Consolidated. It is quite possible that the db was
run on a lower build, corrupted, and updated as suggested in the post.
Could a physical disk problem such as bad sectors also cause this?

Reply With Quote
  #2  
Old   
Jeff Albion [Sybase iAnywhere]
 
Posts: n/a

Default Re: SQL statement failed: (-305) I/O error Fatal error: A disk read - 09-15-2009 , 09:29 AM






Sohaib,

=====================
C:\>net helpmsg 38

Reached the end of the file.
=====================

It seems that the file is shorter than expected on the filesystem. This
could happen in various ways, but likely it's at the filesystem level.
Bad blocks or a sudden power outage with outstanding writes against a
disk might produce a database that looks like this. We have initial
reports from some customers that running the database as a service with
automatic restarts (for Windows Update) may also produce a scenario like
this in very specific instances.

Going to your backup copy is the way to get the database back up and
running. You may be able to use the transaction log to bring the
database up-to-date (e.g: dbeng10 <database> -a Feedlot111.log) -
http://dcx.sybase.com/html/dbdaen10/...-dbengine.html

Regards,

Sohaib Uthmani wrote:
Quote:
SQL Anywhere 10.0.1.3831

E. 2009-09-11 21:55:41. SQL statement failed: (-305) I/O error Fatal
error: A disk read from file "D:\FHMSL\iFHMS\Data\Feedlot111.db"
failed with error code: (38) -- transaction rolled back
E. 2009-09-11 21:55:41. Error while executing hook procedure
sp_hook_dbmlsync_end.

Received this error while running a proc during sync. Tried to
validate the db in Sybase Central resulting in the same error.

I saw the post at
http://groups.google.com/group/sybas...4160e576?fwc=1
and am wondering if there is another way besides using a backup copy
or rebuilding from Consolidated. It is quite possible that the db was
run on a lower build, corrupted, and updated as suggested in the post.
Could a physical disk problem such as bad sectors also cause this?
--
Jeff Albion, Sybase iAnywhere

iAnywhere Developer Community :
http://www.sybase.com/developer/libr...ere-techcorner
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
SQL Anywhere Patches and EBFs :
http://downloads.sybase.com/swd/summ...&timeframe =0
Report a Bug/Open a Case : http://case-express.sybase.com/cx/

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.