[Samba] acl_xattr vs acl_tdb
Miguel Medalha
miguelmedalha at sapo.pt
Sun Mar 28 14:24:21 MDT 2010
> A small test gives me total other numbers :-( .
>
> xfs can store 21 to 26 ACEs. It depends on the size of gidnumber.
> ext3 may store 503 to 513 ACEs, also depending on the size of gidnumber.
>
> The test bed:
> fresh created /home partitions with:
> mkfs.xfs -f /dev/hda6
> for xfs, and
> mkfs.ext3 /dev/hda6
> for ext3.
>
> only one directory:
> rmdir /home/dir/ ;mkdir /home/dir/
>
> and a small shell script, which add ACEs:
> /root/acl-test.sh:
>
> #!/bin/sh -ex
> G=2200000000
> #G=10
>
> while :
> do
> G=$(( $G + 1 ))
>
> setfacl -m g:"$G":rwx /home/dir
>
> done
>
>
>
> OS is Debian Lenny:
> debian:/# cat /etc/debian_version
> 5.0.4
> debian:/# uname -r
> 2.6.26-2-amd64
>
> getfacl& setfacl has version: 2.2.47
>
> Other extended attributes may reduce the number of avaiable ACEs.
>
> Conclusion:
> ext3 is a better choice then xfs, at least for Debian Lenny.
>
> I have not tested any special tuning options for ext3 or xfs.
Thank you very much for that information!
More information about the samba
mailing list