| title | How to use the BlobFuse2 command set |
|---|---|
| titleSuffix | Azure Storage |
| description | Learn how to use the BlobFuse2 command set to mount blob storage containers as file systems on Linux, and manage them. |
| author | normesta |
| ms.service | azure-blob-storage |
| ms.custom | linux-related-content |
| ms.topic | reference |
| ms.date | 12/02/2022 |
| ms.author | normesta |
This reference shows how to use the BlobFuse2 command set to mount Azure blob storage containers as file systems on Linux, and how to manage them.
The blobfuse2 command has 2 formats:
blobfuse2 --[flag-name]=[flag-value]
blobfuse2 [command] [arguments] --[flag-name]=[flag-value]
Most flags are specific to individual BlobFuse2 commands. See the documentation for each command for details and examples.
The following options can be used without a command or are inherited by individual commands:
| Flag | Short version | Value type | Default value | Description |
|---|---|---|---|---|
| disable-version-check | boolean | false | Whether to disable the automatic BlobFuse2 version check | |
| help | -h | n/a | n/a | Help info for the blobfuse2 command and subcommands |
| version | -v | n/a | n/a | Display BlobFuse2 version information |
The supported commands for BlobFuse2 are:
| Command | Description |
|---|---|
| mount | Mounts an Azure blob storage container as a filesystem in Linux or lists mounted file systems |
| mountv1 | Mounts a blob container using legacy BlobFuse configuration and CLI parameters |
| unmount | Unmounts a BlobFuse2-mounted file system |
| completion | Generates an autocompletion script for BlobFuse2 for the specified shell |
| secure | Encrypts or decrypts a configuration file, or gets or sets values in an encrypted configuration file |
| version | Displays the current version of BlobFuse2 |
| help | Gives help information about any command |
| gen-config | Auto generate recommended BlobFuse2 config file |
BlobFuse2 command arguments are specific to the individual commands. See the documentation for each command for details and examples.