Mount iSCSI drives on SuSE

Hi There,

I was able to setup iSCSI initiator and connect to Delll Storage.
Now when I run lsscsi, those other 2 drives are listed, but how do I use them with SuSE here?
Here is the output:
[FONT=Lucida Console]SenHA01:~ # lsscsi
[0:0:0:0] disk VMware Virtual disk 1.0 /dev/sda
[2:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0
[3:0:0:0] disk DELL MD32xxi 0784 -
[3:0:0:31] disk DELL Universal Xport 0784 -[/FONT]

Any help…?

[QUOTE=ddgaikwad;28049]Hi There,

I was able to setup iSCSI initiator and connect to Delll Storage.
Now when I run lsscsi, those other 2 drives are listed, but how do I use them with SuSE here?
Here is the output:
[FONT=Lucida Console]SenHA01:~ # lsscsi
[0:0:0:0] disk VMware Virtual disk 1.0 /dev/sda
[2:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0
[3:0:0:0] disk DELL MD32xxi 0784 -
[3:0:0:31] disk DELL Universal Xport 0784 -[/FONT]

Any help…?[/QUOTE]

Through YaST->Partitioner?

Thomas

I checked there, and I do not see these new iSCSI disk listed in Expert partitiioner…

Did you follow the docs on how to setup iscsi? https://www.suse.com/documentation/sles11/stor_admin/data/sec_inst_system_iscsi_initiator.html

Thomas

[QUOTE=thsundel;28052]Did you follow the docs on how to setup iscsi? https://www.suse.com/documentation/sles11/stor_admin/data/sec_inst_system_iscsi_initiator.html

Thomas[/QUOTE]

Yes followed the steps given in teh document and still I do not see the drives listed in partitioner…
Not sure how to mount them right?

[FONT=Courier New]SenHA01:~ # lsscsi
[0:0:0:0] disk VMware Virtual disk 1.0 /dev/sda
[2:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0
[3:0:0:0] disk DELL MD32xxi 0784 -
[3:0:0:31] disk DELL Universal Xport 0784 -
[/FONT]

Hi ddgaikwad,

[QUOTE=ddgaikwad;28055]Yes followed the steps given in teh document and still I do not see the drives listed in partitioner…
Not sure how to mount them right?

[FONT=Courier New]SenHA01:~ # lsscsi
[0:0:0:0] disk VMware Virtual disk 1.0 /dev/sda
[2:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0
[3:0:0:0] disk DELL MD32xxi 0784 -
[3:0:0:31] disk DELL Universal Xport 0784 -
[/FONT][/QUOTE]

it’s catching the eye that no drive letter was assigned to those disk drives, hence the OS has no way to access these two disks.

Could you please share what’s reported in syslog (/var/log/messages) when the iSCSI devices are connected?

And while we’re at it, which SLES is this?

Regards,
Jens

[QUOTE=jmozdzen;28059]Hi ddgaikwad,

it’s catching the eye that no drive letter was assigned to those disk drives, hence the OS has no way to access these two disks.

Could you please share what’s reported in syslog (/var/log/messages) when the iSCSI devices are connected?

And while we’re at it, which SLES is this?

Regards,
Jens[/QUOTE]

Here is the output when we are connecting these SCSI drives:
[FONT=Courier New]May 29 08:04:29 SenHA01 kernel: SUSE Linux Enterprise Server 11 (x86_64)
May 29 08:06:59 SenHA01 kernel: SUSE Linux Enterprise Server 11 (x86_64)
May 29 08:08:20 SenHA01 sshd[6764]: Accepted keyboard-interactive/pam for root from 10.20.151.62 port 56072 ssh2
May 29 08:08:29 SenHA01 wtmp: root pts/0 10.20.151.62 Fri May 29 08:08:20 2015 still logged in
May 29 08:08:59 SenHA01 kernel: SUSE Linux Enterprise Server 11 (x86_64)
May 29 08:09:27 SenHA01 sshd[6898]: Accepted keyboard-interactive/pam for root from 10.20.151.62 port 56073 ssh2
May 29 08:09:29 SenHA01 wtmp: root pts/1 10.20.151.62 Fri May 29 08:09:28 2015 still logged in
May 29 08:09:52 SenHA01 kernel: [244618.655998] scsi 3:0:0:0: rdac: Detached
May 29 08:09:52 SenHA01 kernel: [244619.070005] connection1:0: detected conn error (1020)
May 29 08:09:53 SenHA01 iscsid: Connection1:0 to [target: iqn.1984-05.com.dell:powervault.md3200i.6782bcb00024c1c0000000004daf8dde, portal: 192.168.133.101,3260] through [iface: default] is shutdown.
May 29 08:10:29 SenHA01 kernel: [244655.451731] scsi4 : iSCSI Initiator over TCP/IP
May 29 08:10:29 SenHA01 kernel: [244655.713498] scsi 4:0:0:0: Direct-Access DELL MD32xxi 0784 PQ: 1 ANSI: 5
May 29 08:10:29 SenHA01 kernel: [244655.715069] scsi 4:0:0:0: rdac: LUN 0 (IOSHIP) (unowned)
May 29 08:10:29 SenHA01 kernel: [244655.715216] scsi 4:0:0:0: Attached scsi generic sg2 type 0
May 29 08:10:29 SenHA01 kernel: [244655.719075] scsi 4:0:0:31: Direct-Access DELL Universal Xport 0784 PQ: 0 ANSI: 5
May 29 08:10:29 SenHA01 kernel: [244655.719244] scsi 4:0:0:31: Attached scsi generic sg3 type 0
May 29 08:10:29 SenHA01 iscsid: Connection2:0 to [target: iqn.1984-05.com.dell:powervault.md3200i.6782bcb00024c1c0000000004daf8dde, portal: 192.168.133.101,3260] through [iface: default] is operational now
May 29 08:10:59 SenHA01 kernel: SUSE Linux Enterprise Server 11 (x86_64)
[/FONT]

We are using:
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3

Thanks,

Hi ddgaikwad,

does one the following commands help to resolve the issue? (Please make sure to replace “host4” by the actual controller created for the iSCSI connection.)

# echo "- - -" > /sys/class/scsi_host/host4/scan
# echo "- - 0" > /sys/class/scsi_host/host4/scan

Regards,
Jens

[QUOTE=jmozdzen;28094]Hi ddgaikwad,

does one the following commands help to resolve the issue? (Please make sure to replace “host4” by the actual controller created for the iSCSI connection.)

# echo "- - -" > /sys/class/scsi_host/host4/scan
# echo "- - 0" > /sys/class/scsi_host/host4/scan

Regards,
Jens[/QUOTE]

Tried the same, but I do not see any scsi devices there, I have the following output:

[FONT=Courier New][SIZE=2]Sen-SAN-Test:/sys/class/scsi_host/host2 # ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Jun 2 15:43 scsi-36000c290a37250c0e9b24fa0f32b277c → …/…/sda
lrwxrwxrwx 1 root root 10 Jun 2 15:43 scsi-36000c290a37250c0e9b24fa0f32b277c-part1 → …/…/sda1
lrwxrwxrwx 1 root root 10 Jun 2 15:43 scsi-36000c290a37250c0e9b24fa0f32b277c-part2 → …/…/sda2
lrwxrwxrwx 1 root root 9 Jun 2 15:43 wwn-0x6000c290a37250c0e9b24fa0f32b277c → …/…/sda
lrwxrwxrwx 1 root root 10 Jun 2 15:43 wwn-0x6000c290a37250c0e9b24fa0f32b277c-part1 → …/…/sda1
lrwxrwxrwx 1 root root 10 Jun 2 15:43 wwn-0x6000c290a37250c0e9b24fa0f32b277c-part2 → …/…/sda2[/SIZE][/FONT]

Seems that those 2 disk are not at all displayed here…

Hi ddgaikwad,

Seems that those 2 disk are not at all displayed here…

yes, this will only happen once the kernel / driver identified the SCSI device as a disk and assigned a new device name… udev then (and only then) will create symlinks like the ones you quotes.

Unfortunately I have no idea why your iSCSI devices aren’t handled as disks, you may have to open a service request to get this issue resolved. Unless someone else here comes up with a helpful idea.

Regards,
Jens

Hi jmozdzen,

I was going through the set for SAN and found that, the iSCSI drives that I am trying to mount are actually shared between two ESX servers.
The format for these drives is, VMFS5, so is it due to this they are not being shown in SuSE servers?

The funny part is that they are accessible from both those two ESX servers!
We are able also able to read and write to them via the ESX servers.

So the other question is that, is there something that SuSE server do not support VMFS file system?

Any thoughts over this?