本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
在 E 系列中建立檔案系統 - Linux (NVMe over RoCE)
對於 RHEL 9、RHEL 10、SLES 15 和 SLES 16,您需要在原生 nvme 裝置上建立檔案系統並掛載該檔案系統。
開始之前
請確保您已完成 "從主機存取 E 系列目標的 NVMe 磁碟區" 任務,以確保 NVMe 裝置已正確配置且可存取。
步驟
-
使用該位置在磁碟分割上建立所需NVMe裝置的檔案系統
/dev/disk/by-id/nvme-eui.[id#]。建立檔案系統的方法會因所選的檔案系統而異。此範例顯示如何建立「ext4」檔案系統。
# mkfs.ext4 /dev/disk/by-id/nvme-eui.000082dd5c05d39300a0980000a52225 mke2fs 1.42.11 (22-Oct-2019) Creating filesystem with 2620928 4k blocks and 655360 inodes Filesystem UUID: 97f987e9-47b8-47f7-b434-bf3ebbe826d0 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done -
建立要掛載新裝置的資料夾。
# mkdir /mnt/ext4
-
掛載裝置。
# mount /dev/disk/by-id/nvme-eui.000082dd5c05d39300a0980000a52225 /mnt/ext4
接下來呢?
建立檔案系統之後,"記錄您的 NVMe over RoCE 組態資訊"。