iSCSI plugin installation problems

    • OMV 2.x

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

    • iSCSI plugin installation problems

      Hi there,

      i needed to install the iSCSI-Plugin, plugin installation is working but when I try to activate the plugin and save the configuration I get this error:

      Failed to execute command 'export LANG=C; invoke-rc.d 'iscsitarget' start 2>&1': Starting iSCSI enterprise target service:FATAL: Module iscsi_trgt not found. failed! invoke-rc.d: initscript iscsitarget, action "start" failed.

      I already checked if the module is loaded but it isnt. Also tried the way to reinstall iscsitarget-dkms with "apt-get --reinstall install iscsitarget-dkms" but here I get:

      Building module:
      cleaning build area....
      make KERNELRELEASE=3.2.0-4-amd64 -C /lib/modules/3.2.0-4-amd64/build M=/var/lib/dkms/iscsitarget/ exit status: 2)
      Error! Bad return status for module build on kernel: 3.2.0-4-amd64 (x86_64)
      Consult /var/lib/dkms/iscsitarget/ for more information.

      That is what's inside the make.log:

      ​root@debian02:~# cat /var/lib/dkms/iscsitarget/
      DKMS make.log for iscsitarget- for kernel 3.2.0-4-amd64 (x86_64)
      Do 4. Feb 00:55:25 CET 2016
      make: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
      LD /var/lib/dkms/iscsitarget/
      LD /var/lib/dkms/iscsitarget/
      CC [M] /var/lib/dkms/iscsitarget/
      CC [M] /var/lib/dkms/iscsitarget/
      CC [M] /var/lib/dkms/iscsitarget/
      CC [M] /var/lib/dkms/iscsitarget/
      CC [M] /var/lib/dkms/iscsitarget/
      CC [M] /var/lib/dkms/iscsitarget/
      CC [M] /var/lib/dkms/iscsitarget/
      /var/lib/dkms/iscsitarget/ In function ‘conn_info_show’:
      /var/lib/dkms/iscsitarget/ error: ‘struct sock’ has no member named ‘sk_v6_daddr’
      make[4]: *** [/var/lib/dkms/iscsitarget/] Fehler 1
      make[3]: *** [/var/lib/dkms/iscsitarget/] Fehler 2
      make[2]: *** [_module_/var/lib/dkms/iscsitarget/] Fehler 2
      make[1]: *** [sub-make] Fehler 2
      make: *** [all] Fehler 2
      make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'

      I found a lot of threads here in the forum, it may seems that the plugin installation often has some problems... how can I solve my installation problem?
    • This isn't a plugin problem. It is a pain in the ass sometimes even if you install just the iscsi package from command line. What is the output of: dpkg -l | grep linux
      omv 4.0.16 arrakis | 64 bit | 4.14 backports kernel | omvextrasorg 4.1.2 plugins source code and issue tracker -

      Please don't PM for support... Too many PMs!
    • I'll hijack this's my output:

      Source Code

      1. ​root@omv:/etc/apt# dpkg -l | grep linux
      2. ii console-setup-linux 1.88 all Linux specific part of console-setup
      3. ii firmware-linux 0.36+wheezy.1 all Binary firmware for various drivers in the Linux kernel (meta-package)
      4. ii firmware-linux-free 3.2 all Binary firmware for various drivers in the Linux kernel
      5. ii firmware-linux-nonfree 0.36+wheezy.1 all Binary firmware for various drivers in the Linux kernel
      6. ii libselinux1:i386 2.1.9-5 i386 SELinux runtime shared libraries
      7. ii linux-base 3.5 all Linux image base package
      8. ii linux-image-3.2.0-4-686-pae 3.2.73-2+deb7u3 i386 Linux 3.2 for modern PCs
      9. ii linux-image-686-pae 3.2+46 i386 Linux for modern PCs (meta-package)
      10. ii util-linux 2.20.1-5.3 i386 Miscellaneous system utilities
    • If it it was capable, I think 64 bit might be a bit faster with a lot of storage but not a big deal. I was just curious what kind of hardware someone would run iscsi on that was only 32 bit :)
      omv 4.0.16 arrakis | 64 bit | 4.14 backports kernel | omvextrasorg 4.1.2 plugins source code and issue tracker -

      Please don't PM for support... Too many PMs!
    • It used to run Lefthand SANiQ, but since upgrading the 250GB disks to 2TB drives, it couldn't handle it, so I decided to go with OMV for the OS to make use of this otherwise great piece of hardware (that's EOL)

      Along these lines (perhaps deserves a separate thread?), my only concern is not seeing the condition of the RAID and physical disks. These are MegaRAID controllers. Is there a way to know the status of the disks and the HW RAID? The S.M.A.R.T. interface is just showing the logical volumes provided by the MegaRAID:

      I figure it's best to have the HW RAID, and use OMV LVM to combine all the logical disks into one large datastore. Yes?
    • Check this thread out about megacli to get more info about the drives.

      To combine them, I wouldn't use LVM. If a drive fails, you could lose everything in that volume group. Depending on the performance you are looking for, I would either use software raid (mdadm) or pool the drives with a unionfilesystem (mergerfs is good).
      omv 4.0.16 arrakis | 64 bit | 4.14 backports kernel | omvextrasorg 4.1.2 plugins source code and issue tracker -

      Please don't PM for support... Too many PMs!
    • Thanks for the link. I'll check it out.

      Hmm...each of the logical drives you see in the print screen are RAID5 HW RAID with a hot spare. So "losing a drive" shouldn't effect wouldn't even know about it. I'm not familiar with unionfilesystem...that's basically what I'm wanting to accomplish with LVM is to be able to pool all those "logical drives".
    • To my pleasant surprise, especially since I don't really know what I'm doing, I was successful in installing megaraid-status from the debian sources refrenced above, and actually got identifiable output!:

      Source Code

      1. root@omv:/etc# megaraid-status
      2. -- Arrays informations --
      3. -- ID | Type | Size | Status
      4. a0d0 | RAID 5 | 4092MiB | optimal
      5. a0d1 | RAID 5 | 2047GiB | optimal
      6. a0d2 | RAID 5 | 2047GiB | optimal
      7. a0d3 | RAID 5 | 2047GiB | optimal
      8. a0d4 | RAID 5 | 2047GiB | optimal
      9. a0d5 | RAID 5 | 2047GiB | optimal
      10. a0d6 | RAID 5 | 931GiB | optimal
      11. a1d0 | RAID 5 | 2047GiB | optimal
      12. a1d1 | RAID 5 | 2047GiB | optimal
      13. a1d2 | RAID 5 | 2047GiB | optimal
      14. a1d3 | RAID 5 | 2047GiB | optimal
      15. a1d4 | RAID 5 | 2047GiB | optimal
      16. a1d5 | RAID 5 | 935GiB | optimal
      17. -- Disks informations
      18. -- ID | Model | Status | Warnings
      19. a0c0t0 | ST2000DX001-1NS1 1862GiB | online
      20. a0c0t1 | ST2000DX001-1NS1 1862GiB | online
      21. a0c0t2 | ST2000DX001-1NS1 1862GiB | online
      22. a0c0t3 | ST2000DX001-1NS1 1862GiB | online
      23. a0c0t4 | ST2000DX001-1NS1 1862GiB | online
      24. a0c0t5 | ST2000DX001-1NS1 1862GiB | online
      25. a0c0t6 | ST2000DX001-1NS1 1862GiB | online
      26. a0c0t7 | ST2000DX001-1CM1 | ready
      27. a1c0t0 | ST2000DX001-1NS1 1862GiB | online
      28. a1c0t1 | ST2000DX001-1NS1 1862GiB | online
      29. a1c0t2 | ST2000DX001-1NS1 | hotspare
      30. a1c0t3 | ST2000DX001-1NS1 1862GiB | online
      31. a1c0t4 | ST2000DX001-1NS1 1862GiB | online
      32. a1c0t5 | ST2000DX001-1NS1 1862GiB | online
      33. a1c0t6 | ST2000DX001-1NS1 1862GiB | online
      34. a1c0t7 | ST2000DX001-1NS1 1862GiB | online
      Display All

      oooo...and megactl:

      Source Code

      1. ​root@omv:/etc# megactl
      2. a0 LSI MegaRAID SATA300-8X PCI-X chan:1 ldrv:7 batt:FAULT, charging
      3. a0d0 4092MiB RAID 5 1x7 optimal
      4. a0d1 2047GiB RAID 5 1x7 optimal
      5. a0d2 2047GiB RAID 5 1x7 optimal
      6. a0d3 2047GiB RAID 5 1x7 optimal
      7. a0d4 2047GiB RAID 5 1x7 optimal
      8. a0d5 2047GiB RAID 5 1x7 optimal
      9. a0d6 931GiB RAID 5 1x7 optimal
      10. unconfigured: a0c0t7
      11. a0c0t0 1862GiB a0d6 online
      12. a0c0t1 1862GiB a0d6 online
      13. a0c0t2 1862GiB a0d6 online
      14. a0c0t3 1862GiB a0d6 online
      15. a0c0t4 1862GiB a0d6 online
      16. a0c0t5 1862GiB a0d6 online
      17. a0c0t6 1862GiB a0d6 online
      18. a0c0t7 1862GiB ready
      19. a1 Intel(R) RAID Controller SRCS28X chan:1 ldrv:6 batt:FAULT, charging
      20. a1d0 2047GiB RAID 5 1x7 optimal
      21. a1d1 2047GiB RAID 5 1x7 optimal
      22. a1d2 2047GiB RAID 5 1x7 optimal
      23. a1d3 2047GiB RAID 5 1x7 optimal
      24. a1d4 2047GiB RAID 5 1x7 optimal
      25. a1d5 935GiB RAID 5 1x7 optimal
      26. hot spares : a1c0t2
      27. a1c0t0 1862GiB a1d5 online
      28. a1c0t1 1862GiB a1d5 online
      29. a1c0t2 1862GiB hotspare
      30. a1c0t3 1862GiB a1d5 online
      31. a1c0t4 1862GiB a1d5 online
      32. a1c0t5 1862GiB a1d5 online
      33. a1c0t6 1862GiB a1d5 online
      34. a1c0t7 1862GiB a1d5 online
      Display All

      Goodie! That's the sort of disk information I'm looking for. But now, what to do with it? Is there any sort of OMV plugin that will show this status or provide any sort of alerting?

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