From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98646619011639.tru64-unix-managers.marc@archive.invalid> From: Claude Scarpelli Date: Thu, 05 Apr 2001 10:22:22 +0000 To: tru64-unix-managers Subject: AdvFS restriction ? Can't create more than 32768 directories ! X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98646619011639 Dear Managers, The problem : when a directory contains 32678 directories, there is no ways to create any additional directory or file ! I'm running 4.0F, file system type is AdvFS. I think this is an AdvFS restriction, since I'm not aware of such a restriction in UNIX (POSIX). I've been unable to find a reference to this restriction in the Releases Notes. Did I miss something ? vesuvio3$ mkdir /tmp/claude vesuvio3$ cd /tmp/claude vesuvio3$ i=1 vesuvio3$ while mkdir d-$i > do > i=`expr $i + 1` > done mkdir: cannot access directory . .: No such file or directory vesuvio3$ ls -1 | wc -l 32766 vesuvio3$ 32766 directories, plus . and .. = 32768 = 2**15 ! vesuvio3$ df -k . Filesystem 1024-blocks Used Available Capacity Mounted on tmp_domain#tmp 1680288 273449 1348456 17% /tmp vesuvio3$ Look at the strange errno value returned by open(2) : vesuvio3$ trace touch foo [.....] open ("foo", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 (No such file or directory) open(2) returns -1, and errno is set to ENOENT. I'm pretty sure I have directories that contains more than 32768 files. Can someone comment on that ? -- ------------------------------------------------------------------------------ Claude Scarpelli | Defenestrate: to exit a window Centre National de S�quen�age - GENOSCOPE | onscreen. (Time International 2, rue Gaston Cr�mieux, F-91000 EVRY FRANCE | Vol 146, No. 20, Nov 13, 1995)