Too Many Files In Debian Linux Folder?

Posted by Dave Potts on Server Fault See other posts from Server Fault or by Dave Potts
Published on 2012-09-23T14:13:48Z Indexed on 2012/09/23 15:39 UTC
Read the original article Hit count: 259

Filed under:
|

I've been using an external USB drive on a Debian server for backup. The drive is formatted as NTFS and mounted with ntsfmount. This was working fine, but I was filling up a directory with lots of files. Eventually the backup failed. When I then tried to look at the directory using ls it reported:

ls: reading directory .: Numerical result out of range

Looking in syslog, I also saw this:

Sep 23 07:35:31 tosh ntfsmount[28040]: Failed to read index block: Numerical result out of range.

Is this simply that I've reached the upper limit of number of files in a directory? If so, is there any way to extend the number of allowed files?

© Server Fault or respective owner

Related posts about linux

Related posts about debian