From owner-freebsd-hackers@freebsd.org Thu Dec 31 10:13:59 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E49624BB734 for ; Thu, 31 Dec 2020 10:13:59 +0000 (UTC) (envelope-from SRS0=bbpu=GD=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D63sL1KZTz4YBD for ; Thu, 31 Dec 2020 10:13:57 +0000 (UTC) (envelope-from SRS0=bbpu=GD=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id D368428416; Thu, 31 Dec 2020 11:13:55 +0100 (CET) Received: from illbsd.quip.test (ip-94-113-69-69.net.upcbroadband.cz [94.113.69.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id BCAA528411; Thu, 31 Dec 2020 11:13:54 +0100 (CET) Subject: Re: Project information - SMBv2+ To: Eugene Grosbein , freebsd-hackers@freebsd.org References: <16e5725b-ec2f-3222-d20d-fd15e597c12c@gmx.net> <075f31cb-dd13-778d-ed50-3ec7d6f30731@gmx.net> <704a700c-32ff-66eb-6711-5d75099abcd4@quip.cz> <20201230225624.atsnf6u5mmtcu5sw@nerd-thinkpad.local> <8644f79e-3957-3498-efa9-8fbfc7b57581@quip.cz> <41400a64-5f0b-295b-399e-711b9b40b6d3@grosbein.net> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: Date: Thu, 31 Dec 2020 11:13:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <41400a64-5f0b-295b-399e-711b9b40b6d3@grosbein.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4D63sL1KZTz4YBD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=bbpu=GD=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=bbpu=GD=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [0.20 / 15.00]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=bbpu=GD=quip.cz=000.fbsd@elsa.codelab.cz]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[quip.cz]; RBL_DBL_DONT_QUERY_IPS(0.00)[94.124.105.4:from]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[94.124.105.4:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=bbpu=GD=quip.cz=000.fbsd@elsa.codelab.cz]; RECEIVED_SPAMHAUS_PBL(0.00)[94.113.69.69:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-hackers] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2020 10:14:00 -0000 On 31/12/2020 04:56, Eugene Grosbein wrote: > 31.12.2020 6:33, Miroslav Lachman wrote: > >> 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. > > What are you problems with fuse+fstab, exactly? > Have you considered systax similar to the following example for net/glusterfs? > > gluster1:name /mnt/name fusefs rw,late,backup-volfile-servers=gluster2:gluster3,mountprog=/usr/local/sbin/mount_glusterfs 0 0 Do you or anybody else have a working example for smbnetfs? I tested it about a year ago, I do not remember all the details but I cannot find how to use it in fstab. I remember the configuration file was per user, mounting was done automaticly in the form: cd mountpoint/username:password@computer_or_ip or mounted in hierarchy like: /workgroup/computer/share So if there is some way to configure it in /etc/fstab to mount "//user@server/share" to /mnt/my_share I would really like to re-test it. Kind regards Miroslav Lachman