Guest

Preview Tool

Cisco Bug: CSCuq42178 - File transfer to flash failure: No more root directory entries available

Last Modified

Aug 23, 2017

Products (84)

  • Cisco IOS
  • Cisco 886VAG 3G Integrated Services Router
  • Cisco 819 Hardened Integrated Services Router
  • Cisco 1905 Serial Integrated Services Router
  • Cisco 886VA-CUBE Integrated Services Router
  • Cisco 812 CiFi Integrated Services Router
  • Cisco 888W Integrated Services Router
  • Cisco C892FSP Integrated Services Router
  • Cisco 2951 Integrated Services Router
  • Cisco VG204XM Analog Voice Gateway
View all products in Bug Search Tool Login Required

Known Affected Releases

15.4(2)T1

Description (partial)

Symptom:
File transfer/file creation will fail and print the error message No more root directory entries available when the maximum number of files within the root directory of the compact flash is reached and a new file transfer /creation attempt occurs.  Any further attempt at file transfer/creation to the flash will fail regardless of what process transfers/creates the file.

Conditions:
Regardless of the total remaining free space on the compact flash this issue will occur when the root directory contains 252 files and a file transfer/creation attempt occurs (examples below).  

The file test-file.txt is 1KB in size.

File copy:

CF-Test# copy ftp://username:password@10.10.10.10/CF-Test/test-file.txt flash:
Destination filename [test-file.txt]?
Accessing ftp://*****:*****@10.10.10.10/CF-Test/test-file.txt
Loading CF-Test/test-file.txt!
[OK - 612/4096 bytes]
%Error opening flash0:/test-file.txt (No more root directory entries available)


Show command redirect attempt (File creation):

CF-Test#show version | redirect flash:version.txt
%Error opening flash0:version.txt (No more root directory entries available)
CF-Test#
000031: *Aug 17 16:50:30.655: %PARSER-3-URLOPENFAIL: cannot open file for redirection 'No more root directory entries available'

Output of show flash displaying capacity:

CF-Test#sh flash:
-#- --length-- -----date/time------ path
1     99098648 Jun 26 2014 10:43:10 +00:00 c2900-universalk9-mz.SPA.154-2.T1.bin
<snip>
252    100000   Aug 6 2014 20:57:16 +00:00  Test-File252.txt 
260153344 bytes total (37146624 bytes free)

Related Community Discussions

<key>CSCuq42178</key> - File transfer to flash failure No more root directory entries available
Don't know how many have encountered this already but, I just did :)   The fix was simple but did require some searching. See below:   Symptom: File transfer/file creation will fail and print the error message No more root directory entries available when the maximum number of files within the root directory of the compact flash is reached and a new file transfer /creation attempt occurs. Any further attempt at file transfer/creation to the flash will fail regardless of what process transfers/creates ...
Latest activity: Apr 13, 2016
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.