The "Error getting file system status (Invalid file header magic number)" and "%Error calling getdents for bootflash:/ (Invalid file header magic number)" error message appears in Catalyst 6000 / 6500 series switches

Document

Jul 22, 2009 7:34 PM
Jun 18th, 2009

Core issue

When you issue the show bootflash: all command in order to display information about the bootflash: file system, it only shows part of the boot flash information and at the end, the Error getting file system status (Invalid file header magic number)error message appears.

This is due to bootflash corruption. This happens sometimes when a crashinfo file written due to crash into bootflash and later on a file is copied after this crashinfo file.

In some scenarios, when you issue the dir bootflash: command, you receive this error message:

%Error calling getdents for bootflash:/ (Invalid file header magic number)

No space information available

Resolution

In order to overcome this error message, the bootflash needs to be formatted and required files needs to be copied again.

This can be done by the format bootflash: command. Then copy files from the disk in order to recover the Flash Memory.

Note: Always be careful while you format the Flash device. If the Multilayer Switch Feature Card (MSFC) is reloaded before a new image is downloaded, you must recover the MSFC with Xmodem.

Overall Rating: 0 (0 ratings)

Actions

Login or Register to take actions

This Document

Posted June 18, 2009 at 3:55 PM
Updated July 22, 2009 at 7:34 PM
Stats:
Comments:0 Overall Rating:0
Views:2494 Contributors:0
Shares:0
Categories: Switches
+
 

Documents Leaderboard

Rank Username Points
1
TCC_2
243
2
Andrew Gossett
120
3
ashirkar
96
4
Adam Casella
79
5
SunilKhanna
75
Rank Username Points
TCC_2
5