Skip to content

Commit ba097d6

Browse files
author
Simonx Xu
authored
Merge pull request #8080 from simonxjx/simon-3
AB#3579: Post Edit PR#8075
2 parents e37c91c + 52cd730 commit ba097d6

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

support/azure/azure-storage/files/security/files-troubleshoot-linux-smb.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot Azure Files issues in Linux (SMB)
33
description: Troubleshooting Azure Files issues in Linux. See general issues related to SMB Azure file shares when you connect from Linux clients and possible resolutions.
44
ms.service: azure-file-storage
55
ms.custom: sap:Security, linux-related-content
6-
ms.date: 08/20/2024
6+
ms.date: 01/22/2025
77
ms.reviewer: kendownie, v-weizhu
88
---
99

@@ -24,75 +24,75 @@ This article lists common issues that can occur when using SMB Azure file shares
2424

2525
## Run diagnostics
2626

27-
Diagnostics tools can be helpful for ensuring that clients have the correct prerequisites and for collecting debug information on field issues that can be hard to reproduce.
27+
Diagnostics tools can help ensure that clients have the correct prerequisites and collect debug information on field issues that can be hard to reproduce.
2828

2929
### Use AzFileDiagnostics
3030

3131
You can use [AzFileDiagnostics](https://github.com/Azure-Samples/azure-files-samples/tree/master/AzFileDiagnostics/Linux) to automate symptom detection and ensure that the Linux client has the correct prerequisites. It helps set up your environment to get optimal performance.
3232

3333
### Use the Always-On Diagnostics tool
3434

35-
You can also use the Always-On Diagnostics (AOD) tool to collect logs on SMB and NFSv4 Linux clients. The daemon runs in the background as a system service and can be configured to detect anomalies in a variety of sources such as dmesg logs, debug data, and error and latency metrics. It can capture data from tcpdump, nfsstat, mountstsat, and other sources, along with the system's CPU and memory usage.
35+
You can also use the Always-On Diagnostics (AOD) tool to collect logs on SMB and NFSv4 Linux clients. The daemon runs in the background as a system service and can be configured to detect anomalies in various sources, such as dmesg logs, debug data, error metrics, and latency metrics. It can capture data from tcpdump, nfsstat, mountstsat, and other sources, along with the system's CPU and memory usage.
3636

37-
AOD is currently compatible with systems running SUSE Linux Enterprise Server 15 (SLES15) and Red Hat Enterprise Linux 8 (RHEL8). Follow the appropriate installation steps.
37+
The Always-On Diagnostics tool is currently compatible with systems running SUSE Linux Enterprise Server 15 (SLES 15) and Red Hat Enterprise Linux 8 (RHEL 8). Follow the installation steps that correspond to your operating system:
3838

3939
#### [SLES](#tab/SLES)
4040

41-
Follow these instructions to install the Always-On Diagnostics tool on SUSE Linux Enterprise Server 15.
41+
In SLES 15, follow these instructions to install the Always-On Diagnostics tool:
4242

4343
1. Add the Microsoft repo. You might need to add the Microsoft repository key to your list of trusted keys.
4444

45-
```
46-
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
47-
sudo zypper addrepo --check --refresh --name 'Microsoft' https://packages.microsoft.com/sles/15/prod microsoft
48-
```
45+
```bash
46+
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
47+
sudo zypper addrepo --check --refresh --name 'Microsoft' https://packages.microsoft.com/sles/15/prod microsoft
48+
```
4949

5050
2. Refresh the repositories.
5151

52-
```
53-
sudo zypper refresh
54-
```
52+
```bash
53+
sudo zypper refresh
54+
```
5555

56-
3. Check if the repo has been added and the aod package is available for installation.
56+
3. Check if the repo has been added and the `aod` package is available for installation.
5757

58-
```
59-
zypper search aod
60-
```
58+
```bash
59+
zypper search aod
60+
```
6161

6262
4. Install the package.
6363

64-
```
65-
sudo zypper install aod
66-
```
64+
```bash
65+
sudo zypper install aod
66+
```
6767

6868
#### [RHEL](#tab/RHEL)
6969

70-
Follow these instructions to install the Always-On Diagnostics tool on Red Hat Enterprise Linux 8.
70+
In RHEL 8, follow these instructions to install the Always-On Diagnostics tool:
7171

7272
1. Download the repo config package.
73-
74-
```
75-
curl -ssl -O https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm
76-
```
73+
74+
```bash
75+
curl -ssl -O https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm
76+
```
7777

7878
2. Install the repo config package.
79-
80-
```
81-
sudo rpm -i packages-microsoft-prod.rpm
82-
```
79+
80+
```bash
81+
sudo rpm -i packages-microsoft-prod.rpm
82+
```
8383

8484
3. Delete the repo config package after installing and updating the package index files.
8585

86-
```
87-
rm packages-microsoft-prod.rpm
88-
sudo dnf update
89-
```
86+
```bash
87+
rm packages-microsoft-prod.rpm
88+
sudo dnf update
89+
```
9090

9191
4. Install the package.
9292

93-
```
94-
sudo dnf install aod
95-
```
93+
```bash
94+
sudo dnf install aod
95+
```
9696

9797
---
9898

0 commit comments

Comments
 (0)