5.1.1 Uninstalling the Driver in Linux
Operation Scenario
If you want to stop using or replace the ES3000 V3, uninstall the driver first.
Procedure
Step 1
Log in to the OS as an administrator.
Step 2
Stop or exit the programs or files that are accessing the ES3000 V3.
Step 3
Run the uninstallation command based on the OS type.
l
For RHEL, CentOS, or OEL, run the
rpm -e kmod-hiodriver
command.
l
For SLES or UVP, run the
rpm -e hiodriver-kmp-kernel feature
command. Example:
rpm -e hiodriver-kmp-default
l
For Ubuntu or Debian, run the
dpkg -r hiodriver
command.
Step 4
Check whether the following message is displayed. The message indicates that the installed
NVMe driver fails to be uninstalled.
Warning: fail to uninstall the installed nvme kernel module. Please uninstall the
installed nvme kernel module manually or reboot the system.
l
If yes, go to
.
l
Step 5
Check whether the following message is displayed. The message indicates that the NVMe
driver built in the OS fails to be loaded.
Warning: fail to install the in-kernel nvme kernel module. Please install the in-
kernel nvme kernel module manually or reboot the system.
l
If yes, go to
.
l
Step 6
Check whether restarting the OS will affect services.
l
If yes, go to
.
l
If no, restart the OS and go to
.
Step 7
Check whether restarting the OS will affect services.
l
If yes, go to
.
l
If no, restart the OS and go to
.
Step 8
Run the
modprobe -r nvme
command to uninstall the driver. During the uninstallation, check
whether a message is displayed indicating that the driver is in use. If yes, the uninstallation
fails.
l
If yes, restart the OS and go to
.
l
Step 9
Run the
modprobe nvme
command to install the open-source driver. Check whether a
warning or error is displayed during the installation.
l
If yes, restart the OS and go to
.
l
ES3000 V3 NVMe PCIe SSD
User Guide
5 Maintenance and Upgrade
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
63