- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: No SCSI block device created by iscsiadm
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 02:26 AM
тАО05-15-2010 02:26 AM
No SCSI block device created by iscsiadm
I am using the "HP StorageWorks D2D Backup System
Linux Configuration Guide" to connect our server running Centos on the RH EL5 kernel (2.6.18-128.1.16.el5.centos.plus).
The following has been done:
###############################################
1) yum install iscsi-initiator-utils
2) /etc/rc.d/init.d/iscsi start
3) iscsiadm --mode discovery --type sendtargets --portal 192.168.1.71
o 192.168.1.71:3260,1 iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive
o 192.168.1.71:3260,1 iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics
4) iscsiadm --mode node --targetname iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics --portal 192.168.1.71:3260 тАУlogin
o Logging in to [iface: default, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics, portal: 192.168.1.71,3260]
o Login to [iface: default, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics, portal: 192.168.1.71,3260]: successful
5) iscsiadm --mode node --targetname iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive --portal 192.168.1.71:3260 тАУlogin
o Logging in to [iface: default, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive, portal: 192.168.1.71,3260]
o Login to [iface: default, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive, portal: 192.168.1.71,3260]: successful
6)cat /proc/scsi/scsi
o Attached devices:
o Host: scsi0 Channel: 00 Id: 00 Lun: 00
o Vendor: HP Model: 1x8 G2 AUTOLDR Rev: kn7B
o Type: Medium Changer ANSI SCSI revision: 03
o Host: scsi1 Channel: 00 Id: 00 Lun: 00
o Vendor: HP Model: Ultrium 3-SCSI Rev: kn7B
o Type: Sequential-Access ANSI SCSI revision: 03
7)chkconfig iscsi on
8)chkconfig тАУ-list iscsi
o iscsi 0:off 1:off 2:on 3:on 4:on 5:on 6:off
9) iscsiadm --mode node --targetname iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics --portal 192.168.1.71:3260 --op update --name node.conn[0].startup --value automatic
10) iscsiadm --mode node --targetname iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive --portal 192.168.1.71:3260 --op update --name node.conn[0].startup --value automatic
11) yum install mtx
12) dmesg | grep -A 2 "1x8 G2 AUTOLDR"
o Vendor: HP Model: 1x8 G2 AUTOLDR Rev: kn7B
o Type: Medium Changer ANSI SCSI revision: 03
o scsi1 : iSCSI Initiator over TCP/IP
###############################################
There doesn't appear to be any block device created. I've double checked in /dev/ but cannot find the device. Please advise as to what I can do to progress.
Thanks for your time,
Regards
Anthony Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 03:18 AM
тАО05-15-2010 03:18 AM
Re: No SCSI block device created by iscsiadm
The following link talks about configuring iSCSI and discovering targets.
http://www.cyberciti.biz/tips/rhel-centos-fedora-linux-iscsi-howto.html
Check if this gives any clues to the problem you are facing.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 04:31 AM
тАО05-15-2010 04:31 AM
Re: No SCSI block device created by iscsiadm
I've reviewed the document and done the following. The device cannot be found, any other ideas?:
[root@dev002 iscsi]# /etc/init.d/iscsi restart
Logging out of session [sid: 1, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive, portal: 192.168.1.71,3260]
Logging out of session [sid: 2, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics, portal: 192.168.1.71,3260]
Logout of [sid: 1, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive, portal: 192.168.1.71,3260]: successful
Logout of [sid: 2, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics, portal: 192.168.1.71,3260]: successful
Stopping iSCSI daemon:
iscsid dead but pid file exists [ OK ]
Turning off network shutdown. Starting iSCSI daemon: [ OK ]
[ OK ]
Setting up iSCSI targets: Logging in to [iface: default, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive, portal: 192.168.1.71,3260]
Logging in to [iface: default, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics, portal: 192.168.1.71,3260]
Login to [iface: default, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive, portal: 192.168.1.71,3260]: successful
Login to [iface: default, target: iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics, portal: 192.168.1.71,3260]: successful
[ OK ]
tail -f /var/log/messages:
May 15 21:52:28 dev002 kernel: Loading iSCSI transport class v2.0-724.
May 15 21:52:28 dev002 kernel: iscsi: registered transport (tcp)
May 15 21:52:28 dev002 kernel: iscsi: registered transport (iser)
May 15 21:52:28 dev002 iscsid: iSCSI logger with pid=16276 started!
May 15 21:52:29 dev002 kernel: scsi12 : iSCSI Initiator over TCP/IP
May 15 21:52:29 dev002 kernel: scsi13 : iSCSI Initiator over TCP/IP
May 15 21:52:29 dev002 kernel: Vendor: HP Model: Ultrium 3-SCSI Rev: kn7B
May 15 21:52:29 dev002 kernel: Type: Sequential-Access ANSI SCSI revision: 03
May 15 21:52:29 dev002 kernel: Vendor: HP Model: 1x8 G2 AUTOLDR Rev: kn7B
May 15 21:52:29 dev002 kernel: Type: Medium Changer ANSI SCSI revision: 03
May 15 21:52:29 dev002 iscsid: transport class version 2.0-724. iscsid version 2.0-871
May 15 21:52:29 dev002 iscsid: iSCSI daemon with pid=16277 started!
May 15 21:52:29 dev002 iscsid: connection1:0 is operational now
May 15 21:52:29 dev002 iscsid: connection2:0 is operational now
[root@dev002 iscsi]# fdisk -l
Disk /dev/hda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 65 522081 83 Linux
/dev/hda2 66 1595 12289725 83 Linux
/dev/hda3 1596 2067 3791340 83 Linux
/dev/hda4 2068 4865 22474935 5 Extended
/dev/hda5 2871 4081 9727326 83 Linux
/dev/hda6 4082 4603 4192933+ 82 Linux swap / Solaris
/dev/hda7 4604 4734 1052226 83 Linux
/dev/hda8 4735 4865 1052226 83 Linux
/dev/hda9 2068 2870 6450034+ 83 Linux
Partition table entries are not in disk order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2010 04:49 AM
тАО05-15-2010 04:49 AM
Re: No SCSI block device created by iscsiadm
How about this -
http://bugzilla.turbolinux.com.cn/show_bug.cgi?id=55
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/289470
Check if these are related to your problem.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2010 05:23 AM
тАО05-17-2010 05:23 AM
Re: No SCSI block device created by iscsiadm
I tried the following:
[root@dev002 ~]# iscsiadm -m session
tcp: [1] 192.168.1.71:3260,1 iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive
tcp: [2] 192.168.1.71:3260,1 iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics
/etc/init.d/iscsi stop
iscsiadm -m node -T iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive -o delete
iscsiadm -m node -T iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics -o delete
iscsiadm --mode node --targetname iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace90.autoloader2.drive --portal 192.168.1.71:3260 -login
iscsiadm --mode node --targetname iqn.1986-03.com.hp:storage.d2dbs.hu17251wl0.500110a0002ace94.autoloader2.robotics --portal 192.168.1.71:3260 --login
/etc/init.d/iscsi restart
##########################################
When I check the /var/log/messages, this is all I see following the restart:
May 17 22:46:25 dev002 iscsid: iscsid shutting down.
May 17 22:46:25 dev002 kernel: Loading iSCSI transport class v2.0-724.
May 17 22:46:25 dev002 kernel: iscsi: registered transport (tcp)
May 17 22:46:25 dev002 kernel: iscsi: registered transport (iser)
May 17 22:46:25 dev002 iscsid: iSCSI logger with pid=7748 started!
May 17 22:46:26 dev002 kernel: scsi40 : iSCSI Initiator over TCP/IP
May 17 22:46:26 dev002 kernel: scsi41 : iSCSI Initiator over TCP/IP
May 17 22:46:26 dev002 kernel: Vendor: HP Model: Ultrium 3-SCSI Rev: kn7B
May 17 22:46:26 dev002 kernel: Type: Sequential-Access ANSI SCSI revision: 03
May 17 22:46:26 dev002 kernel: Vendor: HP Model: 1x8 G2 AUTOLDR Rev: kn7B
May 17 22:46:26 dev002 kernel: Type: Medium Changer ANSI SCSI revision: 03
May 17 22:46:26 dev002 iscsid: transport class version 2.0-724. iscsid version 2.0-871
May 17 22:46:26 dev002 iscsid: iSCSI daemon with pid=7749 started!
May 17 22:46:26 dev002 iscsid: connection1:0 is operational now
May 17 22:46:26 dev002 iscsid: connection2:0 is operational now
##########################################
There are no errors. My logins and queries of the HP D2D 120 all work perfectly, yet iscsiadm doesn't even seem to attempt to create the block device.
Anyone have any idea?
Regards
Anthony Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2010 08:46 PM
тАО05-17-2010 08:46 PM