localhost:/nvmedisk # ls
localhost:/nvmedisk # nvme
If 'nvme' is not a typo you can use command-not-found to lookup the package that contain
s it, like this:
cnf nvme
localhost:/nvmedisk # nvme list
If 'nvme' is not a typo you can use command-not-found to lookup the package that contain
s it, like this:
cnf nvme
localhost:/nvmedisk # zypper in nvme-cli
Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 1[done]
Building repository 'Update repository with updates from SUSE Linux Enterprise 15'[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 2 NEW packages are going to be installed:
libhugetlbfs nvme-cli
2 new packages to install.
Overall download size: 595.4 KiB. Already cached: 0 B. After the operation, additional
1.2 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package libhugetlbfs-2.20-3.3.1.x86_64 (1/2), 121.5 KiB (407.0 KiB unpacked)
Retrieving: libhugetlbfs-2.20-3.3.1.x86_64.rpm ...................................[done]
Retrieving package nvme-cli-1.13-150300.3.13.1.x86_64
(2/2), 473.9 KiB (774.3 KiB unpacked)
Retrieving: nvme-cli-1.13-150300.3.13.1.x86_64.rpm ...............................[done]
Checking for file conflicts: .....................................................[done]
(1/2) Installing: libhugetlbfs-2.20-3.3.1.x86_64 .................................[done]
Created symlink /etc/systemd/system/default.target.wants/nvmefc-boot-connections.service
-> /usr/lib/systemd/system/nvmefc-boot-connections.service.
(2/2) Installing: nvme-cli-1.13-150300.3.13.1.x86_64 .............................[done]
Executing %posttrans scripts .....................................................[done]
localhost:/nvmedisk # nvme list
Failed to open /sys/class/nvme-subsystem/nvme-subsys0/nvme0/hostnqn: No such file or dir
ectory
Failed to open /sys/class/nvme-subsystem/nvme-subsys0/nvme0/hostid: No such file or dire
ctory
Node SN Model Namespace
Usage Format FW Rev
---------------- -------------------- ---------------------------------------- ---------
-------------------------- ---------------- --------
/dev/nvme0n1 VMWare NVME_0000 VMware Virtual NVMe Disk 1
5.37 GB / 5.37 GB 512 B + 0 B 1.0
localhost:/nvmedisk # ls /dev/nvme*
/dev/nvme0 /dev/nvme0n1 /dev/nvme0n1p1
suse 15.3 install nvme driver
最新推荐文章于 2024-04-28 13:16:41 发布