Skip to content
English
  • There are no suggestions because the search field is empty.

How to create Mount script for azure fileshare

Here is a script of the actions taken within the Microsoft Azure Portal, followed by key notes summarizing the process.

Visual steps

  1. The video begins on the Azure Portal Home. 
    1. The user navigates to the Storage accounts service.
  2. From the list of available storage accounts, the user selects the account named fx. storage304.
  3. The Overview blade for storage304 loads. 
    1. The user navigates to the left-hand menu.
  4. Under the "Data storage" section in the left menu, 
    1. The user clicks on File shares.
  5. The list of file shares loads. 
    1. The user clicks on the share named fileshare.
  6. The overview page for the specific file share opens. 
    1. The user moves the cursor to the top toolbar and clicks the Connect button.
  7. A "Connect" pane slides out from the right side of the screen. By default, the "Windows" tab is selected.
    1. The user clicks on the Linux tab.
  8. Under the Linux settings, 
    1. The user clicks the button labeled Show script.
  9. The video ends as the pre-generated mount script is revealed.

Generating a Mount Script

The standard procedure for obtaining the code necessary to mount an Azure File Share to a local machine or a Virtual Machine (VM).

1. Navigation Path

To replicate this process, follow this hierarchy:

Home $\rightarrow$ Storage Accounts $\rightarrow$ [Your Storage Account] $\rightarrow$ File Shares $\rightarrow$ [Your Share Name]

2. The "Connect" Feature

The Connect button is the shortcut to generating connection strings and mount scripts. It automatically handles the syntax for authentication, including the storage account name and the access key.

3. OS Compatibility

Note that Azure provides unique scripts for different operating systems. You can see tabs for:

  • Windows: Uses PowerShell.
  • Linux: Uses the SMB protocol via the terminal (the option selected in the video).
  • macOS: Uses the standard mount command.

4. The Generated Script

The script generated includes:

  • Creation of a local directory (mount point).
  • Storage account credentials (username and password/key).
  • The mount command specifying the SMB version (usually 3.0) and the server path.
  1. Send the script to support@dataandmore.com

Please send the LINUX generated script to Data & More.