11-3
Performing a managed hot removal in Linux
Prerequisites
Identify that your operating system is a non-SLES Linux operating system. SLES operating systems
do not support hot removal of NVMe drives.
Performing a managed hot removal from the CLI
1.
Stop reading data from or writing data to the NVMe drive to be removed.
2.
Identify the location of the NVMe drive. For more information, see "
."
3.
Access the CLI of the server.
4.
Execute the
lsblk | grep nvme
command to identify the drive letter of the NVMe drive, as
shown in
Figure 11-2 Identifying the drive letter of the NVMe drive to be removed
5.
Execute the
ledctl locate=/dev/drive_letter
command to turn on the Fault/UID
LED on the drive. The
drive_letter
argument represents the drive letter, nvme0n1 for
example.
6.
Execute the
echo 1 > /sys/block/drive_letter/device/device/remove
command to unmount the drive from the operating system. The
drive_letter
argument
represents the drive letter, nvme0n1 for example.
7.
Observe the Fault/UID LED on the drive. If the Fault/UID LED turns steady amber, remove the
drive from the server.
For more information about the removal procedure, see "Replacing an NVMe drive."