Skip to content

Commit 7ca0b60

Browse files
committed
Add include syntax to client-upgrade.md. Fix lint errors
1 parent 63e9501 commit 7ca0b60

File tree

4 files changed

+39
-10
lines changed

4 files changed

+39
-10
lines changed

azure-managed-lustre/client-install.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.date: 10/18/2024
99
zone_pivot_groups: select-os
1010

1111
---
12+
<!-- markdownlint-disable-file MD025 -->
1213

1314
# Install prebuilt Lustre client software
1415

azure-managed-lustre/client-upgrade.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ ms.date: 03/15/2024
99

1010
---
1111

12-
# Upgrade Lustre client software to the current version
12+
<!-- markdownlint-disable-file MD051 -->
13+
14+
## Upgrade Lustre client software to the current version
1315

1416
In this article, you learn how to upgrade an existing Lustre client package to the current version. Upgraded client software is required to connect to an Azure Managed Lustre file system.
1517

@@ -45,9 +47,7 @@ Follow these steps to upgrade the Lustre client to the current version:
4547

4648
1. Install the current version of the Lustre client using the following command:
4749

48-
```bash
49-
sudo dnf install amlfs-lustre-client-2.15.5_41_gc010524-$(uname -r | sed -e "s/\.$(uname -p)$//" | sed -re 's/[-_]/\./g')-1
50-
```
50+
[!INCLUDE [client-upgrade-version-rhel-alma](./includes/client-upgrade-version-rhel-alma.md)]
5151

5252
1. Verify that old kernel modules are removed using the following command:
5353

@@ -61,7 +61,7 @@ Follow these steps to upgrade the Lustre client to the current version:
6161
cat: /sys/module/lustre/version: No such file or directory
6262
```
6363

64-
If the output shows an old version of the Lustre kernel module, it's recommended that you reboot the system.
64+
If the output shows an old version of the Lustre kernel module, rebooting the system is recommended.
6565

6666
### [Ubuntu](#tab/ubuntu)
6767

@@ -85,23 +85,21 @@ Follow these steps to upgrade the Lustre client to the current version:
8585

8686
1. Install the current version of the Lustre client using the following command:
8787

88-
```bash
89-
sudo apt install amlfs-lustre-client-2.15.5-41-gc010524=$(uname -r)
90-
```
88+
[!INCLUDE [client-upgrade-version-ubuntu](./includes/client-upgrade-version-ubuntu.md)]
9189

9290
1. Verify that old kernel modules are removed using the following command:
9391

9492
```bash
9593
cat /sys/module/lustre/version; lsmod | grep -E 'lustre|lnet'
9694
```
9795

98-
The output should look similar to the following:
96+
The following output should look similar to:
9997

10098
```bash
10199
cat: /sys/module/lustre/version: No such file or directory
102100
```
103101

104-
If the output shows an old version of the Lustre kernel module, it's recommended that you reboot the system.
102+
If the output shows an old version of the Lustre kernel module, rebooting the system is recommended.
105103

106104
---
107105

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
author: rayfergusonmsft
3+
ms.author: rayferguson
4+
ms.service: azure-stack
5+
ms.topic: include
6+
ms.date: 10/24/2024
7+
ms.reviewer:
8+
ms.lastreviewed:
9+
---
10+
11+
<!-- markdownlint-disable-file MD041 -->
12+
13+
```bash
14+
sudo dnf install amlfs-lustre-client-2.15.5_41_gc010524-$(uname -r | sed -e "s/\.$(uname -p)$//" | sed -re 's/[-_]/\./g')-1
15+
```
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
author: rayfergusonmsft
3+
ms.author: rayferuson
4+
ms.service: azure-stack
5+
ms.topic: include
6+
ms.date: 10/24/2024
7+
ms.reviewer:
8+
ms.lastreviewed:
9+
---
10+
11+
<!-- markdownlint-disable-file MD041 -->
12+
13+
```bash
14+
sudo apt install amlfs-lustre-client-2.15.5-41-gc010524=$(uname -r)
15+
```

0 commit comments

Comments
 (0)