3.
Stop accessing the NVMe drive.
Stop I/O operations on the NVMe drive to be removed and unmount any file systems
mounted to the drive. If the drive is used by the mdadm utility, you also need to set the
drive to the fail state.
Run the following command:
umount /dev/NVMe drive letter
4.
Run the following command to safely remove the drive:
echo n > /sys/bus/pci/slots/Slot ID/power
–
In the command, the value of
n
can be
0
or
1
. The value
0
indicates unloading a
drive, and the value
1
indicates loading a drive. You can load a drive only before the
unloaded drive is removed.
–
Slot ID
: see
For example, to orderly hot remove the NVMe drive in slot 2, run the following
command:
echo 0 > /sys/bus/pci/slots/81/power
5.
Observe the indicator status of the NVMe drive. If the green indicator is off and the
yellow indicator blinks at 0.5 Hz, remove the NVMe drive slowly.
For details about the drive indicator status, see
For details about how to manually remove an NVMe drive, see
6.
Place the removed component in an ESD bag.
Step 7
Run the following command to restore the value of the a8 register to the original value:
setpci -s <B/D/F> a8.B=Original a8 register value
<
B/D/F
>: indicates the root port (B/D/F) of the NVMe drive. For details about the B/D/F
information, see
Figure 3-47
Resetting the value of the a8 register of drive 2 (example)
FusionServer Pro CH121 V5 Compute Node
User Guide
3 Basic Operations
Issue 06 (2019-08-10)
Copyright © Huawei Technologies Co., Ltd.
61