Contents
Problem
Today I was upgrading a Cisco 9300 switch, and needed to free up some space in the flash memory to upload the new system image to. But when I tried to delete the current system file I got this error.
*Feb 12 15:13:42.602: %SW_VLAN-4-IFS_FAILURE: VLAN manager encountered file operation error: call = ifs_read_until (header) / file = flash:vlan.dat / code = 21 (Is a directory) / bytes transfered = -1
%Error Deleting flash:/vlan.dat (Is a directory)
Solution
delete /force /recursive flash:vlan.dat
Reload
Good Luck
Phuong Nguyen