Take 1 minutes to read this article

At CentricsIT, we are your IT experts. We are here to help with any IT issue that arises in your data center. If there is an error code that you can’t fix, we can help in our monthly FixIT column. This month, we are focusing on the Cisco Error Code Router#dir disk0: %Error opening disk0:/ (No such device).

Error Code:

Router#dir disk0: %Error opening disk0:/ (No such device)


This error code is primarily associated with Cisco Catalyst machines that are using compact flashes. It can be attributed to an invalid DOS media or no media in slot error.


Format disk0: When given the prompt, “Format operation may take a while. Continue?” confirm. When given the prompt, “Format operation will destroy all data in ‘disk0:’”, confirm. If you are then presented with the error message “%Error formatting disk0: (No such device)”, there is an error with your compact flash and you will need to replace it.


It is strongly recommended that you do not remove a compact flash memory card from the chassis while it is being accessed. You will know when flash memory is being accessed, because the CF LED light will blink. Removing and replacing the compact flash from the router while the flash memory is being accessed can cause erratic operation and data corruption.

If you have any further questions about this error, feel free to contact our dedicated IT maintenance support staff by calling us toll free at 1-877-531-7466. We offer a number of advanced IT repair services.

Want more out of your hardware support? Contact a Support Specialist at CentricsIT to employ a more proactive approach to your IT lifecycle management.