----- Original Message ----- From: "Todd C. Merrill" tmerrill@mathworks.com To: "Sam Schorr" sschorr@homestead-inc.com Cc: "toasters" toasters@mathworks.com Sent: Tuesday, December 19, 2000 3:04 PM Subject: RE: 2 questions for f760
On Tue, 19 Dec 2000, Sam Schorr wrote:
Is this really, possibly, wonderfully true??!! Which version of ONTAP
fixed
this? The reason I ask is that on all our filers (mostly F760 and some F840's), the total number of folders at any one directory level was a function of the inode limit of a 2 bit, unsigned pointer - thus limited
it
to just under 65k directories at any one level. Since we have 9.5
million
user directories spread across those filers, we had to write scripts to check when that threshold was being reached to create a new one.
9.5 million!!! Jeepers.
A quick sh script verifies 2^16 - 1 directory entries are possible, no more:
mkdir: Failed to make directory "65533"; Too many links
(0-65532 directories, plus "." and ".." equals 65,535)
It's exactly linear; every 128 entries, the size of the directory grows by 4,096 bytes. Cool. Linearity is good, and predictable.
Of course, that's different from wafl.maxdirsize, which limits the parent directory to a size of 10MB, which should be able to hold 327,680 such entries....
So, obviously, the directory limitation is different, and I am actually kinda surprised to see it is still there... time for a new filesystem format? :)
Bruce