SUMMARY: files and directories limits

From: Huang S. Yann (yann@veritel.com.br)
Date: Fri Jul 21 2000 - 15:31:24 CDT


        Every answers agree that the limit is the number of inode I can use in
the filesystem.

        It isn't recommended to use a lot of files in a directory like 5k,
because it will result in a bad access performance. A better solution
is distribute the files in some directories.

        The command wrote by Kallberg it's very useful:

# df -F ufs -o i
Filesystem iused ifree %iused Mounted on
/dev/dsk/c0t0d0s0 4041 71223 5% /
/dev/dsk/c0t0d0s1 38918 291450 12% /usr
/dev/dsk/c0t0d0s3 1064 99288 1% /var
/dev/dsk/c0t0d0s4 6163 334317 2% /export
/dev/dsk/c0t0d0s5 34197 344427 9% /opt

        Thanks for:
 
Nickolai Zeldovich <kolya@zepa.net>
Bill Hathaway <wdh@perfectorder.com>
Petri Kallberg - Sun Finland - <kallu@helsinki.Finland.Sun.COM>
Stuart Whitby <swhitby@legato.com>
"Stout, Logan" <ldstout@MediaOne.com>

        Yann

"Huang S. Yann" wrote:
>
> I'm using Solaris 7 and working with thousands files. I'm planning a
> solution and I would like to know which are the limits of:
>
> a) how many files a directory handle;
>
> b) how many files/directories a filesystem handle;
>
> c) how many subdirectories a directory handle.
>
> Thanks for any tip.
>
> Yann
>
> --
> H. S. Yann
> yann@veritel.com.br
> System & Network Administrator
> VeritelNet
>
> S
> U BEFORE POSTING please READ the FAQ located at
> N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
> . and the list POLICY statement located at
> M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
> A To submit questions/summaries to this list send your email message to:
> N sun-managers@ececs.uc.edu
> A To unsubscribe from this list please send an email message to:
> G majordomo@sunmanagers.ececs.uc.edu
> E and in the BODY type:
> R unsubscribe sun-managers
> S Or
> . unsubscribe sun-managers original@subscription.address
> L To view an archive of this list please visit:
> I http://www.latech.edu/sunman.html
> S
> T

--
H. S. Yann
yann@veritel.com.br
System & Network Administrator
VeritelNet

S U BEFORE POSTING please READ the FAQ located at N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq . and the list POLICY statement located at M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy A To submit questions/summaries to this list send your email message to: N sun-managers@ececs.uc.edu A To unsubscribe from this list please send an email message to: G majordomo@sunmanagers.ececs.uc.edu E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers original@subscription.address L To view an archive of this list please visit: I http://www.latech.edu/sunman.html S T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:12 CDT