Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 00:33:28 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Daniel Ebdrup Jensen <debdrup@FreeBSD.org>, freebsd-hackers@freebsd.org
Subject:   Re: Project information - SMBv2+
Message-ID:  <8644f79e-3957-3498-efa9-8fbfc7b57581@quip.cz>
In-Reply-To: <20201230225624.atsnf6u5mmtcu5sw@nerd-thinkpad.local>
References:  <16e5725b-ec2f-3222-d20d-fd15e597c12c@gmx.net> <dea01842-79e7-33ed-4302-28f2df51d710@quip.cz> <075f31cb-dd13-778d-ed50-3ec7d6f30731@gmx.net> <704a700c-32ff-66eb-6711-5d75099abcd4@quip.cz> <20201230225624.atsnf6u5mmtcu5sw@nerd-thinkpad.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30/12/2020 23:56, Daniel Ebdrup Jensen wrote:
> On Wed, Dec 30, 2020 at 10:16:44PM +0100, Miroslav Lachman wrote:
>> On 30/12/2020 20:24, CerebrosuS wrote:
>>>
>>>
>>> Am 30.12.20 um 20:05 schrieb Miroslav Lachman:
>>>> On 30/12/2020 18:57, CerebrosuS wrote:
>>>>> Hello at all,
>>>>>
>>>>> the community and developer at FreeBSD seem to know, that SMBv1 for
>>>>> clients is nearly over and that the included mount_smbfs doesn't 
>>>>> support
>>>>> newer versions. So good, so far...
>>>>>
>>>>> So I can find multiple information about the situation, but no clear
>>>>> path on how FreeBSD community and developer will go on to solve this
>>>>> missing function. (Just got the information on:
>>>>> https://wiki.freebsd.org/MateuszPiotrowski/AccessingSmbSharesWithSambaClient) 
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> This is what I am asking:
>>>>> - Is there a project existing for solving this problem (with whatever
>>>>> target)?
>>>>> - What is the way to go in future? Extend mount_smbfs or support the
>>>>> fuse-smbnetfs part to be stable and fast like mount_smbfs (buggy and
>>>>> laggy here)?
>>>>> - Who is mainly working on it, if a project already exist?
>>>>>
>>>>> I'am just interested, cause of not finding such information 
>>>>> clearly. Is
>>>>> there maybe a general project management list / team to see what
>>>>> projects are going on in whatever state?
>>>>>
>>>>> I am a hobby developer mainly coming from chemical engineering side,
>>>>> having some time to help. I've already written some cross platform
>>>>> software but never related to network or on os-level. So I am 
>>>>> motivated
>>>>> to invest some time in getting stuff into FreeBSD, but for me, 
>>>>> there is
>>>>> a lack on information (see above).
>>>>>
>>>>> Thank you in advance for information and help.
>>>>
>>>> I was involved in the thread linked by Gleb. AFAIK nothing changed from
>>>> that time. I tried something from ports but it has more problems 
>>>> (shares
>>>> cannot be mounted on boot like mount_smbfs does).
>>>> If somebody has time and skills to try to bring SMBv2 or v3 to FreeBSD
>>>> then Apple or Solaris sources is good start. The both were using the
>>>> same mount_smbfs (v1) as FreeBSD so one can check their sources and see
>>>> how they evolve to v2 / v3.
>>>
>>> They are both using exactly the same source code as a starting point and
>>> extend it (or rewrite it) to SMBv2?
>>
>> They are based on the ported code. Apple Mac OS X and Solaris have 
>> different kernel so they needed modified port of the same code as was 
>> in FreeBSD back in the days (there is the same copyright header). 
>> Apple sources or Solaris sources cannot be used directly on FreeBSD 
>> but some skilled developer can look in to those sources to see their 
>> evolution. But as was already noted v2 and v3 are very different from 
>> v1. It will be hard to port but not impossible.
>> Current solutions in ports (fusefs) are almost useless in server 
>> environment.
>>
>> Miroslav Lachman
>>
>> _______________________________________________
>> freebsd-hackers@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to 
>> "freebsd-hackers-unsubscribe@freebsd.org"
> 
> Hi folks,
> 
> Assuming that the reasons for not using fuse in a server environment are 
> related primarily to performance and that the implementation that was in 
> base used to be quite out-of-date, has this at all been reevalulated 
> since a new version was merged? [1]

Last time I tried smb with fuse it was unstable and does not allowed me 
to configure what to mount where at boot time. AFAIK fusefs-smbnetfs 
cannot be used the same way as mount_smbfs in fstab. So I think smbnetfs 
is not usable solution in our environment even if it works stable and fast.

Kind regards
Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8644f79e-3957-3498-efa9-8fbfc7b57581>