Cannot create Pool on discovered iSCSI targets

Aafak Mohammad aafak.mohammad at cloudbyte.com
Wed Apr 1 05:24:04 UTC 2015


HI
I have installed freebsd 10.1 and using iscsictl as initiator
root at freebsd-10:~ # uname -a
*FreeBSD freebsd-10.1 10.1-RC3* FreeBSD 10.1-RC3 #0 r273437: Tue Oct 21
23:55:15 UTC 2014
root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64
root at freebsd-10:~ #
Then i discovered iSCSI targate exist on Nexenta its connected and can see
the devicenode in camcontrol devlist

*root at freebsd-10:~ # iscsictl -A -d 20.10.20.7 *
root at freebsd-10:~ # iscsictl
Target name                          Target portal    State
iqn.1986-03.com.sun:02:b3031b28-29d1-40d5-9f02-a95a428d096e
20.10.20.7       Connected: da1
root at freebsd-10:~ # iscsictl -v
Session ID:       2
Initiator name:   iqn.1994-09.org.freebsd:freebsd-10.1
Initiator portal:
Initiator alias:
Target name:
iqn.1986-03.com.sun:02:b3031b28-29d1-40d5-9f02-a95a428d096e
Target portal:    20.10.20.7
Target alias:
User:
Secret:
Mutual user:
Mutual secret:
Session type:     Normal
*Session state:    Connected*
Failure reason:
Header digest:    None
Data digest:      None
DataSegmentLen:   32768
ImmediateData:    Yes
iSER (RDMA):      No
*Device nodes:     da1 *

*root at freebsd-10:~ # camcontrol devlist*
<NECVMWar VMware IDE CDR10 1.00>   at scbus1 target 0 lun 0 (cd0,pass0)
<VMware, VMware Virtual S 1.0>     at scbus2 target 0 lun 0 (da0,pass1)
*<NEXENTA COMSTAR 1.0>              at scbus3 target 0 lun 0 (pass2,da1)*
*root at freebsd-10:~ # zpool create pool1 /dev/da1*

getting hung........... making it as a kernel thread

