Use the blobfuse2 mount
command to mount a Blob Storage container as a file system in Linux, or to display existing mount points.
The blobfuse2 mount
command has 2 formats:
blobfuse2 mount [path] --[flag-name]=[flag-value]
blobfuse2 mount [command] --[flag-name]=[flag-value]
[path]
Specify a file path to the directory where the storage container will be mounted. Example:
blobfuse2 mount ./mount_path ...
[command]
The supported subcommands for blobfuse2 mount
are:
Select one of the command links in the table above to view the documentation for the individual subcommands, including the arguments and flags they support.
Flags (options)Some flags are inherited from the parent command, blobfuse2
, and others only apply to the blobfuse2 mount
command.
The following flags are inherited from parent command blobfuse2
):
The following flags apply only to command blobfuse2 mount
:
--log-file-path
. negative-timeout uint32 The negative entry timeout
Note
The following examples assume you have already created a configuration file in the current directory.
Mount an individual Azure Blob Storage container to a new directory using the settings from a configuration file, and with foreground mode disabled:
sudo mkdir bf2a
sudo blobfuse2 mount ./bf2a --config-file=./config.yaml --foreground=false
sudo blobfuse2 mount list
Example output
1 : /home/<user>/bf2a
Mount all Blob Storage containers in the storage account specified in the configuration file to the path specified in the command. (Each container will be a subdirectory under the directory specified):
sudo mkdir bf2all
sudo blobfuse2 mount all ./bf2all --config-file=./config.yaml
Example output
Mounting container : blobfuse2a to path : bf2all/blobfuse2a
Mounting container : blobfuse2b to path : bf2all/blobfuse2b
sudo blobfuse2 mount list
Example output
1 : /home/<user>/bf2all/blobfuse2a
2 : /home/<user>/bf2all/blobfuse2b
Mount a fast storage device, then mount a Blob Storage container specifying the path to the mounted disk as the BlobFuse2 file caching location:
sudo mkdir /mnt/resource/blobfuse2tmp -p
sudo chown <youruser> /mnt/resource/blobfuse2tmp
sudo mkdir bf2a
sudo blobfuse2 mount ./bf2a --config-file=./config.yaml --tmp-path=/mnt/resource/blobfuse2tmp
blobfuse2 mount list
1 : /home/<user>/bf2a/blobfuse2a
Mount a Blob Storage container in read-only mode and skipping the automatic BlobFuse2 version check:
sudo blobfuse2 mount ./mount_dir --config-file=./config.yaml --read-only --disable-version-check=true
Mount a Blob Storage container using an existing configuration file, but override the container name (mounting another container in the same storage account):
sudo blobfuse2 mount ./mount_dir2 --config-file=./config.yaml --container-name=container2
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4