2

I have a Mac running Mojave (10.14.6) with a new 2TB internal HDD with an APFS volume (called "Tár"). No matter what I try, I get "Indexing disabled" whenever I try running sudo mdutil -i on /Volumes/Tár/. All other volumes are indexing fine and the volume itself is working properly.

If I look at the Console after running the mdutil command, I see the following in the output:

mds nosymlink_mkdir() unable to realpath or parent paths do not match p:/Volumes/Tár/.Spotlight-V100: r:/Volumes/Tár:
mds Unable to create/find index location <private> 0
  • There's no .metadata_never_index file anywhere.
  • Trying to add the volume to the privacy excluded folders in Spotlight settings and then removing it doesn't help either.

What's wrong with this? How can I get this volume indexed?

edit: diskutil list output:

$ diskutil list
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *960.2 GB   disk0
   1:                        EFI NO NAME                 104.9 MB   disk0s1
   2:         Microsoft Reserved                         16.8 MB    disk0s2
   3:       Microsoft Basic Data Windows rendszer        314.6 GB   disk0s3
   4:       Microsoft Basic Data Közös                   645.0 GB   disk0s4
   5:           Windows Recovery                         530.6 MB   disk0s5

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk3         499.9 GB   disk1s2

/dev/disk2 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *2.0 TB     disk2
   1:                        EFI EFI                     209.7 MB   disk2s1
   2:                 Apple_APFS Container disk4         2.0 TB     disk2s2

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +499.9 GB   disk3
                                 Physical Store disk1s2
   1:                APFS Volume macOS                   403.4 GB   disk3s1
   2:                APFS Volume Preboot                 45.3 MB    disk3s2
   3:                APFS Volume Recovery                510.4 MB   disk3s3
   4:                APFS Volume VM                      2.1 GB     disk3s4

/dev/disk4 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +2.0 TB     disk4
                                 Physical Store disk2s2
   1:                APFS Volume Tár                     179.2 GB   disk4s1

mount:

$ mount
/dev/disk3s1 on / (apfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk3s4 on /private/var/vm (apfs, local, noexec, journaled, noatime, nobrowse)
/dev/disk4s1 on /Volumes/Tár (apfs, local, journaled)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk0s3 on /Volumes/Windows rendszer (ntfs, local, read-only, noowners)
/dev/disk0s4 on /Volumes/Közös (exfat, asynchronous, local, noowners)
5
  • 1
    That mount point doesn't look correct for an internal drive. Can you post the output of diskutil list and mount to your question?
    – Allan
    Commented Nov 7, 2020 at 19:24
  • There's lots of missing data there - and limiting what we can see basically tells us nothing. Please, help us help you.
    – Allan
    Commented Nov 8, 2020 at 3:07
  • Added the full output @Allan, even though I don't think including the info from other devices would be much of extra help here.
    – Scorchio
    Commented Nov 8, 2020 at 14:41
  • 2
    Did it work with the old drive? If yes, did the old drive also have a name with characters outside the plain a-zA-Z0-9 range?
    – nohillside
    Commented Nov 8, 2020 at 15:01
  • 1
    This looks like a bug in handling accented characters. In Unicode, the character "á" can be represented either "composed" as a single code point U+00E1 (UTF-8 hex c3 a1, latin "a" with acute accent), or "decomposed" as a plain "a" followed by U+0301 (cc 81, combining acute accent). It's in the composed form everywhere here except the p: path in the Console message. I suspect something is decomposing it (HFS+ requires this), then getting confused because it doesn't match. Commented Aug 6, 2021 at 7:24

2 Answers 2

1

You could try running sudo mdutil -i on /Volumes/T\ár/, since special characters are supposed to be preceded by a \

0

Based on nohillside's idea, I went ahead and renamed the volume. After that, I could immediately enable indexing. ¯_(ツ)_/¯

2
  • I’m not sure you’re supposed to answer your own question. I think you just upvote whatever worked for you.
    – jasonology
    Commented Mar 29, 2023 at 5:32
  • 1
    @jasonology It's actually an encouraged behavior on SE: apple.stackexchange.com/help/self-answer
    – Scorchio
    Commented Jun 21, 2023 at 15:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .