Delen via


How to use the BlobFuse2 mountv1 command

Use the blobfuse2 mountv1 command to generate a configuration file for BlobFuse2 from a BlobFuse v1 configuration file.

Syntaxis

blobfuse2 mountv1 [path] --[flag-name]=[flag-value]

Argumenten

[path]

Geef een bestandspad op naar de map waar de opslagcontainer wordt gekoppeld. Voorbeeld:

blobfuse2 mountv1 ./mount_path ...

Vlaggen (keuzes)

Sommige vlaggen worden overgenomen van de bovenliggende opdracht en blobfuse2andere zijn alleen van toepassing op de blobfuse2 mountv1 opdracht.

Vlaggen die zijn overgenomen van de opdracht BlobFuse2

De volgende vlaggen worden overgenomen van de bovenliggende opdracht blobfuse2):

Vlag Korte versie Waardetype Standaardwaarde Beschrijving
versiecontrole uitschakelen boolean onwaar Schakelt de automatische versiecontrole van de binaire bestanden van BlobFuse2 in of uit.
help -h n/a n/a Help-informatie voor de blobfuse2-opdracht en subopdrachten

Flags that apply only to the BlobFuse2 mountv1 command

The following flags apply only to command blobfuse2 mountv1 command:

Vlag Short
version
Waarde
soort
Verstek
value
Beschrijving
background-download boolean onwaar File download to run in the background on open call
basic-remount-check boolean onwaar 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 string Specifies the proxy pem certificate path if it's not in the default path
cache-on-list boolean waar 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 seconden)
configuratiebestand string ./config.cfg Input BlobFuse configuration file
containernaam string Required if no configuration file is specified
convert-config-only boolean Don't mount - only convert v1 configuration to v2
d -d boolean onwaar Mount with foreground and FUSE logs on
empty-dir-check boolean onwaar Disallows remounting using a non-empty tmp-path
enable-gen1 boolean onwaar 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 seconden)
high-disk-threshold uint32 High disk threshold
(as a percentage)
http-proxy string HTTP Proxy address
https-proxy string HTTPS Proxy address
invalidate-on-sync boolean waar 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 seconden)
no-symlinks boolean onwaar Of symlinks wel of niet moeten worden ondersteund
o -o strings FUSE options
output-file string ./config.yaml Output Blobfuse configuration file
pre-mount-validate boolean waar Validate blobfuse2 is mounted
required-free-space-mb int Required free space
(in MB)
retry-delay-factor int32 Retry delay between two tries
(in seconden)
set-content-type boolean onwaar 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 onwaar Enable Streaming
tmp-path string n/a Hiermee configureert u de tmp-locatie voor de cache.
(Configureer de snelste schijf (SSD of ramdisk) voor de beste prestaties.
upload-modified-only boolean onwaar Turn off unnecessary uploads to storage
use-adls boolean onwaar Enables blobfuse to access Azure DataLake storage account
use-attr-cache boolean onwaar Enable attribute cache
use-https boolean onwaar Enables HTTPS communication with Blob storage

Voorbeelden

  1. 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=true
    
  2. Create 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
    

Zie ook