The customer was attempting to add a new VLAN, but it was not appearing on a couple of the switches. The IT team approached us, suggesting that we hold the WIFI migration as they needed to replace the switch due to issues with Flash. They were unable to see the files in the flash when issuing “show flash: & Dir Flash: Command”
Instead of replacing the switch, I asked them to issue the command ‘FSCK flash:’. This resolved their problem and we were able to successfully complete our project.
Whats is FSCK
FCSk command is used to check and repair the files systems of Cisco router, switches, firewalls etc … This command check the given filesystem and repair any problem it finds. This command is similar to the FCSk command in Linux.
It’s often used to recover wasted disk space directly from the Command Line Interface (CLI).This command should not impact the operational functionality of the device and can typically be run at any time
How to Run this command

if you’re having issues with flash memory on a Cisco device, you might use the fsck flash: command.