Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Error with "dir flash:"

Anyone knows why I am getting this "dir flash" error output. See below. I have no issues with others 2851 routers running the exact same IOS image:

2851#show flash:

-#- --length-- -----date/time------ path

1 1623191 Jul 10 2007 21:25:58 +00:00 C2800NM_RM2.srec.124-13r.T5

3 38444260 Jul 30 2007 20:19:58 +00:00 c2800nm-advipservicesk9-mz.124-16.bin

5 51432612 May 8 2009 05:10:18 +00:00 c2800nm-advipservicesk9-mz.124-15.T9.bin

125165568 bytes available (131342336 bytes used)


C2851#dir flash:

Directory of flash:/

%Error calling getdents for flash:/ (File not found in Inode table)

256507904 bytes total (125165568 bytes free)


C2851#sh ver

Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(16), RELEASE SOFTWARE (fc1)

Technical Support:

Copyright (c) 1986-2007 by Cisco Systems, Inc.

Compiled Wed 20-Jun-07 07:19 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T5, RELEASE SOFTWARE (fc1)

C2851 uptime is 27 weeks, 6 days, 8 hours, 13 minutes

System returned to ROM by power-on

System restarted at 05:54:21 gmt Sat Oct 25 2008

System image file is "flash:c2800nm-advipservicesk9-mz.124-16.bin"

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

If you require further assistance please contact us by sending email to

Cisco 2851 (revision 53.51) with 512000K/12288K bytes of memory.

Processor board ID FTX1033A0LH

2 Gigabit Ethernet interfaces

1 Serial interface

2 Virtual Private Network (VPN) Modules

DRAM configuration is 64 bits wide with parity enabled.

239K bytes of non-volatile configuration memory.

250880K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102


Cisco Employee

Re: Error with "dir flash:"


Can you format the flash and see if it resolves the issue ?



CreatePlease to create content