*var/log/messages/*
Apr  1 10:37:43 freebsd-10 kernel: WARNING: 20.10.20.7
(iqn.1986-03.com.sun:02:b3031b28-29d1-40d5-9f02-a95a428d096e): connection
error; reconnecting
Apr  1 10:37:46 freebsd-10 kernel: WARNING: 20.10.20.7
(iqn.1986-03.com.sun:02:b3031b28-29d1-40d5-9f02-a95a428d096e):* connection
error; reconnecting*
Apr  1 10:37:47 freebsd-10 kernel: WARNING: 20.10.20.7
(iqn.1986-03.com.sun:02:b3031b28-29d1-40d5-9f02-a95a428d096e): connection
error; reconnecting
Apr  1 10:37:48 freebsd-10 kernel: WARNING: 20.10.20.7
(iqn.1986-03.com.sun:02:b3031b28-29d1-40d5-9f02-a95a428d096e): connection
error; reconnecting
Apr  1 10:37:49 freebsd-10 kernel: WARNING: 20.10.20.7
(iqn.1986-03.com.sun:02:b3031b28-29d1-40d5-9f02-a95a428d096e): connection
error; reconnecting
Apr  1 10:37:50 freebsd-10 kernel: WARNING: 20.10.20.7
(iqn.1986-03.com.sun:02:b3031b28-29d1-40d5-9f02-a95a428d096e): connection
error; re


root at freebsd-10:~ # ps -aux
USER   PID  %CPU %MEM   VSZ  RSS TT  STAT STARTED     TIME COMMAND
root    11 100.0  0.0     0   16  -  RL   10:19AM 24:01.68 [idle]
root     0   0.0  0.2     0 2336  -  DLs  10:19AM  0:06.83 [kernel]
root     1   0.0  0.1  9472  840  -  ILs  10:19AM  0:00.04 /sbin/init --
root     2   0.0  0.0     0   32  -  DL   10:19AM  0:00.08 [cam]
root     3   0.0  0.0     0   16  -  DL   10:19AM  0:00.00 [mpt_recovery0]
root     4   0.0  0.0     0   16  -  DL   10:19AM  0:00.02 [fdc0]
root     5   0.0  0.0     0   16  -  DL   10:19AM  0:00.00 [sctp_iterator]
root     6   0.0  0.0     0   16  -  DL   10:19AM  0:00.03 [pagedaemon]
root     7   0.0  0.0     0   16  -  DL   10:19AM  0:00.00 [vmdaemon]
root     8   0.0  0.0     0   16  -  DL   10:19AM  0:00.00 [pagezero]
root     9   0.0  0.0     0   32  -  DL   10:19AM  0:00.04 [bufdaemon]
root    10   0.0  0.0     0   16  -  DL   10:19AM  0:00.00 [audit]
root    12   0.0  0.0     0  240  -  WL   10:19AM  0:03.01 [intr]
root    13   0.0  0.0     0   48  -  DL   10:19AM  0:00.04 [geom]
root    14   0.0  0.0     0   16  -  DL   10:19AM  0:00.26 [rand_harvestq]
root    15   0.0  0.0     0   64  -  DL   10:19AM  0:00.15 [usb]
root    16   0.0  0.0     0   16  -  DL   10:19AM  0:00.01 [vnlru]
root    17   0.0  0.0     0   16  -  DL   10:19AM  0:00.06 [syncer]
root   136   0.0  0.1 12332 1684  -  Is   10:19AM  0:00.00 adjkerntz -i
root   315   0.0  0.1 14624 2132  -  Is   10:19AM  0:00.00 dhclient: em0
[priv] (dhclient)
_dhcp  351   0.0  0.1 14624 2244  -  Is   10:19AM  0:00.01 dhclient: em0
(dhclient)
root   366   0.0  0.3 13164 4528  -  Is   10:19AM  0:00.00 /sbin/devd
root   438   0.0  0.1 14492 2032  -  Ss   10:19AM  0:00.29
/usr/sbin/syslogd -s
root   557   0.0  0.2 21036 2968  -  Ss   10:19AM  0:00.21 /usr/sbin/iscsid
root   632   0.0  0.4 61204 6472  -  Is   10:19AM  0:00.00 /usr/sbin/sshd
root   635   0.0  0.4 24104 5312  -  Ss   10:19AM  0:00.04 sendmail:
accepting connections (sendmail)
smmsp  638   0.0  0.3 24104 5076  -  Is   10:19AM  0:00.00 sendmail: Queue
runner at 00:30:00 for /var/spool/clientmqueue (sendmail)
root   642   0.0  0.1 16592 2220  -  Is   10:19AM  0:00.01 /usr/sbin/cron -s
root   701   0.0  0.5 86472 7064  -  Is   10:23AM  0:00.15 sshd: root at pts/0
(sshd)
root   707   0.0  0.5 86472 7104  -  Ss   10:23AM  0:00.25 sshd: root at pts/1
(sshd)
root   723   0.0  0.0     0   48  -  DL   10:25AM  0:00.01 [zfskern]
root   686   0.0  0.1 14488 1940 v0  Is+  10:19AM  0:00.00
/usr/libexec/getty Pc ttyv0
root   687   0.0  0.1 14488 1940 v1  Is+  10:19AM  0:00.00
/usr/libexec/getty Pc ttyv1
root   688   0.0  0.1 14488 1940 v2  Is+  10:19AM  0:00.00
/usr/libexec/getty Pc ttyv2
root   689   0.0  0.1 14488 1940 v3  Is+  10:19AM  0:00.00
/usr/libexec/getty Pc ttyv3
root   690   0.0  0.1 14488 1940 v4  Is+  10:19AM  0:00.00
/usr/libexec/getty Pc ttyv4
root   691   0.0  0.1 14488 1940 v5  Is+  10:19AM  0:00.00
/usr/libexec/getty Pc ttyv5
root   692   0.0  0.1 14488 1940 v6  Is+  10:19AM  0:00.00
/usr/libexec/getty Pc ttyv6
root   693   0.0  0.1 14488 1940 v7  Is+  10:19AM  0:00.00
/usr/libexec/getty Pc ttyv7
root   704   0.0  0.2 23572 3500  0  Is   10:23AM  0:00.06 -csh (csh)
*root   722   0.0  0.2 40144 3284  0  D+   10:25AM  0:01.19 zpool create
ptest /dev/da1*
root   710   0.0  0.2 23572 3500  1  Ss   10:23AM  0:00.03 -csh (csh)
root   712   0.0  0.1 12336 1840  1  T    10:23AM  0:00.03 tail -f
/var/log/messages
root  1298   0.0  0.1 18736 2120  1  R+   10:43AM  0:00.00 ps -aux
root at freebsd-10:~ #

After this i cannot do anything, can you please help me why this is
happening in freebsd 10 ?


-- 
Thanks and Regards,
Aafak
[image: cid:image001.png at 01CF7E5A.8A69F530]

Plot No. : 2799 & 2800, Srinidhi Bldg, 3rd Floor,
27th Main, Sector – 1, HSR Layout,
Bangalore – 560102, Call: (91)-80-2258-2804
www.cloudbyte.com


More information about the freebsd-scsi mailing list