5.2.1 Upgrading the Driver in Linux
Operation Scenario
You can upgrade the driver after a new version is released.
The Linux driver package naming rules are as follows:
l
RHEL, CentOS, or OEL driver package name:
kmod-hiodriver-Driver version-
Supported kernel version.System distributor.Hardware platform.rpm
, such as
kmod-
hiodriver-3.3.5.2-3.10.0_123.el7.centos.x86_64.rpm
,
kmod-
hiodriver-3.3.5.2-3.10.0_123.el7.redhat.x86_64.rpm
, or
kmod-
hiodriver-3.3.5.2-3.10.0_123.el7.oracle.x86_64.rpm
.
l
SLES driver package name:
hiodriver-kmp-Kernel feature-Driver version-Supported
kernel version.System distributor.Hardware platform.rpm
, such as
hiodriver-kmp-
default-3.3.5.2-3.12.28_4.suse12.x86_64.rpm
.
l
Ubuntu or Debian driver package name:
hiodriver -Driver version-Supported kernel
version.System distributor.Hardware platform.deb
, such as
hiodriver-3.3.5.3-3.19.0_15_generic.ubuntu.amd64.deb
.
l
UVP driver package name:
hiodriver-kmp-xen-Driver version-Supported kernel
version.System distributor.Hardware platform.rpm
.
Preparations
Before upgrading the driver, check that:
l
You have downloaded the new driver package to the server and verified the package
integrity.
l
You have checked the new driver version.
Procedure
Step 1
Log in to the OS as an administrator.
Step 2
Go to the directory that stores the ES3000 V3 driver package, for example,
/home
.
Step 3
Run the upgrade command based on the OS type.
l
For RHEL, CentOS, OEL, or SLES, run
rpm -Uvh driver package name
.
An example package name for CentOS is
rpm -Uvh kmod-
hiodriver-3.30.60.1-2.6.32_431.el6.centos.x86_64.rpm
.
l
For Ubuntu or Debian, run
dpkg -i driver package name
.
An example package name for Ubuntu is
dpkg -i
hiodriver-3.3.5.3-3.19.0_15_generic.ubuntu.amd64.deb
.
Step 4
Check whether the following message indicating an incorrect upgrade package is displayed.
Error: The installing package does not match the current OS. Please execute
command: rpm -e kmod-hiodriver to uninstall the installing rpm.
l
If yes, go to
.
l
Step 5
Uninstall the installed package as prompted. Upload the correct upgrade package for the OS
to the server and perform
again to install the package.
ES3000 V3 NVMe PCIe SSD
User Guide
5 Maintenance and Upgrade
Issue 20 (2019-02-27)
Copyright © Huawei Technologies Co., Ltd.
66