To resolve the issue of FULL extents not being emptied:
Online Option 1: Use aiarchive extent to explicitly archive each full extent1. Stop the AIMGT deamon online:
$ rfutil <dbname> -C aiarchiver end
2. Take a list of all current FULL AI extents:
$ rfutil <dbname> -C aimage list | egrep -i "Status|Path"
3. Manually archive each FULL AI extent:
$ rfutil <dbname> -C aiarchive extent <path>/<dbname>.a1 <FULL/ARCHIVEPATH>/<dbname>.a1
4. Check the current AI extent status (all FULL extents will be marked EMPTY after being manually archived)
$ rfutil <dbname> -C aimage list | egrep -i "Status|Path"
5. Restart the AIMGT deamon:
$ _mprshut <dbname> -C aimgt -aiarcdir <FULL/ARCHIVEPATH> -aiarcinterval n
Online Option 2: Disable the Aiarchiver1. Disable the aiarchiver online:
$ rfutil <dbname> -C aiarchiver disable
2. Take an OS copy of each FULL extent then empty the full extents manually, run the following command repeatedly until there are no more FULL extents:
$ rfutil <dbname> -C aimage empty extent
Verify the current AI extent status.
$ rfutil <dbname> -C aimage list | egrep -i "Status|Path"
3a. Prior to OpenEdge 10.1B the archiving and emptying of AI extents will need to be manually managed until such a time that the database can be shutdown and the AI Archiver re-enabled
offline.
$ rfutil <dbname> -C aiarchiver enable
3b. OpenEdge Release 10.1B introduced after-imaging (AI) enablement online including the enablement of the AI Archiver:
$ probkup online <dbname> <backupdevicename> enableaiarchiver -aiarcdir <dirlist> -aiarcinterval n [-aiarcdircreate]
Offline: Disable the AIMGT feature
1. Disable the AIMGT Feature
$ proutil dbname -C aiarchiver disable
2. OS Copy AI extents to the aiarchive directory (-aiarcdir)
3. Empty all FULL AI extents
$ rfutil dbname -C aimage list | egrep -i "Status|Path"
Run the following command for each Full extent:
$ rfutil dbname -C aimage empty
4. Re-enable the AIMGT Feature
$ rfutil dbname -C aiarchiver enable
5. Verify that the archive directory (-aiarcdir) is accessible and has sufficient space available then restart the database