[CentOS] Re: too many links error when creating directories
Kay Diederichs
kay.diederichs at uni-konstanz.de
Fri Sep 28 15:09:14 UTC 2007
Andreas Micklei schrieb:
> Am Freitag, 28. September 2007 schrieb Bill Campbell:
>> I would avoid reiserfs as I've seen far too many cases where
>> there has been massive data loss with it. I've used xfs
>> extensively on SuSE systems without problems, but haven't tried
>> it on centos as it's not supported by the base systems.
>
> Works great using the XFS Module from CentOSPlus. We use it for the data
> partition of our fileserver.
>
I just ran the script:
#!/bin/tcsh -f
@ number = 0
loop:
@ number += 1
echo touch $number
touch $number
if ( $number < 100000 ) goto loop
on a XFS partition of a CentOS 5 x86_64 system with
kmod-xfs-0.4-1.2.6.18_8.1.8.el5 and xfsprogs-2.8.20-1.el5.centos installed.
The script ran smoothly and took
46.238u 224.379s 4:37.93 97.3% 0+0k 0+0io 0pf+0w
to complete; all the files are there. So 100000 files in a single
directory is not a problem for XFS.
HTH,
Kay
More information about the CentOS
mailing list