Archiver does not overwrite stale files on low disk space

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
2 posts • Page 1 of 1
Smiffy
Posts: 45
Joined: Thu May 18, 2017 4:21 pm

Archiver does not overwrite stale files on low disk space

Post by Smiffy »

I have an issue where by when the disk becomes full, the archive does not overwrite / remove the older backup files as it should do.
I am running V3.16 patch 23.
The backup tab is of the archive setup is configured as follows:
Archive file change: 4x daily
Compression: Level 1 & 2 selected
Storage: current and new files for correction values remain on hard disk without external storage
Ext. storage frequency: Daily
Deletion: current and new both set to 20 (I have experimented by lowering this to 2 and it still does not work correctly).

The specific issue is when the hard drive is full, the readFile function in the C:\Siemens\Automation\WinCC_OA\3.16\scripts\archiv_client.ctl script file fails at line 1118 with iState = 4;
The values passed to the readFile function are:-
dp=_valueArchiveMedia
action=2
SourceDP=_ValueArcive_9.Action.Filebackup.Progress
iReturn=4
dsFiles=AR_0009_2021.06.10.23.00.30
DeviveSimulation=1
iState=4

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Archiver does not overwrite stale files on low disk space

Post by leoknipp »

Normally if the disk is full the WinCC OA system goes into emergency mode and then it is running with limited functionality, e.g. the archive managers are stopped.
While the archive managers are stopped a deletion of archive files is not possible.

Can you please check if your system is running in emergency mode.
Which device is low on disk space?
The disk where the WinCC OA project is saved or is it the backup device?

According to the code it looks like error code "4" describes that the device where the files shall be copied to is low on disk space.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
2 posts • Page 1 of 1