Hotplug of a multipath NVMe device (FW 1060 and later)
Hot plug is the process of adding a component to the running operating system without interrupting the operations of the system. The Non-Volatile Memory Express (NVMe) devices contain unique Peripheral Component Interconnect (PCI) reset signals and logical power states. Only one logical device that is associated with a physical device needs to be powered on before you can power on the physical drive. However, both logical devices must be powered off before you can power off the physical drive.
HMC-based hotplug
Assume that a physical NVMe device U50EE.001.WZS000E-P3-C1
has two physical
location codes, U50EE.001.WZS000E-P3-C1-R1
and
U50EE.001.WZS000E-P3-C1-R2
.
-
Dynamically remove the R1 and R2 paths from the logical partition (LPAR) on the HMC. Select the path devices, click Save.
, and then -
Dynamically add R1 and R2 paths to the LPAR on the HMC. To select the path devices, click Add Adapter, select the paths, then click OK.
Linux-based hotplug
For example, a physical NVMe device U50EE.001.WZS000E-P3-C1
has two physical
location codes, U50EE.001.WZS000E-P3-C1-R1
and
U50EE.001.WZS000E-P3-C1-R2
.
- Enable the dynamic remove or add adapter in Linux.
- Remove the R1 path by using the following
command:
# drmgr -r -c pci -s "U50EE.001.WZS000E-P3-C1-R1"
- Remove the R2 path by using the following
command:
# drmgr -r -c pci -s "U50EE.001.WZS000E-P3-C1-R2"
- Add a NVMe device back into the LPAR by using the following
command:
# drmgr -a -c pci -s "U50EE.001.WZS000E-P3-C1-R1”
- Add the R2 path back into the LPAR by using the following
command:
# drmgr -a -c pci -s "U50EE.001.WZS000E-P3-C1-R2”