Querying The Mapping Between Nvme Pcie Ssd Drive Letters, Slot Ids, And Bus Ids In Linux - Huawei 5288 V3 V100R003 User Manual

Table of Contents

Advertisement

5288 V3 Server
User Guide
9.9 Querying the Mapping Between NVMe PCIe SSD
Drive Letters, Slot IDs, and Bus IDs in Linux
Query the mapping between NVMe PCIe SSD drive letters, slot IDs, and bus IDs in Linux
before removing NVMe PCIe SSDs.
Procedure
Step 1 Open the command terminal on the OS.
Step 2 Query the slots IDs of the NVMe PCIe SSDs.
Run the following commands:
cd /sys/bus/pci/slots
ll
Information similar to
Figure 9-31 Slot IDs
Step 3 Query the bus IDs based on the slots IDs.
Run the following command to query the bus ID of a NVMe PCIe SSD:
cat /sys/bus/pci/slots/$slot/address
In the command, $slot indicates the slot ID, which is obtained in
Figure 9-32 Bus IDs that map to slot IDs
Issue 26 (2018-11-19)
Figure 9-31
is displayed.
Copyright © Huawei Technologies Co., Ltd.
9 Common Operations
Figure
9-31.
271

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents