While I was doing VLAN lab, I kept getting below errors as adding new VLAN on VLAN database mode.
Error on database apply 40: NV storage failure
I am using GSN3 / Dynamips for the lab. Here is my workaround to share.
Cisco_VLAN# vlan database
Cisco_VLAN(vlan)# vlan 30
% not enough space on flash to store vlan database. trying squeeze…First create squeeze log by erasing the entire device % error squeezing flash – (Missing or corrupted log)
Error on database apply 40: NV storage failure
Use ‘abort’ command to exit
Cisco_VLAN(vlan)# abort
Cisco_VLAN#
Try this
Cisco_VLAN# delete flash:vlan.dat
Cisco_VLAN# squeeze flash:
and reboot from GNS or dynamips.