mac dont connect

Carlos consultor Guru 1 Reputation point
2020-06-02T15:35:34.567+00:00

I try to connect to from my mac to file share

Whit this terminal command mount_smbfs -d 777 -f 777//centraldiag238:PASSWORD@centraldiag238.file.core.windows.net centraldiag238

but the mac say but the terminal on mac say mount_smbfs: server connection failed: No route to host

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,968 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Leon Laude 85,816 Reputation points
    2020-06-02T15:37:48.77+00:00

    Hi,

    Something here might help:

    Mount Azure file share over SMB with macOS
    https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-mac

    Replace <storage-account-name> with the name of your storage account. Provide Storage Account Key as password when prompted:

    mount_smbfs //<storage-account-name>@<storage-account-name>.file.core.windows.net/<share-name> <desired-mount-point>  
    

    Make sure the file share is available.

    Best regards,
    Leon

    0 comments No comments

  2. Manu Philip 18,661 Reputation points MVP
    2020-06-02T15:40:37.753+00:00

    Hi,
    Try with the following syntax and see if it helps:

    mount_smbfs -d 777 -f 777 //user:key@storageurl/folder ~/mountfolder

    Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

    Regards,

    Manu

    0 comments No comments

  3. Mohammed Zubbeer 1 Reputation point
    2020-06-24T01:15:30.253+00:00

    <p>Same issue and i can confirm that <a rel="user" nodeId="2179721" href="/answers/users/2179721/manuphilip.html">@Manu Philip </a>and <a rel="user" nodeId="423387" href="/answers/users/423387/leonlaude.html">@Leon Laude </a>answer did not work. Even tired the microsoft article with no luck </p>
    <p>I can connect via finder connect to server and add in my smb path and storage name and access key. I have also tried to re-generate the access key without any slashes, as per article here:</p>
    <p>https://stackoverflow.com/questions/51984321/connecting-to-azure-file-share-from-mac-no-route-to-host</p>
    <p>Think its just a mac issue at this point</p>

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.