Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 2006-11-09
Medium Priority
Last Modified: 2007-12-19
I have a problem with erasing the NVRAM on a CISCO 2621XM



Router#sh vers
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-IS3X-M), Version 12.3(16), RELEASE SOFTWARE (fc4)
Technical Support:
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Tue 23-Aug-05 17:44 by ssearch
Image text-base: 0x80008098, data-base: 0x8184F27C

ROM: System Bootstrap, Version 12.2(7r) [cmong 7r], RELEASE SOFTWARE (fc1)
ROM: C2600 Software (C2600-IS3X-M), Version 12.3(16), RELEASE SOFTWARE (fc4)

Router uptime is 31 minutes
System returned to ROM by reload
System image file is "flash:c2600-is3x-mz.123-16.bin"

cisco 2621XM (MPC860P) processor (revision 0x100) with 94208K/4096K bytes of memory.
Processor board ID JAD07150PTU (1031150207)
M860 processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
2 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102


Router#test mem
Testing NVRAM card will remove all files! Continue [y/n] ? y

Warning: This test will result in the loss of the NVRAM configuration!
Continue [y/n] ?
*Mar  1 00:32:38.619: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram
*Mar  1 00:32:38.667: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram
*Mar  1 00:32:38.715: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram


Router#dir all
Directory of system:/

   10  drwx           0                    <no date>  its
    2  dr-x           0                    <no date>  memory
    1  -rw-         622                    <no date>  running-config
    9  dr-x           0                    <no date>  vfiles

No space information available
Directory of nvram:/

%Error opening nvram:/ (Bad file number)

No space information available
Directory of flash:/

    1  -rw-    14962944   Nov 3 2006 13:40:24 +00:00  c2600-is3x-mz.123-16.bin

16252924 bytes total (1289916 bytes free)
*Mar  1 00:25:03.247: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram
*Mar  1 00:25:03.299: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram


Router#sh file systems
File Systems:

     Size(b)     Free(b)      Type  Flags  Prefixes
           -           -    opaque     rw   system:
           -           -     nvram     rw   nvram:
           -           -    opaque     rw   null:
           -           -    opaque     ro   xmodem:
           -           -    opaque     ro   ymodem:
           -           -   network     rw   tftp:
*   16252924     1289916     flash     rw   flash:
           -           -   network     rw   rcp:
           -           -   network     rw   pram:
           -           -   network     rw   ftp:
           -           -    opaque     ro   cns:

*Mar  1 00:25:15.307: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram
*Mar  1 00:25:15.359: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram


Router#write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
%Error erasing nvram: (Invalid argument)
*Mar  1 00:36:12.711: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram
*Mar  1 00:36:12.759: %SYS-4-NV_BLOCK_INITFAIL: Unable to initialize the geometry of nvram
Question by:e_stavrakakis
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 63

Expert Comment

ID: 17906827
Is it possible that you have bad NVRAM ?

Is this onboard or a plug in card ?

I would call your Cisco Rep if you are under any Maint. Agreement to get this repaired.

I hope this helps !

Author Comment

ID: 17907672
I think there is no question of NVRAM problem since it used to operate properly
The NVRAM is on board and I believe it has to do with it getting full from a big startup-configuration file and therefore compromising the filesystem structure.

Any suggestions?
LVL 63

Expert Comment

ID: 17907861
If I remember correctly, your should be able to do a system reset that loads the default configuration from ROM into NVRAM.
It is possible that the unit will require repair, since NVRAM is pretty critical.

Can you try to use an external NVRAM if the internal becomes unusable ?

I hope this helps !
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


Author Comment

ID: 17908170
Do you remember how...... ?

No thats not an option on an 2621XM

LVL 63

Expert Comment

ID: 17908241
Unfortunately no, but I would check cisco's site, and maybe someone else will jump in and help.

You might post a link to this qustion in the Networking topic also.

I hope this helps !

Author Comment

ID: 17913133
How do i post a link to this question in the networking topic?

just copy and paste link location or .....?
LVL 63

Accepted Solution

SysExpert earned 1500 total points
ID: 17914181
Post a URL link to this question or open a new one in the following TA

Expert Comment

ID: 18069898
Hi you've got a 16MB image running and have run out of flash memory.  You need to delete some files so can get it and do what you want.  Cisco recommends that you need to delete around 2k.  See output:

1. %SYS-4-NV_BLOCK_INITFAIL: Unable to initalize the geometry of nvram
The software failed to initialize the NVRAM block geometry, which is a part of the NVRAM used to host nonconfiguration data files. Typically, these files are used by SNMP to store and retrieve nonconfiguration persistent data across a system reload. This failure may occur when the entire NVRAM is packed with the configuration, and the version of software that supports this feature could not find the minimum room in the NVRAM to initialize the block file system.

Recommended Action: Reduce the configurations in the NVRAM by at least by 2K.

Related documents- No specific documents apply to this error message.


Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

    Over the past few years, small business and home owners have become so dependent on internet that a need for redundancy has arisen.    What happens when your small business or home / home office loses its internet connection?  The results c…
Sometimes you have to pull out old tricks to get a new firewall to work… While we were installing a new Sonicwall at a customers site we found that sites they were able to visit before were not working.  It seemed random and we could not understa…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question