Consultor Eletrônico



Kbase P120562: Error 4524 when trying to add a new extent to a database that has hit the 2GB limit
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/11/2008
Status: Unverified

SYMPTOM(s):

An Extent in the database has hit the 2GB limit

Attempting to add a new Extent to the database to resolve the problem

Error 4525 occurs when trying to add the new Extent

SYSTEM ERROR: File <file-name> too small <length>, blocksize <blocksize> extend failed." (4524)

Size of Extent is listed as 2147483648

Modifying the size of the Extent to 2097120 and running PROSTRCT UNLOCK results in the 4524 error

FACT(s) (Environment):

Progress 8.x
Progress 9.1x
Caldera Open UNIX/SCO UnixWare
Linux Intel
Windows

CAUSE:

The size of the existing Extent has been increased to 1 block over the size that can be accessed by Progress tool

FIX:

Modify the "DatabaseName.d1" setting below to match the actual database name and extent number that is affected by the error:

1) dd if=DatabaseName.d1 of=DatabaseName1.d1 obs=1024 count=4194240

2) ls -l YourDatabase1.d1 # this must be 2147450880

3) mv DatabaseName1.d1 DatabaseName.d1

4) in the "DatabaseName.st", change the line:

d DatabaseName.d1 f 2097152
- to -
d DatabaseName.d1 f 2097120

5) Run: prostrct unlock DatabaseName DatabaseName.st

6) Start the database