Azure¶
Mount Azure Blob or File storage on Linux with the RaiDrive CLI. Connect with your storage account name and key.
To get the account, keys or IDs this needs, see Before you begin in the Azure guide for the Windows app.
raidrivecli add azure --azure-storage-type <blob|file>
If you add storage with only the options shown above, you will be prompted to enter a Account and Key.
raidrivecli add azure --azure-storage-type blob
Account: <account>
Key: ********
Alternatively, a Account or Key can be specified as options.
raidrivecli add azure --azure-storage-type <blob|file> \
--azure-storage-account <account> \
--azure-key [key]
Warning
Shell commands are logged in history. If possible, we recommend not specifying the --azure-key option with a value.
If a mount directory is not specified, it will be mounted to a directory such as /mnt/azure under /mnt. To specify the mount directory, use the --mount-path option.
raidrivecli add azure --azure-storage-type blob \
--mount-path /myservices/azure
Unlike the Windows app, the CLI has no option to choose one container or file share.
Info
Azure China storage uses azurechina instead of azure.
Additional options¶
--azure-storage-type <blob|file> blob, file
--azure-storage-account <account> account
--azure-key [key] key