cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8475
Views
0
Helpful
7
Replies

cisco catalyst 2960s startup-config file open failed (Not enough space) Error

Dear Team,

We have 4 cisco catalyst 2960s switches in stack, after some changes on switch we put write memory command that time we got startup-config file open failed (Not enough space) Error.

Error- startup-config file open failed (Not enough space)

please tell me in this condition what we do, we are trying to solve this issue but till we did not get any answer how to solve this error.

If anyone know how to solve this please tell me 

Regard's

Sudhir

1 Accepted Solution

Accepted Solutions

ok try this post

show boot

check the buffer size and change it and then reload the switch

(conf t)boot buffersize (number for nvram size)

then run again--- dir nvram:

looks like nvram has become corrupted , hopefully its not hardware at fault

View solution in original post

7 Replies 7

Mark Malone
VIP Alumni
VIP Alumni

hi

Try compress the configs in flash...service compress-config to free up space  , what space is left when your run ...dir nvram:

can anything be deleted from nvram ?

after its compressed try again , if not then you need to delete something

Hi,

thanks for your support, but when i put service compress-config on switch that time we get below error

Error- (config)#service compress-config
Boot ROMs do not support NVRAM compression.
Disabling service compress-config.

And when we put

CISCO1#dir nvram:

that time we get below mentioned output

CISCO1#dir nvram:
Directory of nvram:/

%Error opening nvram:/ (Function not implemented)

524288 bytes total (483211 bytes free)

plz tell in this case what we do....

Regards

Sudhir

ok try this post

show boot

check the buffer size and change it and then reload the switch

(conf t)boot buffersize (number for nvram size)

then run again--- dir nvram:

looks like nvram has become corrupted , hopefully its not hardware at fault

Hi Mark,

thanks for your quick reply

but can you tell me what buffersize  I configure on switch

Regards

Sudhir

can you post the show boot so I can see what you have first please

I configured boot buffersize 524288 now waiting for restart approval.... thank for Quick support.  

CISCO#sh boot
BOOT path-list : flash:c2960s-universalk9-mz.150-2.SE7.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
Allow Dev Key : yes
HELPER path-list :
Auto upgrade : yes
Auto upgrade path :
NVRAM/Config file
buffer size: 524288
Timeout for Config
Download: 0 seconds
Config Download
via DHCP: disabled (next boot: disabled)
-------------------

hemmerling
Level 1
Level 1

Found this thread, but I couldn't really reboot the device (who knows how long it hasn't been saving the config), so I just ran:

erase startup-config

then

write memory

and it seemed to fix it without needing to modify the buffer size or reboot it.
Here's the log.

VG202#wr
startup-config file open failed (Not enough space)

VG202#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
VG202#wr
Building configuration...

[OK]
VG202#wr
Building configuration...

Compressed configuration from 16148 bytes to 7628 bytes[OK]
VG202#
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco