Skip to content

Commit 2267f40

Browse files
authored
add nobrl mount option
1 parent e1ab00a commit 2267f40

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/aks/azure-csi-files-storage-provision.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to create a static or dynamic persistent volume with Azur
55
ms.topic: article
66
ms.custom: devx-track-azurecli
77
ms.subservice: aks-storage
8-
ms.date: 07/09/2024
8+
ms.date: 07/20/2024
99
author: tamram
1010
ms.author: tamram
1111

@@ -108,6 +108,7 @@ For more information on Kubernetes storage classes for Azure Files, see [Kuberne
108108
- mfsymlinks
109109
- cache=strict
110110
- actimeo=30
111+
- nobrl # disable sending byte range lock requests to the server and for applications which have challenges with posix locks
111112
parameters:
112113
skuName: Premium_LRS
113114
```
@@ -240,6 +241,7 @@ mountOptions:
240241
- mfsymlinks
241242
- cache=strict
242243
- actimeo=30
244+
- nobrl # disable sending byte range lock requests to the server and for applications which have challenges with posix locks
243245
parameters:
244246
skuName: Premium_LRS
245247
```
@@ -368,7 +370,7 @@ Kubernetes needs credentials to access the file share created in the previous st
368370
- mfsymlinks
369371
- cache=strict
370372
- nosharesock
371-
- nobrl
373+
- nobrl # disable sending byte range lock requests to the server and for applications which have challenges with posix locks
372374
```
373375

374376
2. Create the persistent volume using the [`kubectl create`][kubectl-create] command.
@@ -470,7 +472,7 @@ spec:
470472
volumeAttributes:
471473
secretName: azure-secret # required
472474
shareName: aksshare # required
473-
mountOptions: 'dir_mode=0777,file_mode=0777,cache=strict,actimeo=30,nosharesock' # optional
475+
mountOptions: 'dir_mode=0777,file_mode=0777,cache=strict,actimeo=30,nosharesock,nobrl' # optional
474476
```
475477

476478
2. Create the pod using the [`kubectl apply`][kubectl-apply] command.

0 commit comments

Comments
 (0)