Skip to content

Commit 587e675

Browse files
authored
Merge pull request #16154 from jofergus/client_upgrade
Add inlude syntax to client-upgrade.md. Fix lint errors
2 parents 537c25d + dc09f18 commit 587e675

File tree

3 files changed

+35
-9
lines changed

3 files changed

+35
-9
lines changed

azure-managed-lustre/client-upgrade.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ Follow these steps to upgrade the Lustre client to the current version:
4545

4646
1. Install the current version of the Lustre client using the following command:
4747

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-
```
48+
[!INCLUDE [client-upgrade-version-rhel-alma](./includes/client-upgrade-version-rhel-alma.md)]
5149

5250
1. Verify that old kernel modules are removed using the following command:
5351

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

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

6664
### [Ubuntu](#tab/ubuntu)
6765

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

8684
1. Install the current version of the Lustre client using the following command:
8785

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

9288
1. Verify that old kernel modules are removed using the following command:
9389

9490
```bash
9591
cat /sys/module/lustre/version; lsmod | grep -E 'lustre|lnet'
9692
```
9793

98-
The output should look similar to the following:
94+
The following output should look similar to:
9995

10096
```bash
10197
cat: /sys/module/lustre/version: No such file or directory
10298
```
10399

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

106102
---
107103

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)