usm blobmount¶
Mount an Azure Storage container as a local filesystem via
blobfuse2.
What happens¶
- If
blobfuse2isn't installed, it's pulled in via the Microsoft apt repo. - The current Azure CLI session (
az login) is used to mint a short-lived SAS token for the container. - A
blobfuse2mount is started in the background; the container appears as a normal directory at<mount_dir>.
Example¶
Prerequisites¶
- Azure CLI (
az) and an active login with permission on the storage account - A writable empty directory at
<mount_dir>(it's created if missing) - Ubuntu (the apt repo it pulls from is Ubuntu-only)
Companion command¶
After mounting, use usm cp to copy in/out of the mount; it
delegates to azcopy when one side is in the Azure namespace, which is
much faster than going through the FUSE filesystem.