# Mount iSCSI drives on SuSE

**URL:** <https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076>\
**Category:** SLES Configure-Administer\
**Created:** [May 27, 2015, 9:32am UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076 "2015-05-27T09:32:19Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddgaikwad](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@ddgaikwad](https://forums.suse.com/u/ddgaikwad)\
**Post date:** [May 27, 2015, 9:32am UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/1 "2015-05-27T09:32:19Z")

</div>

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…?

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [May 27, 2015, 10:18am UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/2 "2015-05-27T10:18:11Z")

</div>

[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

---

<div class="post-metadata">

**Author:** ![ddgaikwad](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@ddgaikwad](https://forums.suse.com/u/ddgaikwad)\
**Post date:** [May 27, 2015, 10:54am UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/3 "2015-05-27T10:54:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [May 27, 2015, 11:12am UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/4 "2015-05-27T11:12:14Z")

</div>

> [@ddgaikwad;28051](#):
>
> 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](https://www.suse.com/documentation/sles11/stor_admin/data/sec_inst_system_iscsi_initiator.html)

Thomas

---

<div class="post-metadata">

**Author:** ![ddgaikwad](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@ddgaikwad](https://forums.suse.com/u/ddgaikwad)\
**Post date:** [May 27, 2015, 1:36pm UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/5 "2015-05-27T13:36:38Z")

</div>

[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](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]

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [May 27, 2015, 5:30pm UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/6 "2015-05-27T17:30:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ddgaikwad](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@ddgaikwad](https://forums.suse.com/u/ddgaikwad)\
**Post date:** [May 29, 2015, 11:15am UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/7 "2015-05-29T11:15:51Z")

</div>

[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,

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [May 29, 2015, 5:43pm UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/8 "2015-05-29T17:43:29Z")

</div>

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.)

```auto
# echo "- - -" > /sys/class/scsi_host/host4/scan
```

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

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![ddgaikwad](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@ddgaikwad](https://forums.suse.com/u/ddgaikwad)\
**Post date:** [June 2, 2015, 3:40pm UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/9 "2015-06-02T15:40:10Z")

</div>

[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.)

```auto
# echo "- - -" > /sys/class/scsi_host/host4/scan
```

```auto
# 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…

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [June 2, 2015, 4:26pm UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/10 "2015-06-02T16:26:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ddgaikwad](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@ddgaikwad](https://forums.suse.com/u/ddgaikwad)\
**Post date:** [June 15, 2015, 1:36pm UTC](https://forums.suse.com/t/mount-iscsi-drives-on-suse/27076/11 "2015-06-15T13:36:53Z")

</div>

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?
