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: support/azure/azure-storage/files/performance/files-troubleshoot-performance.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,17 +239,34 @@ It's possible you're experiencing throttling, and your requests are being sent t
239
239
240
240
Ensure your app is within the [Azure Files scale targets](/azure/storage/files/storage-files-scale-targets#azure-files-scale-targets). If you're using standard Azure file shares, consider switching to premium.
241
241
242
+
### Cause 3: Azure File Share reaches capacity
243
+
244
+
If the Azure file share is close to reaching its capacity, an important step is to identify the largest files and directories in order to optimize storage. This step helps you to understand which files and folders are using the most space.
245
+
246
+
### Workaround
247
+
248
+
To get a comprehensive view of storage usage across the entire share, mount the root of the share. This action enables a thorough inspection of file and directory sizes. At the root of the file share, run the following commands to identify the largest files and directories:
249
+
250
+
```bash
251
+
cd /path/to/mount/point
252
+
du -ah --max-depth=1 | sort -rh | head -n 20
253
+
```
254
+
255
+
This command displays the 20 largest files and directories in descending order of size. This display provides a clear overview of storage consumption.
256
+
257
+
If you can't mount the root of the share, use Azure Storage Explorer or a third-party tool to analyze storage usage. These tools provide similar insights into file and directory sizes without requiring you to mount the share.
258
+
242
259
## Throughput on Linux clients is lower than that of Windows clients
243
260
244
261
### Cause
245
262
246
-
This is a known issue with implementing the SMB client on Linux.
263
+
This is a known issue that affects implementing the SMB client on Linux.
247
264
248
265
### Workaround
249
266
250
267
- Spread the load across multiple VMs.
251
-
- On the same VM, use multiple mount points with a `nosharesock` option, and spread the load across these mount points.
252
-
- On Linux, try mounting with a `nostrictsync` option to avoid forcing an SMB flush on every `fsync` call. For Azure Files, this option doesn't interfere with data consistency, but it might result in stale file metadata on directory listings (`ls -l` command). Directly querying file metadata by using the `stat` command will return the most up-to-date file metadata.
268
+
- On the same VM, use multiple mount points that have a `nosharesock` option, and spread the load across these mount points.
269
+
- On Linux, try mounting by using a `nostrictsync` option to avoid forcing an SMB flush on every `fsync` call. For Azure Files, this option doesn't interfere with data consistency, but it might cause stale file metadata on directory listings (`ls -l` command). Directly querying file metadata by using the `stat` command returns the most up-to-date file metadata.
253
270
254
271
## High latencies for metadata-heavy workloads involving extensive open/close operations
0 commit comments