1 Reply Latest reply: Apr 12, 2013 3:43 PM by alvaromiranda RSS

    /dev/iscsi/ does not exists

    user11982706
      Linux Version : Oracle Enterprise Linux5
      [root@NODE1 by-path]# uname -a
      Linux NODE1 2.6.39-100.7.1.el5uek #1 SMP Wed May 16 03:55:56 EDT 2012 i686 i686 i386 GNU/Linux
      I am follwoing the below link to build a RAC database for learning purpose. On first page of this link where we configured iscsi targets, i am getting /dev/iscsi does not exists.

      http://www.oracle.com/technetwork/articles/hunter-rac11gr2-iscsi-088677.html#12


      problem, i think is as below, i am getting multiple links
      [root@NODE1 dev]# cd /dev/disk/by-path
      [root@NODE1 by-path]# ls -l *openfiler* | awk '{FS=" "; print $9 " " $10 " " $11}'
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.asm1-lun-0 -> ../../sdf
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.asm1-lun-0-part1 -> ../../sdf1
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.asm2-lun-0 -> ../../sdc
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.asm2-lun-0-part1 -> ../../sdc1
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.asm3-lun-0 -> ../../sdg
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.asm3-lun-0-part1 -> ../../sdg1
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.asm4-lun-0 -> ../../sdd
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.asm4-lun-0-part1 -> ../../sdd1
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.crs-lun-0 -> ../../sde
      ip-192.168.1.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.crs-lun-0-part1 -> ../../sde1
      in actual post, output is as below
      ip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.crs1-lun-0 -> ../../sdb
      ip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.data1-lun-0 -> ../../sdd
      ip-192.168.2.195:3260-iscsi-iqn.2006-01.com.openfiler:racdb.fra1-lun-0 -> ../../sdc
      Please suggest, what i am doing wrong....
        • 1. Re: /dev/iscsi/ does not exists
          alvaromiranda
          I think you haven't finished all the commands in the blog.

          You got the sdb sdc sdd devices which is good.

          the next step is follow with the udev part of the blog, that udev will create custom rules that will put the specific devices on /dev/iscsi/..

          if you are familiar with oracleasm, you can just use oracleasm createdisk on top of /dev/sdb and create oracleasm devices

          or, complete the blog post and use udev devices.

          but you are half way.

          Alvaro.