Cause: The following error is observed when mounting a storage container as a BlobFuse mount:
As have observed the impacted Storage Account ‘<Account name>’ has its Firewall enabled and currently, does not allow the source subnet to connect.
Resolution : If the identified source subnet is confirmed to be correct, please allow this subnet through the Azure Storage Firewall and retry the mounting operation..
Note: Blobfuse stores all open file contents in the temporary path. Make sure to have enough space to accommodate all open files.
Once you have installed blobfuse, configure your account credentials either in the template provided in blobfuse folder (connection.cfg), or in the environment variables. For brevity, let's use the following environment variables for authentication using account name and key:
Additional information: Here are the steps to mount on Redhat Linux (This is temp mount, not persisting)
subscription-manager register --username <> --password <password removed> --auto-attach
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
sudo yum install blobfuse fuse
sudo mkdir /mnt/blobfusetmp
sudo chown <youruser> /mnt/blobfusetmp
sudo mount -t tmpfs -o size=1g tmpfs /mnt/blobfusetmp
export AZURE_STORAGE_ACCOUNT=xwfileping
export AZURE_STORAGE_ACCESS_KEY=<Key removed>
blobfuse /blobfuse --tmp-path=/mnt/blobfusetmp -o attr_timeout=240 -o entry_timeout=240 -o negative_timeout=120 -o allow_other --container-name=transfer --log-level=LOG_DEBUG --file-cache-timeout-in-seconds=120
To mount a persisting folder, you may download the https://github.com/Azure/azure-storage-fuse/blob/master/mount.sh, and use credentials in a file method to mount the folder.