SAP Knowledge Base Article - Preview

2645986 - DISK RESIZE returns Error 5166 and "dresize: Cannot resize...Invalid argument" - SAP ASE 16.0

Symptom

  • The DISK RESIZE command fails with Error 5166 returned to a client:

Msg 5166, Level 16, State 1:
Server 'SID', Line 3:
DISK RESIZE encountered an error while attempting to open/resize the physical file '/sybase/SID/sapdata_1/SID_data_001.dat'.
Please consult the ASE error log (in the ASE boot directory) for more details.

  • The ASE log shows messages:

dresize: Cannot resize /sybase/SID/sapdata_1/SID_data_001.dat. Invalid argument.
basis_dsizecheck: attempt to write page 18446744073709551615 on device '/sybase/SID/sapdata_1/SID_data_001.dat' failed, system error is: Invalid argument

  • The file size for the device on OS level is not in sync with ASE sysdevices (sp_helpdevice) reported values. The OS file size is (much) larger than expected.


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 16.0 ; SAP ERP 6.0

Keywords

CR815051, CR#815051, 815051, mirror, unmirror , KBA , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.