Re: Long-shot: repeatable macOS samba share unmounting during Lightroom import

2019-11-23 Thread Andrew Reilly
Hi Matt,

> On 24 Nov 2019, at 13:46 , Matt Garber  wrote:
> 
> On Sat, Nov 23, 2019 at 9:34 PM Andrew Reilly  wrote:
> 
> The other protagonist in this tale, also connected to the gigabit
> LAN, is an iMac running current-Catalina on APFS flash, mounting
> three filesystems over SMB, from Samba 4.10.10.  After appropriate
> Samba tweaking this seems to be at least as reliable as it ever was
> with netatalk or NFS, and apparently better supported by Apple.
> 
> Considering all of the other bugs and instability introduced (or 
> reintroduced) in Catalina: did you have this same Lightroom import workflow 
> configured in Mojave (or whichever other previous macOS version you were 
> using), and if so, were you encountering the same issue?

Yes, I've been using the same workflow for "ever".  Since before Lightroom was 
a subscription product.  I know that a lot of unhappiness has been expressed on 
the net about Catalina, but I've personally experienced no obvious problems, 
except perhaps this one.  Even so, I'm afraid that I didn't note when this 
problem started, so I can't say whether it was before, after, or coincident 
with the Catalina upgrade.

Cheers,

Andrew Reilly
M: 0409-824-272
arei...@bigpond.net.au



___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Long-shot: repeatable macOS samba share unmounting during Lightroom import

2019-11-23 Thread Andrew Reilly
Hi Theron,


> On 24 Nov 2019, at 13:53 , Theron  wrote:
> 
> On 2019-11-23 21:33, Andrew Reilly wrote:
>> It feels like a
>> time-out bug somewhere, but (a) there is no complaint, and (b) the
>> network traffic is light at the time.  Needless to say Apple
>> documentation is useless.
> Maybe there is a way to reproduce the Lightroom's file access pattern from a 
> shell script in a way that reproduces the problem. Then the same access 
> pattern could be done from a FreeBSD client to see whether it happens there 
> as well.

As I half-expected, now that I've reported the problem, I can't reproduce it on 
demand, even using the same workflow.  Perhaps it is triggered by having a 
certain number of photos on the card?  I'll need to do some more 
experimentation.

Cheers,

Andrew Reilly
M: 0409-824-272
arei...@bigpond.net.au

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Long-shot: repeatable macOS samba share unmounting during Lightroom import

2019-11-23 Thread Theron

On 2019-11-23 21:33, Andrew Reilly wrote:

It feels like a
time-out bug somewhere, but (a) there is no complaint, and (b) the
network traffic is light at the time.  Needless to say Apple
documentation is useless.
Maybe there is a way to reproduce the Lightroom's file access pattern 
from a shell script in a way that reproduces the problem. Then the same 
access pattern could be done from a FreeBSD client to see whether it 
happens there as well.


Apple's SMB client appears to be FreeBSD's smbfs, however extended by 
Apple to support protocol version 3.

https://opensource.apple.com/source/smb/smb-759.40.1/kernel/smbfs/smbfs.h.auto.html
(Off-topic: I wonder if anyone has looked at porting this back to FreeBSD?)

Maybe the differences are too great for the bug to appear on both systems.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Long-shot: repeatable macOS samba share unmounting during Lightroom import

2019-11-23 Thread Matt Garber
On Sat, Nov 23, 2019 at 9:34 PM Andrew Reilly 
wrote:

>
> The other protagonist in this tale, also connected to the gigabit
> LAN, is an iMac running current-Catalina on APFS flash, mounting
> three filesystems over SMB, from Samba 4.10.10.  After appropriate
> Samba tweaking this seems to be at least as reliable as it ever was
> with netatalk or NFS, and apparently better supported by Apple.


Considering all of the other bugs and instability introduced (or
reintroduced) in Catalina: did you have this same Lightroom import workflow
configured in Mojave (or whichever other previous macOS version you were
using), and if so, were you encountering the same issue?


Thanks,
—
Matt Garber
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Long-shot: repeatable macOS samba share unmounting during Lightroom import

2019-11-23 Thread Andrew Reilly
Hi all,

This is a long-shot question, because it involves a lot of moving
pieces, most of which are opaque commercial, poorly documented
things.  Never the less, it does involve FreeBSD-stable as one of
the players, and my experience over the years has been that FreeBSD
folk are both knowledgeable and helpful, so here's hoping.  Herwith
my tale of computer-induced irritation:

The story takes place at home, where the FreeBSD system in question
is a local network file server.  The FreeBSD tracks -STABLE every
week.  It boots from ZFS on NVM flash and has four 4TB Hitachi ATA
drives in a RAIDZ.  The current motherboard has a Ryzen 7 1700
8-core locked at 3GHz by the bios to avoid a problem of going to
sleep permanently by failing to come out of some sort of low-power
state.  It has 32G RAM.  It has intel "PRO/1000 PCI-Express Network
Driver" network connected to a simple gigabit switch, with both
IPv4 and IPv6 configured and working.

The other protagonist in this tale, also connected to the gigabit
LAN, is an iMac running current-Catalina on APFS flash, mounting
three filesystems over SMB, from Samba 4.10.10.  After appropriate
Samba tweaking this seems to be at least as reliable as it ever was
with netatalk or NFS, and apparently better supported by Apple.

I keep my Lightroom Classic catalogue on the mac's local (flash)
drive, but the photo storage is on the network.  The Import Backups
directory is also on (a different) network drive.  I use Lightroom's
Import function to copy photos off SD cards using the mac's built-in
SD card reader and register with the catalogue.  So far so normal,
I think.

The problem arose about ?three or four? months ago: could be
coincident with OS or Lightroom upgrades, I can't remember, but I
haven't changed anything about the setup, configuration or workflow.
Now, every single time Lightroom does an import, while it's doing
the first scan of the SD card to identify photos that it's seen
before, all three of the Samba filesystems unmount from the mac,
silently.  I can find no record of error in any of the logs,
suggesting that the system thinks that it happened deliberately.
Needless to say, this throws out the import workflow, although it
manages to pick itself up OK if I just re-mount everything.

Anyone have any similar experiences?  Any thoughts of where I could
poke it to find out why this might be happening?  It feels like a
time-out bug somewhere, but (a) there is no complaint, and (b) the
network traffic is light at the time.  Needless to say Apple
documentation is useless.

Probably another good reason to find an alternative to Lightroom...

Cheers,

Andrew Reilly
M: 0409-824-272
arei...@bigpond.net.au

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"