You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/blobfuse2-configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Using a configuration file is the preferred method, but the other methods can be
43
43
44
44
## Configuration file
45
45
46
-
Creating a configuration file is the preferred method of establishing settings for BlobFuse2. Once you have provided the desired settings in the file, reference the configuration file when using the `blobfuse2 mount` or other commands. Example:
46
+
Creating a configuration file is the preferred method of establishing settings for BlobFuse2. Once you have specified the desired settings in the file, reference the configuration file when using the `blobfuse2 mount` or other commands. Example:
47
47
48
48
````bash
49
49
blobfuse2 mount ./mount --config-file=./config.yaml
Copy file name to clipboardExpand all lines: articles/storage/blobs/blobfuse2-how-to-deploy.md
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: How to mount an Azure blob storage container on Linux with BlobFuse2 (preview) | Microsoft Docs
2
+
title: How to mount an Azure Blob Storage container on Linux with BlobFuse2 (preview) | Microsoft Docs
3
3
titleSuffix: Azure Blob Storage
4
-
description: How to mount an Azure blob storage container on Linux with BlobFuse2 (preview).
4
+
description: How to mount an Azure Blob Storage container on Linux with BlobFuse2 (preview).
5
5
author: jammart
6
6
ms.service: storage
7
7
ms.subservice: blobs
@@ -11,13 +11,13 @@ ms.author: jammart
11
11
ms.reviewer: tamram
12
12
---
13
13
14
-
# How to mount an Azure blob storage container on Linux with BlobFuse2 (preview)
14
+
# How to mount an Azure Blob Storage container on Linux with BlobFuse2 (preview)
15
15
16
-
[BlobFuse2](blobfuse2-what-is.md) is a virtual file system driver for Azure Blob storage. BlobFuse2 allows you to access your existing Azure block blob data in your storage account through the Linux file system. For more details see [What is BlobFuse2? (preview)](blobfuse2-what-is.md).
16
+
[BlobFuse2](blobfuse2-what-is.md) is a virtual file system driver for Azure Blob Storage. BlobFuse2 allows you to access your existing Azure block blob data in your storage account through the Linux file system. For more details see [What is BlobFuse2? (preview)](blobfuse2-what-is.md).
17
17
18
18
> [!IMPORTANT]
19
19
> BlobFuse2 is the next generation of BlobFuse and is currently in preview.
20
-
> This preview version is provided without a service level agreement, and is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
20
+
> This preview version is provided without a service level agreement, and might not be suitable for production workloads. Certain features might not be supported or might have constrained capabilities.
21
21
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
22
22
>
23
23
> If you need to use BlobFuse in a production environment, BlobFuse v1 is generally available (GA). For information about the GA version, see:
@@ -36,10 +36,10 @@ This guide shows you how to install and configure BlobFuse2, mount an Azure blob
36
36
37
37
There are 2 basic options for installing BlobFuse2:
### Option 1: Install the BlobFuse2 Binary (preferred)
43
43
44
44
For supported distributions see [the BlobFuse2 releases page](https://github.com/Azure/azure-storage-fuse/releases).
45
45
For libfuse support information, refer to [the BlobFuse2 README](https://github.com/Azure/azure-storage-fuse/blob/main/README.md#distinctive-features-compared-to-blobfuse-v1x).
@@ -107,15 +107,15 @@ To build the BlobFuse2 binaries from source:
107
107
108
108
## Configure BlobFuse2
109
109
110
-
You can configure BlobFuse2 with a variety of settings. Some of the common settings used include:
110
+
You can configure BlobFuse2 with a variety of settings. Some of the typical settings used include:
111
111
112
112
- Logging location and options
113
113
- Temporary file path for caching
114
114
- Information about the Azure storage account and blob container to be mounted
115
115
116
116
The settings can be configured in a yaml configuration file, using environment variables, or as parameters passed to the BlobFuse2 commands. The preferred method is to use the configuration file.
117
117
118
-
For details about all of the configuration parameters for BlobFuse2, consult the complete reference material for each:
118
+
For details about each of the configuration parameters for BlobFuse2 and how to specify them, consult the references below:
@@ -134,9 +134,9 @@ BlobFuse2 provides native-like performance by using local file-caching technique
134
134
135
135
#### Configure caching for streaming large files
136
136
137
-
In streaming mode, BlobFuse2 caches blocks of files in memory. The configuration settings related to caching forstreaming are under the `stream:` settingsin your configuration file as follows:
137
+
BlobFuse2 supports read- and write-streaming as an alternative to disk caching forlarge files. In streaming mode, BlobFuse2 caches blocks of large filesin memoryforboth reading and writing. The configuration settings related to caching for streaming are under the `stream:` settingsin your configuration file as follows:
138
138
139
-
```configuration file
139
+
```yml
140
140
stream:
141
141
Block-size-mb:
142
142
For read only mode, the size of each block to be cached in memory while streaming (in MB)
@@ -145,17 +145,19 @@ stream:
145
145
Buffer-size-mb: The size for each buffer
146
146
```
147
147
148
+
See [the sample streaming configuration file](https://github.com/Azure/azure-storage-fuse/blob/main/sampleStreamingConfig.yaml) to get started quickly with some settings for a basic streaming scenario.
149
+
148
150
#### Configure caching for smaller files
149
151
150
152
Smaller files are cached to a temporary path specified under `file_cache:`in the configuration file as follows:
151
153
152
-
```configuration file
154
+
```yml
153
155
file_cache:
154
156
path: <path to local disk cache>
155
157
```
156
158
157
159
> [!NOTE]
158
-
> BlobFuse2 stores all open file contents in the temporary path. Make sure to have enough space to accommodate all open files.
160
+
> BlobFuse2 stores all open file contents in the temporary path. Make sure to have enough space to contain all open files.
159
161
>
160
162
161
163
There are 3 common options for configuring the temporary path for file caching:
Copy file name to clipboardExpand all lines: articles/storage/blobs/blobfuse2-what-is.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,11 +120,11 @@ However, there are some key differences in the way BlobFuse2 behaves:
120
120
121
121
-**Write-streaming**:
122
122
123
-
Concurrent read- and write-streaming of large file data can produce unpredictable results.
123
+
Concurrent read- and write-streaming of large file data can produce unpredictable results. Simultaneously writing to the same blob from different threads is not supported.
124
124
125
125
### Data integrity
126
126
127
-
The file caching behavior plays an important role in the integrity of the data being read and written to for a Blob Storage file system mount. Streaming mode is recommended for use with large files, which supports both read- and write-streaming. BlobFuse2 caches blocks of streaming files in memory. For smaller files, the entire file is cached to a local disk.
127
+
The file caching behavior plays an important role in the integrity of the data being read and written to a Blob Storage file system mount. Streaming mode is recommended for use with large files, which supports both read- and write-streaming. BlobFuse2 caches blocks of streaming files in memory. For smaller files, the entire file is cached to a local disk.
128
128
129
129
BlobFuse2 supports both read and write operations. Continuous synchronization of data written to storage by using other APIs or other mounts of BlobFuse2 isn't guaranteed. For data integrity, it's recommended that multiple sources don't modify the same blob, especially at the same time. If one or more applications attempt to write to the same file simultaneously, the results could be unexpected. Depending on the timing of multiple write operations and the freshness of the cache for each, the result could be that the last writer wins and previous writes are lost, or generally that the updated file isn't in the desired state.
0 commit comments