Configuring Linux Kernel Parameters
In Linux, such as Red Hat Enterprise Linux (RHEL) 7.0, hot swap of the ES3000 V5 NVMe
PCIe SSD disk will cause unmatched maximum payload size, I/O write errors, and other
issues. This is because Linux does not fully support hot swap. To avoid this issue, make
changes to the Linux kernel file. The changes vary with the Linux OS type.
The Linux kernel parameter configurations also vary depending on OS types:
l
Kernel Parameter Configuration on RHEL 7.3/7.4
l
Kernel Parameter Configuration on RHEL 7.0/7.1/7.2 and CentOS 7.0/7.1/7.2
l
Kernel Parameter Configuration on RHEL 6.6/6.7 and CentOS 6.6/6.7/6.8
l
Kernel Parameter Configuration on Oracle Enterprise Linux 7.3/7.4
l
Kernel Parameter Configuration on Oracle Enterprise Linux 7.0/7.1/7.2
l
Kernel Parameter Configuration on SLES 12.2/12.3
l
Kernel Parameter Configuration on SLES 12/12SP1
l
Kernel Parameter Configuration on SLES 11 SP4
l
Kernel Parameter Configuration on Ubuntu 16.04/16.04.2
l
Kernel Parameter Configuration on Ubuntu 14.04/15.04
Kernel Parameter Configuration on RHEL 7.3/7.4
The following procedure uses RHEL 7.3 as an example.
Step 1
Log in to the OS as an administrator.
Step 2
Run the
vim /boot/grub2/grub.cfg
command to open the boot configuration file.
Step 3
Enter
i
.
Step 4
In the boot configuration file, add
pciehp.pciehp_force=1 pci=pcie_bus_perf
to the boldface
part shown in the following:
Between the added content and its preceding content, a space is required and no line feed is
allowed.
…(Some code omitted.)
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Red Hat Enterprise Linux Server (3.10.0-514.el7.x86_64) 7.3 (Maipo)' --
class red --class gnu-linux --class gnu --class os --unrestricted
$menuentry_id_option 'gnulinux-3.10.0-514.el7.x86_64-
advanced-13434f8c-9fd6-4b12-81bc-91f85ad32a89' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-
efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'
8f04e328-185b-40d9-8f8a-19d3561dd769
ES3000 V5 NVMe PCIe SSD
User Guide
4 Hot Swap
Issue 07 (2019-03-19)
Copyright © Huawei Technologies Co., Ltd.
48