Jump to content

[Plugin] iSCSI Initiator


ich777

Recommended Posts

1 minute ago, emrepolat7 said:

Yes it works now. Thank you very much.

I would recommend that you fully uninstall the plugin once, reboot your server and after that install the plugin again from the CA App, I have maybe found another bug which should be fixed with that.

Link to comment
  • 3 months later...

Plugin works great - but after a kernel panic and forced reboot I am getting a log full of the following every 5 seconds:

 

Aug 15 14:53:21 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:26 Trinity kernel: Unable to locate Target IQN: iqn.2003-01.org.linux-iscsi.tower.x8664:sn.74c2161ab370 in Storage Node
Aug 15 14:53:26 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:31 Trinity kernel: Unable to locate Target IQN: iqn.2003-01.org.linux-iscsi.tower.x8664:sn.74c2161ab370 in Storage Node
Aug 15 14:53:31 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:36 Trinity kernel: Unable to locate Target IQN: iqn.2003-01.org.linux-iscsi.tower.x8664:sn.74c2161ab370 in Storage Node
Aug 15 14:53:36 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:41 Trinity kernel: Unable to locate Target IQN: iqn.2003-01.org.linux-iscsi.tower.x8664:sn.74c2161ab370 in Storage Node
Aug 15 14:53:41 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:46 Trinity kernel: Unable to locate Target IQN: iqn.2003

 

I have one connection up and running with no issues as follows:

 

o- / ......................................................................................................................... [...]

o- backstores .............................................................................................................. [...]

| o- block .................................................................................................. [Storage Objects: 0]

| o- fileio ................................................................................................. [Storage Objects: 1]

| | o- fileIO ...................................................... [/mnt/user/BlueIris/fileIO.img (7.8TiB) write-back activated]

| | o- alua ................................................................................................... [ALUA Groups: 1]

| | o- default_tg_pt_gp ....................................................................... [ALUA state: Active/optimized]

| o- pscsi .................................................................................................. [Storage Objects: 0]

| o- ramdisk ................................................................................................ [Storage Objects: 0]

o- iscsi ............................................................................................................ [Targets: 1]

| o- iqn.2003-01.org.linux-iscsi.trinity.x8664:sn.ee7b28ed45fa ......................................................... [TPGs: 1]

| o- tpg1 ............................................................................................... [no-gen-acls, no-auth]

| o- acls .......................................................................................................... [ACLs: 1]

| | o- iqn.1991-05.com.microsoft:aeonflux ................................................................... [Mapped LUNs: 1]

| | o- mapped_lun0 ............................................................................... [lun0 fileio/fileIO (rw)]

| o- luns .......................................................................................................... [LUNs: 1]

| | o- lun0 ............................................... [fileio/fileIO (/mnt/user/BlueIris/fileIO.img) (default_tg_pt_gp)]

| o- portals .................................................................................................... [Portals: 1]

| o- 0.0.0.0:3260 ..................................................................................................... [OK]

o- loopback ......................................................................................................... [Targets: 0]

o- vhost ............................................................................................................ [Targets: 0]

o- xen-pvscsi ....................................................................................................... [Targets: 0]

 

There is no mention of IQN (ending in ab370) in the plugin interface. Is there a file/place that could have a dangling IQN that needs to be removed that is causing the errors? Uninstalling/reinstalling would work but am hoping for a simpler fix.

 

Thanks!

 

Link to comment
2 hours ago, pvonnur said:

Plugin works great - but after a kernel panic and forced reboot I am getting a log full of the following every 5 seconds:

 

Aug 15 14:53:21 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:26 Trinity kernel: Unable to locate Target IQN: iqn.2003-01.org.linux-iscsi.tower.x8664:sn.74c2161ab370 in Storage Node
Aug 15 14:53:26 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:31 Trinity kernel: Unable to locate Target IQN: iqn.2003-01.org.linux-iscsi.tower.x8664:sn.74c2161ab370 in Storage Node
Aug 15 14:53:31 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:36 Trinity kernel: Unable to locate Target IQN: iqn.2003-01.org.linux-iscsi.tower.x8664:sn.74c2161ab370 in Storage Node
Aug 15 14:53:36 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:41 Trinity kernel: Unable to locate Target IQN: iqn.2003-01.org.linux-iscsi.tower.x8664:sn.74c2161ab370 in Storage Node
Aug 15 14:53:41 Trinity kernel: iSCSI Login negotiation failed.
Aug 15 14:53:46 Trinity kernel: Unable to locate Target IQN: iqn.2003

 

