Re: Maximum number of files on a disk ?



Two further points:
1. Are all these filed in a single directory?
2. How new is the ubuntu? You're probably using the open source NTFS-g
emulation, which is itself based on the FUSE filedystem. That ntfs-g
component did have a bug that resulted in the operation unsupported
error. It was fixed in a later version

Sent from my iPhone

On Nov 28, 2008, at 3:40 PM, "Wayne Vucenic" <nightphotos@xxxxxxxxx>
wrote:

On Fri, Nov 28, 2008 at 10:26 AM, Axel Etzold <AEtzold@xxxxxx> wrote:
The spaces in the file name are no problem.

Agreed spaces are no problem, but your file name is somewhat atypical.
Have you tried with a totally plain vanilla file name?

I cannot create any files ...This works again if I delete some file/
folder.

Sorry to ask the obvious, but are you out of space on the disk (or
anywhere close to being out of space)?

Also, Tim makes a good point about files in folders. Although NTFS
has
no limit on this, on older versions of NTFS, things got very slow if
there
were more than a few thousand files in a folder. That's been fixed in
newer versions, but it's still a good idea not to put lots of files
in the
same folder.

Good luck,

Wayne

---
Wayne Vucenic
No Bugs Software
Agile Ruby (but preferably not Rails) Contract Programming in Silicon
Valley since 2001


-------- Original-Nachricht --------
Datum: Fri, 28 Nov 2008 08:10:34 +0900
Von: "Wayne Vucenic" <nightphotos@xxxxxxxxx>
An: ruby-talk@xxxxxxxxxxxxx
Betreff: Re: Maximum number of files on a disk ?

On Thu, Nov 27, 2008 at 2:16 PM, Axel Etzold <AEtzold@xxxxxx> wrote:

the maximum number of files that can be created on a hard disk...
for ... NTFS and fat32 ...

For NTFS, the maximum number of files that can be created is 2**32
- 1.

I'd expect that the number for fat32 is similarly large.

Hope this helps,

Wayne

---
Wayne Vucenic
No Bugs Software
Agile Ruby (but preferably not Rails) Contract Programming in
Silicon
Valley since 2001

Dear Wayne,

thank you for responding.
I am writing to an NTFS disk, where I am splitting up a large XML
file into smaller
bits, which are saved as individual files ( and closed immediately
after writing to them).
The process runs smoothly until I get the following last correct
output

49'000'000 # <- number of lines traversed in the XML file so
far (print every 500'000)
<current file title>
1483042 # <- smaller files written to disk so far

and this error:

lbwiki2.rb:114:in `initialize': Operation not supported - /media/
Philips External Hard Disk/en_wiki/Warnock's\ Dilemma
(Errno::EOPNOTSUPP)
from lbwiki2.rb:114:in `new'
from lbwiki2.rb:114
from lbwiki2.rb:85:in `each'
from lbwiki2.rb:85

In this line 114, there's a File.new for the next small file to be
created. The spaces in the file name are no problem.
I am using Ubuntu 8.10 (32 bit) + ruby-1.8.7-p72.

I cannot create any files on the disk anymore, neither with Ruby
nor on the command line. This works
again if I delete some file/folder.

So there must be some maximum amount of files that this NTFS disk
can handle, which is way below 2**32-1 ...
What can I do here ?


Thank you very much!

Best regards,

Axel
--
Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569
a





.



Relevant Pages

  • Re: File Searching, how to speed it up?
    ... If you have more data than FAT32 can hold, use ntfs with a larger cluster ... If the average disk queue length goes over 2 it does terrible things ... Nested, 120 files per folder, 60 of those folders for each parent ...
    (microsoft.public.dotnet.framework.performance)
  • Re: Maximum number of files on a disk ?
    ... Although NTFS has ... were more than a few thousand files in a folder. ... Agile Ruby Contract Programming in Silicon ... Betreff: Re: Maximum number of files on a disk? ...
    (comp.lang.ruby)
  • Re: large files in C:/docs-settings/myname/nethood
    ... them into a new "my programs" folder on my D drive and everything works much ... How large is your hard disk and how much free disk space? ... formatted as FAT32 or NTFS? ... Advanced and check the box before Compress contents to save ...
    (microsoft.public.windowsxp.perform_maintain)
  • How to Restrict Access to Folders on a Second Drive
    ... The drive is NTFS however the "Make this ... folder Private" checkbox only works on folders under the ... >> How can I restrict access to directories that are not ... >You need to have the disk formatted with NTFS to set ...
    (microsoft.public.windowsxp.security_admin)
  • XP Media Center, runs slow, has glitches
    ... Windows Explorer) to be opened. ... select a folder to choose files from, ... The latest chkdsk results ... 75967340kb available on the disk ...
    (microsoft.public.windowsxp.help_and_support)