Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to initialize iSCSI Driver #109

Open
Omoinemie opened this issue Aug 15, 2024 · 8 comments
Open

Failed to initialize iSCSI Driver #109

Omoinemie opened this issue Aug 15, 2024 · 8 comments

Comments

@Omoinemie
Copy link

Bug Info

/sys/kernel/scst_tgt was not found. Is SCST installed?

OS : Debian GNU/Linux 12
Arch : x86_64 (64 Bit)
Kernel : 6.8.8-4-pve

@cdav0031
Copy link

I have the same issue

image

@bkelly16
Copy link
Member

Do you have the iSCSI kernel modules SCST packages installed ?

i do not believe Proxmox maintains SCST packages.

We build and maintain deb and rpms for the SCST kernel modules and userspace packages. Here is the three deb packages:

After install you can load kernel modules with:

modprobe scst
modprobe iscsi-scst
modprobe scst-vdisk

To load at boot create this file:
/etc/modules-load.d/scst.conf

With this content

scst_vdisk
iscsi_scst
scst

@AlBundy33
Copy link

AlBundy33 commented Oct 31, 2024

iscsi-scst seems to be missing for rhel. 🤔

$ cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.4 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.4"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.4 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.4"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.4"
$ uname -a
Linux rocky-vm 5.14.0-427.40.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 16 14:57:47 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

@Omoinemie
Copy link
Author

Omoinemie commented Nov 1, 2024

Do you have the iSCSI kernel modules SCST packages installed ?-----------谷歌翻译mobile-----------您是否安装了 iSCSI 内核模块 SCST 包?

i do not believe Proxmox maintains SCST packages.-----------谷歌翻译mobile-----------我不相信 Proxmox 维护 SCST 包。

We build 和 maintain deb 和 rpms for the SCST kernel modules 和 userspace packages. Here is the three deb packages:-----------谷歌翻译mobile-----------我们为 SCST 内核模块和用户空间包构建并维护 deb 和 rpm。以下是三个 deb 包:

After install you can load kernel modules with:-----------谷歌翻译mobile-----------安装后,你可以使用以下命令加载内核模块:

modprobe scst
modprobe iscsi-scst
modprobe scst-vdisk

To load at boot create this file: /etc/modules-load.d/scst.conf-----------谷歌翻译mobile-----------要在启动时加载,请创建此文件:/etc/modules-load.d/scst.conf

With this content-----------谷歌翻译mobile-----------有了这个内容

scst_vdisk
iscsi_scst
scst

after install modules, now report an error

localhost: /usr/bin/env: 
      error: Could not connect to launcher: Connection refused
      crm_mon: Connection to cluster failed: Connection refused

@cdav0031
Copy link

cdav0031 commented Nov 5, 2024

I have the same issue with the new file sharing update. I am using a prebuilt full burned in HL15 that I purchased in July. It is running the rocky Linux. If I down grade to cockpit-file-sharing-3.3.7-1.el8.noarch.rpm the errors go away. Any thing past that throw the following error.

image

I have already installed the following 3 SCST packages that are in e18 stable repo:

scst-dkms-3.9.0.aa2c92542-1.el8.x86_64.rpm
scst-dkms-userspace-3.9.0.aa2c92542-1.el8.x86_64.rpm
scstadmin-1.0.0aa2c92542-1.x86_64.rpm

Here is the output for the version of Linux I am running.

Linux version 4.18.0-553.22.1.el8_10.x86_64 (mockbuild@iad1-prod-build001.bld.equ.rockylinux.org) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-22) (GCC)) #1 SMP Wed Sep 25 09:20:43 UTC 2024

@DangoNetwork
Copy link

make sure iscsi-scst is installed.

@AlBundy33
Copy link

iscsi-scst seems not to be available in rhel-repo 🤔

@cdav0031
Copy link

For anyone that is still having this issue, I reached out to 45drives directly and they provided the solution. Here are the steps needed for iscsi to be installed and work. For me only the Echo commands at the end were needed as I already had everything installed.

Here are the installation instructions for the scst modules.

  • Update system and reboot

    • dnf update -y && reboot
  • remove conflicting iscsi packages

    • dnf remove targetcli
  • Install Kernel Development packages and DKMS packages

    • dnf install kernel-devel dkms
  • Install iSCSI packages *** THIS SHOULD HANG FOR A WHILE IT BUILDS THE MODULES ***

    • dnf install scst-dkms scst-dkms-userspace scstadmin
  • enable and load modules

    • echo "iscsi-scst" >> /etc/modules-load.d/scst.conf && modprobe iscsi-scst

    • echo "scst" >> /etc/modules-load.d/scst.conf && modprobe scst

    • echo "scst_vdisk" >> /etc/modules-load.d/scst.conf && modprobe "scst_vdisk"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants