Projet

Général

Profil

Scénario #16504

Mis à jour par Klaas TJEBBES il y a presque 8 ans

Ajouter l'option "barrier=1" et enlever les options "user_xattr,acl" :

https://wiki.samba.org/index.php/Operating_system_requirements/File_system_support
<pre>
*

ext4
fstab

For filesystems of that type shared by Samba, add the following options to your /etc/fstab:

/dev/... /srv/samba/demo ext4 defaults,barrier=1 1 1

Note: The „barrier=1“ option ensures that tdb transactions are safe against unexpected power loss.

Please be careful modifying your fstab. It can lead into an unbootable system!

Kernel support

Ensure that your kernel has the following options enabled:

CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_SECURITY=y
CONFIG_EXT4_FS_POSIX_ACL=y

* ext3
fstab

For filesystems of that type shared by Samba, add the following options to your /etc/fstab:

/dev/... /srv/samba/demo ext3 user_xattr,acl,barrier=1 1 1

Note: The „barrier=1“ option ensures that tdb transactions are safe against unexpected power loss.

Please be careful modifying your fstab. It can lead into an unbootable system!
</pre>

Retour