Unable to install iscsi plugin

    • OMV 3.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Unable to install iscsi plugin

      I am trying to install iscsi plugin and it keep giving me this error.

      Source Code

      1. Reading package lists...
      2. Building dependency tree...
      3. >>> *************** Error ***************
      4. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --force-yes --fix-missing --allow-unauthenticated --reinstall install openmediavault-iscsitarget 2>&1': Reading package lists...
      5. Building dependency tree...
      6. Reading state information...
      7. Some packages could not be installed. This may mean that you have
      8. requested an impossible situation or if you are using the unstable
      9. distribution that some required packages have not yet been created
      10. or been moved out of Incoming.
      11. The following information may help to resolve the situation:
      12. The following packages have unmet dependencies:
      13. openmediavault-iscsitarget : Depends: openmediavault (>= 3.0.60) but 3.0.58 is to be installed
      14. Depends: iscsitarget-dkms but it is not going to be installed
      15. Depends: linux-headers-amd64 but it is not going to be installed or
      16. linux-headers-armel but it is not installable or
      17. linux-headers-armhf but it is not installable or
      18. linux-headers-i386 but it is not installable or
      19. linux-headers-mips but it is not installable or
      20. linux-headers-mipsel but it is not installable or
      21. linux-headers-powerpc but it is not installable or
      22. linux-headers-ppc64el but it is not installable or
      23. linux-headers-s390 but it is not installable or
      24. linux-headers-s390x but it is not installable or
      25. linux-headers-sparc but it is not installable
      26. E: Unable to correct problems, you have held broken packages.
      27. <<< *************************************
      Display All
    • iscsi doesn't work with the latest backports kernel. You will have to disable the backports repo:

      Add OMV_APT_USE_KERNEL_BACKPORTS="NO" to /etc/default/openmediavault
      Then install the 3.16 kernel and headers. Reboot and remove the 4.x kernel.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      Then install the 3.16 kernel and headers. Reboot and remove the 4.x kernel.
      Hello!

      I had bought an Odroid XU4 to build an ISCSI NAS. That it does not work with the Kernel 4.X, ok. Now I've put Armbian with Kernel 3.10 and OMV 3.0.95 (Erasmus) into operation,

      Source Code

      1. root@odroidxu4:~# uname -r
      2. 3.10.106-odroidxu4



      unfortunately, the ISCSI Target PlugIn still can not be installed.

      Source Code

      1. root@odroidxu4:~# apt-get install openmediavault-iscsitarget
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Some packages could not be installed. This may mean that you have
      6. requested an impossible situation or if you are using the unstable
      7. distribution that some required packages have not yet been created
      8. or been moved out of Incoming.
      9. The following information may help to resolve the situation:
      10. The following packages have unmet dependencies:
      11. openmediavault-iscsitarget : Depends: linux-headers-amd64 but it is not installable or
      12. linux-headers-armel but it is not installable or
      13. linux-headers-armhf but it is not installable or
      14. linux-headers-i386 but it is not installable or
      15. linux-headers-mips but it is not installable or
      16. linux-headers-mipsel but it is not installable or
      17. linux-headers-powerpc but it is not installable or
      18. linux-headers-ppc64el but it is not installable or
      19. linux-headers-s390 but it is not installable or
      20. linux-headers-s390x but it is not installable or
      21. linux-headers-sparc but it is not installable
      22. E: Unable to correct problems, you have held broken packages.
      Display All

      For the system suitable Linux headers are on it.

      Source Code

      1. root@odroidxu4:~# dpkg -l | grep linux-headers
      2. ii linux-headers-odroidxu4 5.35 armhf Linux kernel headers for 3.10.106-odroidxu4 on armhf

      Is there a chance to integrate ISCSI-target for Odroid XU4?

      The post was edited 1 time, last by dhupfi ().

    • dhupfi wrote:

      I had bought an Odroid XU4 to build an ISCSI NAS
      Hopefully just for testing...

      dhupfi wrote:

      For the system suitable Linux headers are on it.

      dhupfi wrote:

      Is there a chance to integrate ISCSI-target for Odroid XU4?
      The name of the headers used by the xu4 is not in the dependency list. You will have to file a request on bugtracker to have them added. Just to warn you that there is not iscsi-target plugin in OMV 4.x since the iscsi-target package does not exist in Debian Stretch.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      The name of the headers used by the xu4 is not in the dependency list. You will have to file a request on bugtracker to have them added
      Maybe a better idea is to limit the openmediavault-iscsitarget plugin to x86/amd64 platform instead so users do not even try to use it on ARM?

      I don't believe anyone over at Armbian cares about networking config details with smelly legacy kernel (3.10) and current next kernel will soon be switched from 4.9 to 4.14 which might break such stuff that only exists on a single installation on this planet (if it works with 4.9)
    • tkaiser wrote:

      Maybe a better idea is to limit the openmediavault-iscsitarget plugin to x86/amd64 platform instead so users do not even try to use it on ARM?
      I have no problem with that and pretty much the reason I made the testing comment. But it isn't my decision since it is a core OMV plugin.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • dhupfi wrote:

      What concerns are there with the OdroidXU4?Hardware not stable?Operating system not reliable?ISCSI not performing?
      It uses usb storage. Most people who are using iSCSI are using it for important things. I would not use an arm board for important things. iSCSI on an XU4 is also a pain since it will not compile on the supported 4.9 kernel. The iscsi-target plugin won't be able available for OMV 4.x at all. The plugin needs to be replaced with a newer implementation of iSCSI.

      Why would you need iSCSI for backup?
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • tomspatz wrote:

      is that planned soon?
      That is a core OMV plugin and Volker mentioned re-writing it for OMV 5. So, I would say no.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Any good docker version alternative that can be used instead? What about something like this guy has done, is it sufficient?

      github.com/meghait/docker-iscsi

      EDIT: Actually, wouldn't this suffice in OMV 4.x until a plugin is ready?
      server-world.info/en/note?os=Debian_9&p=iscsi

      I'm happy to stay on Stoneburner as mentioned before, but now that my other OMVs are on 4.x and working well, I would consider upgrading if LIO would be as simple as shown in the last link above.

      The post was edited 2 times, last by 2devnull ().