Forum
Welcome, Guest
Username: Password: Remember me
This is the optional category header for the Suggestion Box.
  • Page:
  • 1

TOPIC:

iSCSI Target LUN discover error 10 years 6 months ago #101

When trying to attach ISCSI SR from XEN Pool i get an error when pressing "DISCOVER LUNs" showing that not LUN is found.

Te status is:
*************************************************************************
iSCSI-HA Status: Version: IHA_1.2.16 S99iscsi-ha (pid 7491 7475) is running...
HOST ROLE:MASTER
DRBD ROLE:iscsi1=Primary
DRBD CONNECTION: iscsi1 in Connected state
ISCSI TARGET:tgtd (pid 8106 8104) is running...
VIRTUAL IP:10.10.10.3 is local
*************************************************************************
*************************************************************************
iSCSI-HA Status: Version: IHA_1.2.16 S99iscsi-ha (pid 7403 7396) is running...
HOST ROLE: SLAVE
VIRTUAL IP:10.10.10.3 is not local
ISCSI TARGET:tgtd is stopped
DRBD ROLE:iscsi1=Secondary
DRBD CONNECTION: iscsi1 in Connected state
*************************************************************************

In slave the TGT is stopped (i don´t know why)

Any help?

Please Log in or Create an account to join the conversation.

Last edit: by soylor.

iSCSI Target LUN discover error 10 years 6 months ago #103

The iscsi target (TGT) should be stopped on the slave host, so, the status of both of your hosts is perfectly fine and normal.

Are you successfully completing "Discover IQNs" before trying to discover LUNS?

ALso, have your LVM filters been set per howto and caches cleared:
rm –f /etc/lvm/cache/.cache && vgscan

Lastly - can you post the backing device configuration you have in tgtd.conf?

Please Log in or Create an account to join the conversation.

iSCSI Target LUN discover error 10 years 6 months ago #104

It was a minus character (-) error because copy-paste.

Now everything works fine.

Thanks.

Please Log in or Create an account to join the conversation.

Last edit: by Salvatore Costantino.

iSCSI Target LUN discover error 5 years 10 months ago #1623

I have a similar problem.
I can discover iqn, but show message that No Lun was found.

Any Help?

Please Log in or Create an account to join the conversation.

iSCSI Target LUN discover error 5 years 10 months ago #1624

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
This could happen if during the installation of xenserver you choose more than 1 storage device for local SR and then when installing halizard choose to have the local SR converted to halizard storage. Do you recall whether this was the case?

Please Log in or Create an account to join the conversation.

iSCSI Target LUN discover error 5 years 10 months ago #1625

I was using the How-to and following the steps. There was no option to convert local SR.
Then I used the full installation package and it worked.
Thank you for your help.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1