On 18/01/2019 14:00, Ed Norton wrote:
> On Thu, 17 Jan 2019 16:56:49 -0500, Jolly Roger wrote
> (in article <
gacc11...@mid.individual.net>):
>
>> On 2019-01-16, Ed Norton <
nor...@nowhere.com> wrote:
>>> On Wed, 16 Jan 2019 14:45:48 -0500, Jolly Roger wrote
>>> (in article <
ga9fvc...@mid.individual.net>):
>>>> On 2019-01-16, Ed Norton <
nor...@nowhere.com> wrote:
>>>>
>>>>> but it doesn't work for High Sierra since there is no longer a
>>>>>
>>>>> /private/var/db/Spotlight-V100/Volumes/ folder. It has been changed to
>>>>> some name which concatenates the names of all remote volumes.
>>>>
>>>> I don't see any concatenated name of all volumes here:
>>>>
>>>> # mdutil -s /Volumes/Files
>>>> /Volumes/Files:
>>>> Indexing enabled.
>>>>
>>>> # pwd
>>>> /Volumes/Files/.Spotlight-V100
>>>>
>>>> # ls -al
>>>> total 128
>>>> drwx------ 5 root admin 170 May 18 2018 .
>>>> drwxr-xr-x+ 21 root staff 782 Jan 10 07:16 ..
>>>> drwx------ 3 root admin 102 May 18 2018 Store-V1
>>>> drwx------ 3 root admin 102 May 18 2018 Store-V2
>>>> -rw------- 1 root admin 4115 May 18 2018 VolumeConfiguration.plist
>>>
>>> That's from Mojave, right?
>>
>> Actually, that's looking at the source file system on my Mac mini server
>> running High Sierra. This volume is being shared to other computers on
>> the network.
>>
>>>>> Perhaps if the remote server is also running High Sierra that makes a
>>>>> difference. In my case the server is an old Mac Mini running Snow
>>>>> Leopard. All the files are visible, they are just not able to be
>>>>> searched.
>>>>
>>>> I have a machine running Snow Leopard, and Spotlight works fine on its
>>>> shared volumes from a Mac Pro running Mojave and a MacBook Pro running
>>>> High Sierra..
>>>>
>>>> Has it occurred to you that the problem may be with the machine running
>>>> Snow Leopard?
>>>
>>> Very curious. I have tried with several different Macs running Snow
>>> Leopard and get the same result. I also formatted a USB Drive on the
>>> High Sierra machine and then moved it to a Snow Leopard machine. Same
>>> result.
>>
>> Very interesting. I have two machines running Snow Leopard here at the
>> moment. I'm able to do Finder Spotlight searches on their mounted
>> volumes from my Mac Pro running 10.14 and my MacBook Pro running 10.13.
>>
>>> I have tried mdutil to force indexing on a test drive (Untitled) but
>>> get the error message:
>>>
>>> $ mdutil -s /Volumes/Untitled
>>> /Volumes/Untitled:
>>> Server search enabled.
>>>
>>> $ mdutil -i on /Volumes/Untitled
>>> /Volumes/Untitled:
>>> Error: unable to perform operation. (-403)
>>> Server search enabled.
>>>
>>> The High Sierra is a clean install on a MacBook Pro Early 2011.
>>
>> Do you have any other machines you can mount the shared volume on to see
>> if Spotlight searches work there?
>>
>>
>
> Well, I have made _some_ progress. First of all I went back and
> noticed you listed /Volumes/Files/.Spotlight-V100. That is the
> directory for the local volumes. The directory for remote volumes is
> /private/var/db/Spotlight-VT100/Volumes. That's the directory I found
> the concatenated volume names in. I'd be interested to see what you
> find there.
>
> I have another machine with Sierra (as opposed to High Sierra) running
> and it does manage to do a "Finder Search" of the remote volume.
> That's apparently what mdutil means when it reports "Search Enabled"
> (as opposed to "indexing enabled") for a volume. Both Sierra and High
> Sierra report Search Enabled for the remote volume but only Sierra
> performs the search.
>
> On both machines mdutil -i on <volume name> refuses to turn indexing on
> reporting an error and consoling me with a "Search enabled" message.It
> also suggests I can turn indexing on if I run as root (I am using
> sudo). It has been suggested in some of the research I have done that
> Apple doesn't want you indexing remote volumes because it would take
> too long and clog up the network. Sounds about right. But apparently
> a Finder search is less efficient than a Spotlight index. There is a
> way to force Spotlight to load a Spotlight index found on the remote
> volume and use that but I haven't tried it.
>
> I removed the concatenated volume directory on HS but I still can't
> Finder search any remote volume in High Sierra. Since it is a clean
> install I don't see much of a point in installing it again but I guess
> I'll try that as a last resort. A pain in the ass since the computer
> won't boot off a USB disk. Something about the EFI. I remember I had
> trouble setting it up initially.
>
> I always assumed the "Finder Search" used the same database as
> Spotlight but I guess not. Seems like it would take a long time to
> crawl all the directories.
Hi Ed
I'm no 'techie' but have found from personal experience that there's a
very good facility available from the App store called 'Easy Find'.
It's not difficult to use - quite fun in fact! :-)
Perhaps you'll install it and report if you find it helpful (pun
intended! ;-) )
--
David B.