Automated File Management System
Feature Name |
Release Information |
Feature Description |
---|---|---|
Automated File Management System |
Cisco IOS XR Release 24.4.1 |
The new Automated File Management System is designed for efficient file handling on each node. This system automatically archives older files and removes them from local nodes to free up valuable SSD space. It manages the following types of files:
|
The automated file management system archives older files to free up valuable SSD space by deleting them from the local nodes.
Types of files
The SSD stores two types of files that are generated by
-
User: creates and owns files for requirement purposes and deletes the files when are no longer needed.
-
System: organizes files automatically based on the file content and the application that created the content such as .log and showtech-related residual files.
Automated file management is applicable for the system-generated files.
How the automated file management system works
These stages describe how the automated file management works for various files.
Log files
The NCS 1014 system uses the log rotation configurations to manage log files as required.
-
The system checks for the .log files exceeding 10 MB file size.
Note
This threshold is applicable for /tmp folder files only. For files in other folders, the system uses a different threshold and follows the same process.
-
After locating the file, the system
-
archives that file with .gz extension, and
-
creates a new .log file with the same name.
-
-
The system then maintains one active log file and two archived files.
-
When new files are archived, the system deletes the oldest archived file to make sure that only the two most recently archived files and the current log file are retained.
showtech-related residual log files
-
The system generates the residual files during the collection of logs when Showtech logs is in operation.
-
After collecting the logs, the system automatically removes these residual files to conserve space.