ZFS + Samba/NFS = ugh

Jaz jaz99 at optusnet.com.au
Wed Nov 7 03:05:24 PST 2007


>> > Brooks Talley wrote:
>> > > Hi everyone.  So far, 7.0 is being pretty darned sweet for me.
>> > >
>> > > It's probably a known issue, but I haven't seen it referenced 
>> > > anywhere: it seems that ZFS filesystems can be shared/exported with 
>> > > Samba/NFS, but they do not accept any kind of writes over the 
>> > > network, and have other issues with smbclient ("Error in diskattr: 
>> > > Call returned zero bytes (EOF)" comes up a lot).
>> > >
>> > > Anyone run into this?  Any known fixes?
>> >
>> > NFS _and_ Samba?
>> >
>> > Samba is a userland daemon - if it had problems, other applications
>> > would have also had problems.
>>
>> The issue has been discussed before.  It is very real:
>
> where it was found to be caused by lseek behaving differently on ZFS:
>
> And one person found a work arround for ZFS by removing the
> repdir_get* sources from samba:

So has anything changed since then? ZFS + Samba seems to be working fine for 
me.

I just installed the October snapshot, made a raidz and compiled the samba 
that was in ports. I've smb written many big files, many little files and 
havent been able to make it crash. This is on i386 with only 512mb ram. (it 
did kernal panic before I applied the zfs tunings)

> http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074592.html
> http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074600.html
> http://lists.freebsd.org/pipermail/freebsd-current/2007-July/074601.html
>
> Here is a test program thats shows some problems with the consistency
> of telldir/seekdir behavior:
>
> http://lists.freebsd.org/pipermail/freebsd-current/2007-July/075401.html
>
> Read the full thread to get all the information on the problem.
>
> Scot
> -- 
> DISCLAIMER:
> No electrons were mamed while sending this message. Only slightly bruised.
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org" 



More information about the freebsd-current mailing list