Samba + POSIX ACL, e2fsck
Petr Novák
petr.novak na tecom.cz
Pondělí Listopad 24 14:17:08 CET 2003
>Dobrý den,
>máte někdo zkušenosti se Sambou + POSIX ACL?
>zápisy na síťové disky s acl od klientu win2k-XP a následně e2fsck vždy
>vedou k chybám :
>"Inode xxx, i_blocks is yyy, should be zzz. Fix?"
>win98 jsou O.K.
...
Chyba odhalena, kritická volba v konfiguraci kernelu:
[*] Ext3 extended attribute block sharing
V různých návodech je nevinně vyhlížející doporučení :
<*> Ext3 journalling file system support
[*] Ext3 extended attributes
[*] Ext3 extended attribute block sharing
[*] Ext3 extended user attributes
[*] Ext3 trusted extended attributes
[*] Ext3 POSIX Access Control Lists
[ ] JBD (ext3) debugging support
[...]
<*> Second extended fs support
[*] Ext2 extended attributes
[*] Ext2 extended attribute block sharing
[*] Ext2 extended user attributes
[*] Ext2 trusted extended attributes
[*] Ext2 POSIX Access Control Lists
zřejmě pro účel Samba + POSIX ACl je lépe se chybám vyhnout :
<*> Ext3 journalling file system support
[*] Ext3 extended attributes
[ ] Ext3 extended attribute block sharing
[ ] Ext3 extended user attributes
[ ] Ext3 trusted extended attributes
[*] Ext3 POSIX Access Control Lists
[ ] JBD (ext3) debugging support
[...]
<*> Second extended fs support
[*] Ext2 extended attributes
[ ] Ext2 extended attribute block sharing
[ ] Ext2 extended user attributes
[ ] Ext2 trusted extended attributes
[*] Ext2 POSIX Access Control Lists
.
Ještě poznámka ke XFS:
Začal bych ho používat i doporučovat např. kdyby byl rychlejší.
Takže test - kopie adresáře obsahující cca 3000 podadresářů.
výsledky:
XFS ... 65 sec
EXT3 ...33 sec
-> XFS je 2x pomalejší než EXT3.
Děkuji nechci.
Petr Novák
---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.543 / Virová báze: 337 - datum vydání: 21.11.2003
Další informace o konferenci Linux