Megjegyzés
Az oldalhoz való hozzáféréshez engedély szükséges. Megpróbálhat bejelentkezni vagy módosítani a címtárat.
Az oldalhoz való hozzáféréshez engedély szükséges. Megpróbálhatja módosítani a címtárat.
Use the blobfuse2 mountv1 command to generate a configuration file for BlobFuse2 from a BlobFuse v1 configuration file.
Szemantika
blobfuse2 mountv1 [path] --[flag-name]=[flag-value]
Érvek
[path]
Specify a file path to the directory where the storage container will be mounted. Példa:
blobfuse2 mountv1 ./mount_path ...
Jelzők (beállítások)
Egyes jelzők a szülőparancstól öröklődnek, blobfuse2míg mások csak a blobfuse2 mountv1 parancsra vonatkoznak.
A BlobFuse2 parancstól örökölt jelzők
A következő jelölők öröklődnek a szülőparancsból blobfuse2:
| Zászló | Rövid verzió | Érték típusa | Alapértelmezett érték | Leírás |
|---|---|---|---|---|
| disable-version-check | boolean | false | Engedélyezi vagy letiltja a BlobFuse2 bináris fájlok automatikus verzióellenőrzését | |
| segítség | -h | nincs adat | nincs adat | Súgóinformációk a blobfuse2 parancshoz és alparancsokhoz |
Flags that apply only to the BlobFuse2 mountv1 command
A következő jelzők csak a blobfuse2 mountv1 parancsra vonatkoznak.
| Zászló | Short version |
Érték típus |
Default érték |
Leírás |
|---|---|---|---|---|
| background-download | boolean | false | File download to run in the background on open call | |
| basic-remount-check | boolean | false | Check for an already mounted status using /etc/mtab | |
| block-size-mb | uint | Size of a block to be downloaded during streaming (in MB) |
||
| ca-cert-file | szál | Specifies the proxy pem certificate path if it's not in the default path | ||
| cache-on-list | boolean | igaz | Cache attributes on listing | |
| cache-poll-timeout-msec | uint | Time in milliseconds in order to poll for possible expired files awaiting cache eviction (in milliseconds) |
||
| cache-size-mb | float | File cache size (in MB) |
||
| cancel-list-on-mount-seconds | uint16 | A list call to the container is by default issued on mount (in seconds) |
||
| konfigurációs fájl | szál | ./config.cfg | Input BlobFuse configuration file | |
| tároló neve | szál | Required if no configuration file is specified | ||
| convert-config-only | boolean | Don't mount - only convert v1 configuration to v2 | ||
| d | -d | boolean | false | Mount with foreground and FUSE logs on |
| empty-dir-check | boolean | false | Disallows remounting using a non-empty tmp-path | |
| enable-gen1 | boolean | false | To enable Gen1 mount | |
| file-cache-timeout-in-seconds | uint32 | 120 | During this time, blobfuse will not check whether the file is up to date or not (in seconds) |
|
| high-disk-threshold | uint32 | High disk threshold (as a percentage) |
||
| http-proxy | szál | HTTP Proxy address | ||
| https-proxy | szál | HTTPS Proxy address | ||
| invalidate-on-sync | boolean | igaz | Invalidate file/dir on sync/fsync | |
| log-level | LOG_OFF LOG_CRIT LOG_ERR LOG_WARNING LOG_INFO LOG_DEBUG LOG_WARNING |
LOG_WARNING | The level of logging written to syslog. | |
| low-disk-threshold | uint32 | Low disk threshold (as a percentage) |
||
| max-blocks-per-file | int | Maximum number of blocks to be cached in memory for streaming | ||
| max-concurrency | uint16 | Option to override default number of concurrent storage connections | ||
| max-eviction | uint32 | Number of files to be evicted from cache at once | ||
| max-retry | int32 | Maximum retry count if the failure codes are retryable | ||
| max-retry-interval-in-seconds | int32 | Maximum length of time between 2 retries (in seconds) |
||
| no-symlinks | boolean | false | Whether or not symlinks should be supported | |
| o | -o | strings | FUSE options | |
| kimeneti fájl | szál | ./config.yaml | Output Blobfuse configuration file | |
| pre-mount-validate | boolean | igaz | Validate blobfuse2 is mounted | |
| required-free-space-mb | int | Required free space (in MB) |
||
| retry-delay-factor | int32 | Retry delay between two tries (in seconds) |
||
| set-content-type | boolean | false | Turns on automatic 'content-type' property based on the file extension | |
| stream-cache-mb | uint | Limit total amount of data being cached in memory to conserve memory footprint of blobfuse (in MB) |
||
| streaming | boolean | false | Enable Streaming | |
| tmp-path | szál | nincs adat | Configures the tmp location for the cache. (Configure the fastest disk (SSD or ramdisk) for best performance). |
|
| upload-modified-only | boolean | false | Turn off unnecessary uploads to storage | |
| use-adls | boolean | false | Enables blobfuse to access Azure DataLake storage account | |
| use-attr-cache | boolean | false | Enable attribute cache | |
| use-https | boolean | false | Enables HTTPS communication with Blob storage |
Examples
Mount a blob container in an Azure Data Lake Storage account using a BlobFuse v1 configuration file:
sudo blobfuse2 mountv1 ./mount_dir --config-file=./config.cfg --use-adls=trueCreate a BlobFuse2 configuration file from a v1 configuration file in the same directory, but do not mount any containers:
sudo blobfuse2 mountv1 --config-file=./config.cfg --output-file=./config.yaml --convert-config-only=true