No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

RH5885 V3 Server V100R003 User Guide 30

This document describes the appearance, specifications, parameters, and structure of the RH5885 V3, and how to install an OS, replace parts, and install, remove, configure, and troubleshoot the server.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Removing an NVMe PCIe SSD

Removing an NVMe PCIe SSD

  • If the NVMe PCIe SSD to be removed is used as a data disk, simply remove it without powering off the server.
  • If the NVMe PCIe SSD to be removed is used as a boot disk, power off the server first. For details, see Powering On and Off the RH5885 V3. Then manually remove the SSD. For details, see Removing a SATA HDD, SAS HDD, or SSD.
  • You have backed up data on the NVMe PCIe SSD to be removed.
  • Wait until the hot removal of an NVMe PCIe SSD is complete before you remove another one.
  • The interval between the removal operations of two NVMe PCIe SSDs must be longer than 30 seconds.
  • You have obtained a list of all operating systems (OSs) supported by NVMe PCIe SSDs. For details, see Compatibility.

Procedure

  1. Wear an ESD wrist strap or ESD gloves. For details, see Safety Instructions.
  2. Check whether the RH5885 V3 is equipped with a front bezel?

  3. Remove the front bezel of the RH5885 V3. For details, see (Optional) Removing the Front Bezel.
  4. Determine the position of the NVMe PCIe SSD on the RH5885 V3. See Figure 5-9.

    Figure 5-9 NVMe PCIe SSD position

  5. Remove the NVMe PCIe SSD.

    Remove the NVMe PCIe SSD on Windows.

    • Stop all services on the NVMe PCIe SSD.
    • Query the mapping between slot IDs and drive letters of NVMe PCIe SSDs by using the following method:
    NOTE:

    This step uses Windows Server 2012 R2 as an example.

    1. Choose Server Manager > Computer Management > Disk Management.
    2. Right-click a hard disk and choose Properties from the shortcut menu. In the displayed dialog box, view the value of Location for the hard disk.
    3. Determine whether the hard disk is an NVMe PCIe SSD according to the value of Location. For an NVMe PCIe SSD, record its drive letter. See Figure 5-10.
    Figure 5-10 Mapping between the slot ID and drive letter of an NVMe PCIe SSD

    • Open the NVMe PCIe SSD ejection tool EjectTool, and view the NVMe PCIe SSDs running on the server. See Figure 5-11.
    Figure 5-11 Viewing running NVMe PCIe SSDs

    The device IDs of Intel NVMe PCIe SSDs are 0953.

    • Select the NVMe PCIe SSD to be ejected, and click EJECT. If the SSD is ejected, the message "Succeed" is displayed, as shown in Figure 5-12.
    Figure 5-12 Selecting the NVMe PCIe SSD to be ejected

    • Do not eject a running NVMe PCIe SSD. If you attempt to eject a running NVMe PCIe SSD, EjectTool prompts you to stop all services on it first, as shown in Figure 5-13.
    Figure 5-13 Prompting you to stop all services on an NVMe PCIe SSD

    • After the NVMe PCIe SSD is ejected, its fault indicator is blinking at 0.5 Hz. At this moment, the NVMe PCIe SSD is removable.
    • Remove the NVMe PCIe SSD. For details, see Removing a SATA HDD, SAS HDD, or SSD.

    Remove the NVMe PCIe SSD on Linux.

    Before attempting any hot swap operation, set a kernel parameter for the boot loader. That is, add pci=pcie_bus_perf to boot/grub2/grub.cfg. See Figure 5-14. Then restart the server for the setting to take effect.

    Figure 5-14 Setting a kernel parameter

    • Stop all programs accessing the NVMe PCIe SSD.
    • If a file system is mounted to the NVMe PCIe SSD, unmount the file system from it.
    • Query the mapping between slot IDs and drive letters of NVMe PCIe SSDs by using the following method:
      1. Open the command terminal on the OS, run the cat /sys/bus/pci/slots/$slot/address command to query the bus IDs that map to slot IDs, and record all bus IDs. For example, slot 8 maps to bus ID 0000:81:00, as shown in Figure 5-15.

        In the command, $slot indicates the slot ID of a hard disk. The value can be 8, 9, 13, or 14.

        Figure 5-15 Bus IDs that map to slot IDs

      2. Run the ls -l /sys/class/block/ command to query the mapping between NVMe PCIe SSD drive letters, PCIe bus IDs, and 80 IDs in /sys/class/block/. See Figure 5-16. Then obtain the mapping between slot IDs and drive letters of NVMe PCIe SSDs according to the mapping between slot IDs and bus IDs queried in Removing an NVMe PCIe SSD.

        For example, drive letter nvme0n1 maps to bus ID 0000:81:00.0 and 80 ID 0000:80:02.0. According to Removing an NVMe PCIe SSD, drive letter nvme0n1 maps to slot ID 8.

    Figure 5-16 Mapping between NVMe PCIe SSD drive letters, PCIe bus IDs, and 80 IDs

    NOTE:

    The slot IDs queried on the command terminal are theoretically consistent with the slot IDs (8, 9, 13, and 14) marked on the server, but they may actually differ due to a system difference. If the difference exists, determine the slot ID according to the value of dev.func ID in the mapping 80 ID in Removing an NVMe PCIe SSD.

    • Run the following command to remove the NVMe PCIe SSD:
      • echo n > /sys/bus/pci/slots/$slot/power
      • In the command, the value of n can be 0 or 1. The value 0 indicates hot removal, and the value 1 indicates hot insertion. If the value 0 is used, the hot removal command is executed but the NVMe PCIe SSD is not physically removed.
      • For example, to hot-remove the NVMe PCIe SSD in slot 8, run the echo 0 > /sys/bus/pci/slots/8/power command.
    • Observe the NVMe PCIe SSD fault indicator. If the indicator is blinking at 0.5 Hz, the SSD is removable.
    • Remove the NVMe PCIe SSD. For details, see Removing a SATA HDD, SAS HDD, or SSD.
    • Wait for 15 seconds if you want to insert the NVMe PCIe SSD back into its original slot.

Translation
Download
Updated: 2018-10-24

Document ID: EDOC1000040297

Views: 82085

Downloads: 1539

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next