I have one connection up and running with no issues as follows:

 

o- / ......................................................................................................................... [...]

o- backstores .............................................................................................................. [...]

| o- block .................................................................................................. [Storage Objects: 0]

| o- fileio ................................................................................................. [Storage Objects: 1]

| | o- fileIO ...................................................... [/mnt/user/BlueIris/fileIO.img (7.8TiB) write-back activated]

| | o- alua ................................................................................................... [ALUA Groups: 1]

| | o- default_tg_pt_gp ....................................................................... [ALUA state: Active/optimized]

| o- pscsi .................................................................................................. [Storage Objects: 0]

| o- ramdisk ................................................................................................ [Storage Objects: 0]

o- iscsi ............................................................................................................ [Targets: 1]

| o- iqn.2003-01.org.linux-iscsi.trinity.x8664:sn.ee7b28ed45fa ......................................................... [TPGs: 1]

| o- tpg1 ............................................................................................... [no-gen-acls, no-auth]

| o- acls .......................................................................................................... [ACLs: 1]

| | o- iqn.1991-05.com.microsoft:aeonflux ................................................................... [Mapped LUNs: 1]

| | o- mapped_lun0 ............................................................................... [lun0 fileio/fileIO (rw)]

| o- luns .......................................................................................................... [LUNs: 1]

| | o- lun0 ............................................... [fileio/fileIO (/mnt/user/BlueIris/fileIO.img) (default_tg_pt_gp)]

| o- portals .................................................................................................... [Portals: 1]

| o- 0.0.0.0:3260 ..................................................................................................... [OK]

o- loopback ......................................................................................................... [Targets: 0]

o- vhost ............................................................................................................ [Targets: 0]

o- xen-pvscsi ....................................................................................................... [Targets: 0]

 

There is no mention of IQN (ending in ab370) in the plugin interface. Is there a file/place that could have a dangling IQN that needs to be removed that is causing the errors? Uninstalling/reinstalling would work but am hoping for a simpler fix.

 

Thanks!

 

Looks like a remote host is trying to connect with the unraid ip but has the wrong target name.

Link to comment
  • 1 month later...
8 hours ago, bar1 said:

Is it possible to do "zfs over ISCSI with proxmox , with this plugin?

been struggling with it now for most of the day...lol

I have to research what this is. I assume this is a Proxmox exclusive feature...? I'm sure they'll have some documentation around that.

Sorry but I don't use Proxmox but I will look into that. :)

 

EDIT: Can you maybe link to some documentation or explain what you plan to do with that exactly?

Link to comment

Thanks for the reply, unfortunately this is not very well documented.

This is the best guide I found but needs translation :

https://deepdoc-at.translate.goog/dokuwiki/doku.php?id=virtualisierung:proxmox_kvm_und_lxc:proxmox_debian_als_zfs-over-iscsi_server_verwenden&_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-GB

official document :

https://pve.proxmox.com/wiki/Storage:_ZFS_over_ISCSI

 

I am using unriad as a vm and would like to use the storage in proxmox. maybe the first question should be which which g iSCSI target implementations is being used?

LIO (Linux)

IET (Linux)

ISTGT (FreeBSD)

Comstar (Solaris)

 

I assume LIO.

Link to comment
31 minutes ago, bar1 said:

This is the best guide I found but needs translation

Not for me… :)

 

31 minutes ago, bar1 said:

I assume LIO.

Yes I use the default LIO implementation.

 

From what I understand you can basically follow the tutorial and set up Unraid as it is a node, all commands should be accesible from the command line on Unraid as usual.

Link to comment
1 hour ago, bar1 said:

Is targetclid.service enabled ?

1 hour ago, bar1 said:

and the target group is tpg1?

Wait, you are in the Initiator support thread...

targetcli is part from iSCSI Target not Initiator.

 

I thought you run the Target on Proxmox and use the Initiator from your Unraid VM to access the Target on Proxmox to utilize the storage from Proxmox on Unraid.

 

In the tutorial that you've linked targetcli-fb and the service is installed/enabled on Proxmox and not the other way around.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...