Follow via:
RSS
Email Alert
Question
0 Votes
+ -

Cisco 871 lost its flash filesystem

My Cisco 871 router dropped dead overnight. It now wakes up with the following message:

---------------------

System Bootstrap, Version 12.3(8r)VI2, RELEASE SOFTWARE
...
...
C870 Series (Board ID:3-148) platform with 131072 Kbytes of main memory

flashfs[0]: unable to allocate available block.
flash: file system initialization failed
Could not open boot directory: flash:/
Unable to open boot file

------------------------

What should I do to recover the filesystem?
I do have the configuration file saved somewhere else.

Thanks.
19th Mar 2007

Answers (2)

0 Votes
+ -
weird, It happend to me to ...
Just now!

Let me know what You did, im? quite worried, since it was my test router who went dead...

System Bootstrap, Version 12.3(8r)YI3, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.

C870 series (Board ID: 3-148) platform with 131072 Kbytes of main memory

flashfs[0]: unable to allocate available block.
flash: file system initialization failed
Booting flash:c870-advipservicesk9-mz.123-8.YI2.bin
Error opening: flash:c870-advipservicesk9-mz.123-8.YI2.bin

System Bootstrap, Version 12.3(8r)YI3, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.

C870 series (Board ID: 3-148) platform with 131072 Kbytes of main memory

I ?ve got about 12 of those in production sites, and I?ll go postal if the die...
21st Mar 2007

Replies

My router didn't have anything left. Yours seems to have the IOS image corrupted. I couldn't do much and so I just reloaded the IOS image and reconfigured it.

Did you have high level logging turned on? I left mine on at debug level. I don't know if that filled up the flash drive and caused the dump, like the Mars Rover! I now have logging set at low level and see if that works any better.
mshield123-news@... 21st Mar 2007
Iv? formattet the flash: system, and the reloaded the IOS image from a console session. weeh best 2 hours of fun ever... (not).
only problem left now is to make this sucker, start whit the proper config.. (keeps falling back to a standard config, regardless I keep saving the running config to startup... (ARGHH)
p.s. I?ll set all my routers to lowlevel debug
jacob.p@... 26th Mar 2007
0 Votes
+ -
Recover of the Cisco c870
When you boot the router c871, if the flash file-system does not work, after 3 retries it goes to the Rom Monitor [rommon].
I suggest to format the flash file-system and then reload the IOS file if you have saved it anywhwere else.
The startup-config it is not erased because it is stored to another part inside the NVRAM of the router.

rommon 1> format flash:
... wait 2-3 minutes ...

then set the variables for tftfdnld

IP_ADDRESS=192.168.1.100
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.1.1
TFTP_SERVER=192.168.1.200
TFTP_FILE=the_name_of_the_ios_image.bin

tftpdnld
... wait ...

you may use the SET command of the RomMonitor to review your settings.
I suggest as an TFTP server the Solarwinds
it is easy and free.
At the example above the first IP is the
temporary IP of the router, the IP of the TFTP_SERVER is the IP of te PC running the TFTP server (Solarwinds).

When you reboot the router (or reload) then
it will start with the startup-config you have created the last time.
I suggest to update the router with the latest SDM tool that usualy comes on a CD with the router.

Good Luck.
K.L.Angelis
13th Jul 2007

Replies

I used the above procedure to upgrade the flash in my 871w from 24mb to 52mb adding a 32mb flash card. It worked like a champ took less than 30 minutes and I was up and running with the new Flash, IOS Image and my previous config. Excellent!
rhard49@... 24th Oct 2007
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.