Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Johnny Jackhammer

macrumors regular
Original poster
May 5, 2011
128
82
I have searched hi and lo to figure this out. Hoping against hope that someone can point out what the issue is.

I have a simple network (iMac - ethernet 10g - Mac Mini)
The MacMini has two external disk enclosures attached with one enclosure using JBOD and a few disks. Media_1 is an 18TB HDD, Media_2 is a 6TB HDD. Sharing is on and I have the same permissions for both volumes AFAIKT. Windows sharing is on.

When searching from the Finder search bar on Media_1 nothing can be found but the very latest additions to that drive. Media_1 has over 7400 files on it. The little searching icon pops up for a nanosecond and disappears. If I use Spotlight options, like kind:movie only a few files I recently made changes to (renamed or added today) while accessing from my iMac will show up.

The opposite is the case for Media_2, all folders and files can be found from the iMac and Spotlight is fully functional.

What could be the issue here??

This is what I have tried:

Code:
mdutil -i off /Volumes/Media_1
mdutil -E  /Volumes/Media_1
mdutil -i on /Volumes/Media_1

I have also added options to my iMac's nsmb.conf file:

Code:
➜ cat /etc/nsmb.conf
[default]
# /etc/nsmb.conf - macOS 11.3+
#------------------------------------------------------------------------------
# SMB configuration for macOS 11.3+
#------------------------------------------------------------------------------
# Additional information:
# -----------------------
# https://support.apple.com/de-de/HT211927
# https://support.apple.com/en-us/HT208209
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra
# https://photographylife.com/afp-vs-nfs-vs-smb-performance
# https://support.apple.com/de-de/HT212277
# https://support.apple.com/en-us/101918
#------------------------------------------------------------------------------

# Turn on SMB multichannel (allow more than one channel per session)
mc_on=no

# Disable signing, this became default in later macOS versions
signing_required=no

# Use NTFS Streams if server supported
streams=yes

# Set hard or soft mount of shares
# Hard mount: a request is issued repeatedly until the request is satisfied
# Soft mount: tried until completed, the retry limit is met or the timeout limit is met
# Soft mount by default
soft=yes

# Disable directory caching
dir_cache_off=yes

# Disable local SMB caching
# Can be set and then unset to clear SMB cache
# https://support.apple.com/en-us/101918
dir_cache_max_cnt=0

# Lock negotiation to SMB2/3 only
# 7 == 0111  SMB 1/2/3 should be enabled
# 6 == 0110  SMB 2/3 should be enabled
# 4 == 0100  SMB 3 should be enabled
protocol_vers_map=4

# No SMB1 = no NetBIOS (WINS) and it should be disabled
port445=no_netbios

# Turn off notifications
# notify_off=yes

# Prefer wired networks over Wi-Fi networks that may advertise faster speeds than appropriate
mc_prefer_wired=yes


Code:
smbutil statshares -a

==================================================================================================
SHARE                         ATTRIBUTE TYPE                VALUE
==================================================================================================
Media_1                    
                              SERVER_NAME                   169.254.1.1
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.0.2
                              SMB_ENCRYPT_ALGORITHMS        AES_128_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_128_GCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_GCM_ENABLED
                              SMB_CURR_ENCRYPT_ALGORITHM    OFF
                              SMB_SIGN_ALGORITHMS           AES_128_CMAC_ENABLED
                              SMB_SIGN_ALGORITHMS           AES_128_GMAC_ENABLED
                              SMB_CURR_SIGN_ALGORITHM       AES_128_CMAC
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              UNIX_SUPPORT                  TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              OS_X_SERVER                   TRUE
                              FILE_IDS_SUPPORTED            TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              DIR_LEASING_SUPPORTED         TRUE
                              ENCRYPTION_SUPPORTED          TRUE
                              SESSION_RECONNECT_TIME        0:0
                              SESSION_RECONNECT_COUNT       0

--------------------------------------------------------------------------------------------------
Media_2                    
                              SERVER_NAME                   169.254.1.1
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.0.2
                              SMB_ENCRYPT_ALGORITHMS        AES_128_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_128_GCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_GCM_ENABLED
                              SMB_CURR_ENCRYPT_ALGORITHM    OFF
                              SMB_SIGN_ALGORITHMS           AES_128_CMAC_ENABLED
                              SMB_SIGN_ALGORITHMS           AES_128_GMAC_ENABLED
                              SMB_CURR_SIGN_ALGORITHM       AES_128_CMAC
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              UNIX_SUPPORT                  TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              OS_X_SERVER                   TRUE
                              FILE_IDS_SUPPORTED            TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              DIR_LEASING_SUPPORTED         TRUE
                              ENCRYPTION_SUPPORTED          TRUE
                              SESSION_RECONNECT_TIME        0:0
                              SESSION_RECONNECT_COUNT       0
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.