From owner-freebsd-stable@freebsd.org Sun Nov 24 22:13:59 2019 Return-Path: Delivered-To: freebsd-stable@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 5605C1BD73E for ; Sun, 24 Nov 2019 22:13:59 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from nsstlmta07p.bpe.bigpond.com (nsstlmta07p.bpe.bigpond.com [203.38.21.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Lkw40vcdz4YjM for ; Sun, 24 Nov 2019 22:13:54 +0000 (UTC) (envelope-from areilly@bigpond.net.au) Received: from smtp.telstra.com ([10.10.24.4]) by nsstlfep07p-svc.bpe.nexus.telstra.com.au with ESMTP id <20191124221344.GDAP17667.nsstlfep07p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com>; Mon, 25 Nov 2019 09:13:44 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedufedrudehkedgudeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfupfevtfgpvffgnffuvffttedpqfgfvfenuceurghilhhouhhtmecugedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtvdenucfhrhhomheptehnughrvgifucftvghilhhlhicuoegrrhgvihhllhihsegsihhgphhonhgurdhnvghtrdgruheqnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgpdgthigsvghrtghithhirdgsihiipdhsrghmsggrrdhorhhgpdhorhgrtghlvgdrtghomhenucfkphepvddtfedruddutddrudefvddrleefnecurfgrrhgrmhephhgvlhhopegrphhrqdhprhhordguohhlsgihrdhnvghtpdhinhgvthepvddtfedruddutddrudefvddrleefpdhmrghilhhfrhhomhepoegrrhgvihhllhihsegsihhgphhonhgurdhnvghtrdgruheqpdhrtghpthhtohepoehfrhgvvggsshguqdhsthgrsghlvgesfhhrvggvsghsugdrohhrgheqpdhrtghpthhtohepoehpvghtvghfrhgvnhgthhesihhnghhrvghsshhordgtohdruhhkqeenucevlhhushhtvghrufhiiigvpedt X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean X-Authentication-Info: Submitted using ID areilly@bigpond.net.au Received: from apr-pro.dolby.net (203.110.132.93) by smtp.telstra.com (5.8.418) (authenticated as areilly@bigpond.net.au) id 5D8C2B0F18B6E1A6; Mon, 25 Nov 2019 09:13:44 +1100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Long-shot: repeatable macOS samba share unmounting during Lightroom import From: Andrew Reilly In-Reply-To: <89708db0-940e-43b3-c428-4fa980a3abbb@ingresso.co.uk> Date: Mon, 25 Nov 2019 09:13:43 +1100 Cc: freebsd-stable@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6912108E-1257-46DA-9140-380BC5208189@bigpond.net.au> References: <28504691-D08B-483B-B4C5-CA47F2C523ED@bigpond.net.au> <89708db0-940e-43b3-c428-4fa980a3abbb@ingresso.co.uk> To: Pete French X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 47Lkw40vcdz4YjM X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=bigpond.net.au; spf=pass (mx1.freebsd.org: domain of areilly@bigpond.net.au designates 203.38.21.7 as permitted sender) smtp.mailfrom=areilly@bigpond.net.au X-Spamd-Result: default: False [-2.40 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:203.38.21.0/24]; FREEMAIL_FROM(0.00)[bigpond.net.au]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bigpond.net.au,none]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[7.21.38.203.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[bigpond.net.au]; ASN(0.00)[asn:1221, ipnet:203.36.0.0/14, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[ipnet: 203.36.0.0/14(-3.81), asn: 1221(-2.28), country: AU(0.00)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2019 22:13:59 -0000 Hi Pete, Thanks for the suggestions. FWIW I've been running the fruit extensions and a few other tweaks for = quite a while. My current global configuration contains: vfs objects =3D catia fruit streams_xattr zfsacl fruit:resource =3D xattr fruit:locking =3D netatalk fruit:time machine =3D yes #dflt: fruit:resource =3D file #dflt: fruit:locking =3D none fruit:advertise_fullsync =3D yes nfs4:mode =3D special nfs4:acedup =3D merge nfs4:chown =3D yes # could be derived from this article: # https://blogs.oracle.com/marks/entry/zfs_acls =20 mangled names =3D no hide dot files =3D no # prevent created files having execute bit set? map archive =3D no # prevent SMB1, which seems to be bad: # = https://www.cyberciti.biz/faq/how-to-configure-samba-to-use-smbv2-and-disa= ble-smbv1-on-linux-or-unix/ min protocol =3D SMB2 # Seems to be required for Spotlight (tracker) support (see spotlight =3D = yes on shares, below) # see: https://wiki.samba.org/index.php/Spotlight rpc_server:mdssd =3D fork rpc_server:mdssvc =3D external socket options =3D IPTOS_LOWDELAY TCP_NODELAY browseable =3D yes No, I haven't actually got Spotlight to work on the samba shares. Any = hints on that front would be appreciated. The documentation on some of = those Gnome-desktop background things is possibly worse than the Apple = documentation... I find that quite a lot about modern computing resembles magical = thinking, or occult practices: there is almost no way to actually = understand what is going on, you just try things and stick to what seems = to work. Superstition over science. Sigh. I can't remember why I'm not using fruit:encoding =3D private, but I = think that it was because I wanted file names to be representable and = compatible on both sides of the share, at the expense of occasionally = having to "fix" names that turn out to be unrepresentable. I've bumped log level up to 2 and increased the size of the log files by = a factor of ten (to 5000 (k)). I suspect that one reason why I wasn't = seeing errors being reported could be that the logs were being turned = over too quickly. We'll see. Cheers, Andrew Reilly E: areilly@bigpond.net.au M: +61-409-824-272 > On 24 Nov 2019, at 22:15, Pete French = wrote: >=20 > I have a very similar setup to you for serving files to my Mac from a = FreeBSD server. I haven't seen the unmount problem, but I di have a few = oddities until I added the 'fruit' module on the Samba side, which helps = with compatbiloty with the Mac. The appropriate bit of my config looks = like this: >=20 > vfs objects =3D fruit streams_xattr zfsacl > fruit:resource =3D xattr > fruit:encoding =3D private >=20 > Don't ask me what they do anymore, I added them ages ago, but it does = work very nicely for me. You may already have this of course, but worth = pointing out just in case as it took me a few years to discover it! >=20 > As someone else has said though, this may well be a Catalina bug. I am = not running that (MacBook too old, and not buying another until the new = keyboards are avilable n the replacement I want). >=20 > -pete. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org"