Re: samba4 unter ZFS

From: Peter Ross <Peter.Ross(at)alumni.tu-berlin.de>
Date: Mon, 13 Jan 2014 11:03:31 +1100 (EST)

Hallo Nicola,

On Sat, 21 Dec 2013, Nicola Tiling wrote:

> Hi
>
> Am 20.12.2013 um 16:29 schrieb Nicola Tiling <nti(at)w4w.net>:
>>
>> Danke für die Antwort. Ich werde es mal mit dem kTrace probieren.
>
> Wenn ich ein ktrace auf den Prozess "samba: task[dcesrv] (Samba)“ loslasse kommt ein „ls -la“ überhaupt zu keiner Ausgabe mehr, der Cursor hängt quasi. Und im Ktrace Dump bekomme ich als Ergebnis nur endlos viel Zeilen dieser Art
>
> 80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc4c0)
> 80262 samba RET fcntl 0
> 80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc560)
> 80262 samba RET fcntl 0
> 80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc560)
> 80262 samba RET fcntl 0
> 80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc4c0)
> 80262 samba RET fcntl 0
> 80262 samba CALL fcntl(0xc,F_SETLKW,0xffffffffffffc560)
> 80262 samba RET fcntl 0
>
> Erst wenn ich das ktrace abbreche, läuft das „ls -la“ weiter.
>
> F_SETLKW This argument tells fcntl() to attempt to obtain the lock requested in the struct flock structure. If the lock cannot be obtained (since someone else has it locked already), fcntl() will wait (block) until the lock has cleared, then will set it itself. This is a very useful command. I use it all the time.
>
> Kann das hier jmd. erklären?

Hast Du die Gründe gefunden?

Sorry, ich war wegen Ferien weit weg (Tasmanien - wer wirklich
zivilastionsmüde ist, hier ist noch ein ganzes Bundesland, wo man sich
ziemlich gut "verstecken" kann - in großen Landstrichen sogar vorm
Internet;-)

Ich habe beim Aufräumen eine Frage von Dir auf der Samba-Mailingliste
gefunden, und diese Antwort von Andrew Bartlett:

"(except that ZFS ACLs are not glued in to the AD DC, so these
will need to use posix ACLs for now)"

Was heißt das?

Soweit ich sehe, funktioniert mein Samba4-Server in einem ZFS-only Jail -
von Posix-ACLs kann da keine Rede sein..

Es grüßt
Peter

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 13 Jan 2014 - 01:05:14 CET

search this site