Skip to content

Commit fbd7b77

Browse files
Merge pull request #16267 from jofergus/upgrade
Correcting upgrade sequence of commands.
2 parents 45c4de2 + b2f546a commit fbd7b77

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

azure-managed-lustre/client-upgrade.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ Follow these steps to upgrade the Lustre client to the current version:
3434
1. Uninstall the existing Lustre client version using the following command:
3535

3636
```bash
37-
sudo dnf remove <lustre-client>
37+
sudo dnf remove *lustre*
3838
```
3939

40-
1. Reboot using `sudo reboot`, or unload the Lustre and Lustre Networking (LNet) kernel modules using the following command:
40+
1. Install the current version of the Lustre client using the following command:
41+
42+
[!INCLUDE [client-upgrade-version-rhel-alma](./includes/client-upgrade-version-rhel-alma.md)]
43+
44+
1. Unload the Lustre and Lustre Networking (LNet) kernel modules using the following command:
4145

4246
```bash
4347
sudo lustre_rmmod
4448
```
4549

46-
1. Install the current version of the Lustre client using the following command:
47-
48-
[!INCLUDE [client-upgrade-version-rhel-alma](./includes/client-upgrade-version-rhel-alma.md)]
49-
5050
1. Verify that old kernel modules are removed using the following command:
5151

5252
```bash
@@ -59,7 +59,7 @@ Follow these steps to upgrade the Lustre client to the current version:
5959
cat: /sys/module/lustre/version: No such file or directory
6060
```
6161

62-
If the output shows an old version of the Lustre kernel module, rebooting the system is recommended.
62+
If the output shows an old version of the Lustre kernel module, rebooting (sudo reboot) the system is recommended.
6363

6464
### [Ubuntu](#tab/ubuntu)
6565

@@ -72,19 +72,19 @@ Follow these steps to upgrade the Lustre client to the current version:
7272
1. Uninstall the existing Lustre client version using the following command:
7373

7474
```bash
75-
sudo apt autoremove <lustre-client>
75+
sudo apt autoremove *lustre* -y
7676
```
7777

78-
1. Reboot using `sudo reboot`, or unload the Lustre and Lustre Networking (LNet) kernel modules using the following command:
78+
1. Install the current version of the Lustre client using the following command:
79+
80+
[!INCLUDE [client-upgrade-version-ubuntu](./includes/client-upgrade-version-ubuntu.md)]
81+
82+
1. Unload the Lustre and Lustre Networking (LNet) kernel modules using the following command:
7983

8084
```bash
8185
sudo lustre_rmmod
8286
```
8387

84-
1. Install the current version of the Lustre client using the following command:
85-
86-
[!INCLUDE [client-upgrade-version-ubuntu](./includes/client-upgrade-version-ubuntu.md)]
87-
8888
1. Verify that old kernel modules are removed using the following command:
8989

9090
```bash
@@ -97,7 +97,7 @@ Follow these steps to upgrade the Lustre client to the current version:
9797
cat: /sys/module/lustre/version: No such file or directory
9898
```
9999

100-
If the output shows an old version of the Lustre kernel module, rebooting the system is recommended.
100+
If the output shows an old version of the Lustre kernel module, rebooting (sudo reboot) the system is recommended.
101101

102102
---
103103

azure-managed-lustre/includes/client-upgrade-version-ubuntu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ ms.lastreviewed:
99
---
1010

1111
```bash
12-
sudo apt install amlfs-lustre-client-2.15.5-41-gc010524=$(uname -r)
12+
sudo apt install -y amlfs-lustre-client-2.15.5-41-gc010524=$(uname -r)
1313
```

0 commit comments

Comments
 (0)