Во время тестирования nvmetcli было замечено, что в un-def отсутствует поддержка nvmet, однако в std-def присутствует. Для un-def: # uname -r 5.10.81-un-def-alt1 # systemctl start nvmet Job for nvmet.service failed because the control process exited with error code. See "systemctl status nvmet.service" and "journalctl -xe" for details. # systemctl status nvmet ● nvmet.service - Restore NVMe kernel target configuration Loaded: loaded (/lib/systemd/system/nvmet.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2021-11-25 17:32:45 MSK; 28s ago Process: 4023 ExecStart=/usr/sbin/nvmetcli restore (code=exited, status=1/FAILURE) Main PID: 4023 (code=exited, status=1/FAILURE) ноя 25 17:32:45 dhcxhsxitkmac nvmetcli[4023]: File "/usr/sbin/nvmetcli", line 736, in main ноя 25 17:32:45 dhcxhsxitkmac nvmetcli[4023]: funcs[sys.argv[1]](savefile) ноя 25 17:32:45 dhcxhsxitkmac nvmetcli[4023]: File "/usr/sbin/nvmetcli", line 681, in restore ноя 25 17:32:45 dhcxhsxitkmac nvmetcli[4023]: errors = nvme.Root().restore_from_file(from_file) ноя 25 17:32:45 dhcxhsxitkmac nvmetcli[4023]: File "/usr/lib/python3/site-packages/nvmet/nvme.py", line 242, in __init__ ноя 25 17:32:45 dhcxhsxitkmac nvmetcli[4023]: self.configfs_dir) ноя 25 17:32:45 dhcxhsxitkmac nvmetcli[4023]: nvmet.nvme.CFSError: /sys/kernel/config/nvmet does not exist. Giving up. ноя 25 17:32:45 dhcxhsxitkmac systemd[1]: nvmet.service: Main process exited, code=exited, status=1/FAILURE ноя 25 17:32:45 dhcxhsxitkmac systemd[1]: nvmet.service: Failed with result 'exit-code'. ноя 25 17:32:45 dhcxhsxitkmac systemd[1]: Failed to start Restore NVMe kernel target configuration. # nvmetcli /sys/kernel/config/nvmet does not exist. Giving up. # lsmod | grep nvme # cat /proc/mounts | grep config configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0 # ls /lib/modules/5.10.81-un-def-alt1/kernel/drivers/ | grep nvme Для std-def: # uname -r 5.4.154-std-def-alt1 # ls /lib/modules/5.4.154-std-def-alt1/kernel/drivers/ | grep nvme nvme # modprobe nvmet # lsmod | grep nvme nvme_loop 16384 0 nvme_fabrics 24576 1 nvme_loop nvmet 102400 1 nvme_loop