What causes the ‘Warning! Some expected files are missing’ while performing "backup flash" on MAS?
While performing a "backup flash" on the Aruba Switches (Version 22.214.171.124 and above), sometimes we may see a message, "Warning! Some expected files are missing" as below.
(Rajaguru-S1500) #show version Aruba Operating System Software. ArubaOS (MODEL: ArubaS1500-48P), Version 126.96.36.199 Website: http://www.arubanetworks.com Copyright (c) 2002-2015, Aruba Networks, an HP company. Compiled on 2015-07-15 at 09:54:16 PDT (build 50853) by p4build ROM: System Bootstrap, Version CPBoot 188.8.131.52 (build 39637) Built: 2013-08-29 00:00:41 Built by: p4build@re_client_39637 Switch uptime is 18 hours 30 minutes 54 seconds Reboot Cause: User reboot (0x86:0x78:0x402b) Processor XLS 208 (revision A1) with 1023M bytes of memory. 955M bytes of System flash Activation Key: Not available or unable to contact Activate (Rajaguru-S1500) #backup flash Please wait while we tar relevant files from flash... Warning! Some expected files are missing. Please wait while we compress the tar file... File flashbackup.tar.gz created successfully on flash. Please copy it out of the switch and delete it when done.
This warning message is not harmful and does not affect the flash backup functionality.
The flash filesystem is a mix of static and dynamic files/folders.
"backup flash" command tars the following files and folders:
All the dynamic folders are created on a need basis as and when the respective functionality is enabled.
For (e.g.) Authentication - AAA profile & “no trusted port” configured on a GE port with CPPM downloadable roles would result in the creation of “/flash/role” folder. If AUTH is configured on the switch with CPPM role enabled, upon configuration & receiving a downloadable role the “/flash/role” folder will be created.
The “backup flash” command runs through the hardcoded list of files (both static & dynamic) for backup, the warning message we see on the CLI is a mere indication that the command could not backup few dynamic folders, because they don’t really exist in the system.