Re: ZFS + Samba/NFS = ugh

From: Jaz <jaz99_at_optusnet.com.au>
Date: Wed, 7 Nov 2007 11:11:27 +1100
>> > 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" 
Received on Wed Nov 07 2007 - 10:05:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC