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


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


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)


Login or Register to take actions

This Document

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