PDA

View Full Version : SLES 12 ESX Host doesn't see SUSE shared storage



cam3ron
06-Oct-2015, 18:44
Hi first let me start by saying that i'm brand new to SUSE. I have a little Linux experience, but not much.

I have a Dell machine with 1(250gb for O/S) and 3(2TB for RAID5) configured. I setup the 3 x 2tb in a RAID 5 array and formatted it with XFS. I then setup a volume group for the RAID5, then setup a volume. I have enabled the SUSE server as an ISCSI Target and tried to advertise (the array) /dev/md0 out as a LUN.

My ESX server is the ISCSI initiator, and its able to find the SUSE iscsi target, but for some reason the ESX Host simply cannot detect the soft RAID array. I've made sure the firewall is off and that the two devices can ping each other. In OpenFiler there was an option for ISCSI when I created the soft RAID, but I don't see that as an option in SUSE. I've tried multiple times with EXT3, XFS and unformulated, but the ESX Host 5.5 cannot see the Array. Am I missing something?

Thanks,

cam3ron

jmozdzen
09-Oct-2015, 16:49
Hi cam3ron,

Hi first let me start by saying that i'm brand new to SUSE. I have a little Linux experience, but not much.

I have a Dell machine with 1(250gb for O/S) and 3(2TB for RAID5) configured. I setup the 3 x 2tb in a RAID 5 array and formatted it with XFS. I then setup a volume group for the RAID5, then setup a volume. I have enabled the SUSE server as an ISCSI Target and tried to advertise (the array) /dev/md0 out as a LUN.

My ESX server is the ISCSI initiator, and its able to find the SUSE iscsi target, but for some reason the ESX Host simply cannot detect the soft RAID array. I've made sure the firewall is off and that the two devices can ping each other. In OpenFiler there was an option for ISCSI when I created the soft RAID, but I don't see that as an option in SUSE. I've tried multiple times with EXT3, XFS and unformulated, but the ESX Host 5.5 cannot see the Array. Am I missing something?

first thing to check: what's in the logs, especially on the target side? Does the target see incoming connection (I guess so, since ESX sees the target) and what does the target respond? Anything during target init concerning the LUNs you're trying to offer?

Regards,
Jens

cam3ron
09-Oct-2015, 18:26
Hey Jens,

thanks for responding. can you elaborate on the logs i should be looking at and possibly what commands you would run?

jmozdzen
12-Oct-2015, 12:22
Hi cam3ron,


Hey Jens,

thanks for responding. can you elaborate on the logs i should be looking at and possibly what commands you would run?

a good starting point on the target side might be "tgtadm --lld iscsi --mode target --op show" to see what targets are actually provided.

I'd expect the iscsid messages to go to syslog, i.e. /var/log/messages.

Regards,
Jens