If you mean do you need to install 13.10 then you should not. However, I
do not work for ubuntu and am not exactly sure what they have in each
version.

On 02/12/2014 08:51 PM, Anil Rana wrote:
> Yes did follow the doc. But no luck. Many people suggested many things to 
> install and I tried. For some reason I feel light at the end of tunnel with 
> your confidence. Thank you. I don't need to create new kernel image with 
> iscsi. Right?
> 
> Sent from my iPhone
> 
>> On Feb 12, 2014, at 9:43 PM, Mike Christie <[email protected]> wrote:
>>
>> 12.04 works ok. You should not have to update to 13.10. Did you try
>> their documentation
>>
>> https://help.ubuntu.com/12.04/serverguide/iscsi-initiator.html
>>
>> If you keep trying to use ifaces then stop setting the ifaces's ip address.
>>
>> If you want to just try and get the basics working then stop trying to
>> use ifaces.
>>
>>
>>> On 02/12/2014 08:40 PM, Anil Rana wrote:
>>> Do you have step by step procedure to make it work on Ubuntu 12.04? Should 
>>> I try 13.10 version?  I will try it tomorrow what you suggested. I am 
>>> running out of storage space. Please help!
>>>
>>> Thank you very much for reply. 
>>>
>>> Sent from my iPhone
>>>
>>>> On Feb 12, 2014, at 9:12 PM, Mike Christie <[email protected]> wrote:
>>>>
>>>> Could you send the iscsid -d 8 output with only the default iface. It
>>>> does not look like you need to be using iscsi ifaces.
>>>>
>>>> So stop passing iface2 to the discovery and login commands and retry and
>>>> send the output if it does not work.
>>>>
>>>>
>>>> Also, I think you are hitting a bug in your version if the tools. You
>>>> should not be setting the ip address in the iface config. It is not
>>>> used. Just set the netdev or mac.
>>>>
>>>>> On 02/12/2014 01:38 PM, Anil@lucent wrote:
>>>>> Sorry. Now it seems to be fine.
>>>>>
>>>>> default interface is also not working.
>>>>>
>>>>> Here are the outputs.
>>>>> [1904289.430627] type=1400 audit(1391118497.051:54): apparmor="DENIED"
>>>>> operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=1135
>>>>> comm="cupsd" pid=1135 comm="cupsd" capability=36  capname="block_suspend"
>>>>> [1904537.473304] Loading iSCSI transport class v2.0-870.
>>>>> [1904537.476374] iscsi: registered transport (tcp)
>>>>> [1904537.498669] iscsi: registered transport (iser)
>>>>> [1904665.282042] Loading iSCSI transport class v2.0-870.
>>>>> [1904665.284754] iscsi: registered transport (tcp)
>>>>> [1904665.307167] iscsi: registered transport (iser)
>>>>> [1908781.208085] type=1400 audit(1391122998.503:55): apparmor="DENIED"
>>>>> operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=1135
>>>>> comm="cupsd" pid=1135 comm="cupsd" capability=36  capname="block_suspend"
>>>>> [1910352.243392] Loading iSCSI transport class v2.0-870.
>>>>> [1910352.252210] iscsi: registered transport (tcp)
>>>>> [1910352.261437] iscsi: registered transport (iser)
>>>>> [1910519.846650] Loading iSCSI transport class v2.0-870.
>>>>> [1910519.849604] iscsi: registered transport (tcp)
>>>>> [1910519.865964] iscsi: registered transport (iser)
>>>>> [1911569.236891] Loading iSCSI transport class v2.0-870.
>>>>> [1911569.238360] iscsi: registered transport (tcp)
>>>>> [1911569.248138] iscsi: registered transport (iser)
>>>>> [1918839.288455] type=1400 audit(1391133078.243:56): apparmor="DENIED"
>>>>> operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=1135
>>>>> comm="cupsd" pid=1135 comm="cupsd" capability=36  capname="block_suspend"
>>>>> [1924707.421086] type=1400 audit(1391138959.011:57): apparmor="DENIED"
>>>>> operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=1135
>>>>> comm="cupsd" pid=1135 comm="cupsd" capability=36  capname="block_suspend"
>>>>> [1924893.864447] Loading iSCSI transport class v2.0-870.
>>>>> [1924893.867079] iscsi: registered transport (tcp)
>>>>> [1924893.876752] iscsi: registered transport (iser)
>>>>> [2582497.651150] usb 3-1: new full-speed USB device number 2 using 
>>>>> uhci_hcd
>>>>> [2582497.797046] usb 3-1: New USB device found, idVendor=03f0,
>>>>> idProduct=7029
>>>>> [2582497.797053] usb 3-1: New USB device strings: Mfr=1, Product=2,
>>>>> SerialNumber=0
>>>>> [2582497.797057] usb 3-1: Product: Virtual Keyboard
>>>>> [2582497.797060] usb 3-1: Manufacturer: HP
>>>>> [2582498.027334] usbcore: registered new interface driver usbhid
>>>>> [2582498.027336] usbhid: USB HID core driver
>>>>> [2582498.116475] input: HP  Virtual Keyboard  as
>>>>> /devices/pci0000:00/0000:00:1c.7/0000:01:00.4/usb3/3-1/3-1:1.0/input/input1
>>>>> [2582498.116645] hid-generic 0003:03F0:7029.0001: input,hidraw0: USB HID
>>>>> v1.01 Keyboard [HP  Virtual Keyboard ] on usb-0000:01:00.4-1/input0
>>>>> [2582498.116781] input: HP  Virtual Keyboard  as
>>>>> /devices/pci0000:00/0000:00:1c.7/0000:01:00.4/usb3/3-1/3-1:1.1/input/input2
>>>>> [2582498.117046] hid-generic 0003:03F0:7029.0002: input,hidraw1: USB HID
>>>>> v1.01 Mouse [HP  Virtual Keyboard ] on usb-0000:01:00.4-1/input1
>>>>> [2582670.718572] type=1400 audit(1391798339.213:58): apparmor="DENIED"
>>>>> operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=1135
>>>>> comm="cupsd" pid=1135 comm="cupsd" capability=36  capname="block_suspend"
>>>>> [2584152.571368] usb 3-1: USB disconnect, device number 2
>>>>> [2649037.060817] type=1400 audit(1391864848.474:59): apparmor="DENIED"
>>>>> operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=1135
>>>>> comm="cupsd" pid=1135 comm="cupsd" capability=36  capname="block_suspend"
>>>>> [2755487.570318] type=1400 audit(1391971528.220:60): apparmor="DENIED"
>>>>> operation="capable" parent=1 profile="/usr/sbin/cupsd" pid=1135
>>>>> comm="cupsd" pid=1135 comm="cupsd" capability=36  capname="block_suspend"
>>>>> root@Blade14 <mailto:root@Blade14>:~#
>>>>>
>>>>> Feb 12 09:18:59 Blade14 iscsid: sysfs_init: sysfs_path='/sys'
>>>>> Feb 12 09:19:00 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/module/scsi_transport_iscsi'/'version'
>>>>> Feb 12 09:19:00 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/module/scsi_transport_iscsi/version'
>>>>> Feb 12 09:19:00 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/module/scsi_transport_iscsi/version'
>>>>> Feb 12 09:19:00 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/module/scsi_transport_iscsi/version' with attribute value '2.0-870'
>>>>> Feb 12 09:19:00 Blade14 iscsid: transport class version 2.0-870. iscsid
>>>>> version 2.0-871
>>>>> Feb 12 09:19:00 Blade14 iscsid: iSCSI daemon with pid=42125 started!
>>>>> Feb 12 09:19:00 Blade14 iscsid: in ctldev_close
>>>>> Feb 12 09:19:00 Blade14 iscsid: in ctldev_open
>>>>> Feb 12 09:19:00 Blade14 iscsid: created NETLINK_ISCSI socket...
>>>>> Feb 12 09:19:00 Blade14 iscsid:
>>>>> InitiatorName==iqn.1993-08.org.debian:01:d1881db5f88
>>>>> Feb 12 09:19:00 Blade14 iscsid:
>>>>> InitiatorName=iqn.1993-08.org.debian:01:d1881db5f88
>>>>> Feb 12 09:19:00 Blade14 iscsid:
>>>>> InitiatorAlias=Blade14.research.bell-labs.com
>>>>> Feb 12 09:19:00 Blade14 iscsid: in ctldev_close
>>>>> Feb 12 09:19:00 Blade14 iscsid: Max file limits 1024 4096
>>>>> Feb 12 09:19:00 Blade14 iscsid: reaped pid 42126, reap_count now 0
>>>>> Feb 12 09:19:33 Blade14 iscsid: poll result 1
>>>>> Feb 12 09:19:33 Blade14 iscsid: mgmt_ipc_write_rsp: rsp to fd 8
>>>>> Feb 12 09:19:33 Blade14 iscsid: poll result 1
>>>>> Feb 12 09:19:33 Blade14 iscsid: mgmt_ipc_write_rsp: rsp to fd 8
>>>>> Feb 12 09:19:33 Blade14 iscsid: poll result 1
>>>>> Feb 12 09:19:33 Blade14 iscsid: mgmt_ipc_write_rsp: rsp to fd 8
>>>>> Feb 12 09:19:33 Blade14 iscsid: poll result 1
>>>>> Feb 12 09:19:33 Blade14 iscsid: mgmt_ipc_write_rsp: rsp to fd 8
>>>>> Feb 12 09:19:33 Blade14 iscsid: poll result 1
>>>>> Feb 12 09:19:33 Blade14 iscsid: in read_transports
>>>>> Feb 12 09:19:33 Blade14 iscsid: Adding new transport iser
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/class/iscsi_transport/iser'/'handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/class/iscsi_transport/iser/handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/class/iscsi_transport/iser/handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/class/iscsi_transport/iser/handle' with attribute value
>>>>> '18446744072101642272'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/class/iscsi_transport/iser'/'caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/class/iscsi_transport/iser/caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/class/iscsi_transport/iser/caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/class/iscsi_transport/iser/caps' with attribute value '0x9'
>>>>> Feb 12 09:19:33 Blade14 iscsid: Adding new transport tcp
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/class/iscsi_transport/tcp'/'handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/class/iscsi_transport/tcp/handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/class/iscsi_transport/tcp/handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/class/iscsi_transport/tcp/handle' with attribute value
>>>>> '18446744072100978720'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/class/iscsi_transport/tcp'/'caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/class/iscsi_transport/tcp/caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/class/iscsi_transport/tcp/caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/class/iscsi_transport/tcp/caps' with attribute value '0x39'
>>>>> Feb 12 09:19:33 Blade14 iscsid: Matched transport tcp
>>>>> Feb 12 09:19:33 Blade14 iscsid: Allocted session 0xe33140
>>>>> Feb 12 09:19:33 Blade14 iscsid: no authentication configured...
>>>>> Feb 12 09:19:33 Blade14 iscsid: resolved 10.10.10.1 to 10.10.10.1
>>>>> Feb 12 09:19:33 Blade14 iscsid: setting iface iface2, dev , set ip
>>>>> 10.10.10.14, hw 00:17:a4:77:00:c8, transport tcp.
>>>>> Feb 12 09:19:33 Blade14 iscsid: destroying session
>>>>> Feb 12 09:19:33 Blade14 iscsid: Releasing session 0xe33140
>>>>> Feb 12 09:19:33 Blade14 iscsid: mgmt_ipc_write_rsp: rsp to fd 8
>>>>> Feb 12 09:19:33 Blade14 iscsid: poll result 1
>>>>> Feb 12 09:19:33 Blade14 iscsid: in read_transports
>>>>> Feb 12 09:19:33 Blade14 iscsid: Updating transport iser
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/class/iscsi_transport/iser'/'handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/class/iscsi_transport/iser/handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/class/iscsi_transport/iser/handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/class/iscsi_transport/iser/handle' with attribute value
>>>>> '18446744072101642272'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/class/iscsi_transport/iser'/'caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/class/iscsi_transport/iser/caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/class/iscsi_transport/iser/caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/class/iscsi_transport/iser/caps' with attribute value '0x9'
>>>>> Feb 12 09:19:33 Blade14 iscsid: Updating transport tcp
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/class/iscsi_transport/tcp'/'handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/class/iscsi_transport/tcp/handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/class/iscsi_transport/tcp/handle'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/class/iscsi_transport/tcp/handle' with attribute value
>>>>> '18446744072100978720'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: open
>>>>> '/class/iscsi_transport/tcp'/'caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: new uncached
>>>>> attribute '/sys/class/iscsi_transport/tcp/caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: add to cache
>>>>> '/sys/class/iscsi_transport/tcp/caps'
>>>>> Feb 12 09:19:33 Blade14 iscsid: sysfs_attr_get_value: cache
>>>>> '/sys/class/iscsi_transport/tcp/caps' with attribute value '0x39'
>>>>> Feb 12 09:19:33 Blade14 iscsid: Matched transport tcp
>>>>> Feb 12 09:19:33 Blade14 iscsid: Allocted session 0xe33460
>>>>> Feb 12 09:19:33 Blade14 iscsid: no authentication configured...
>>>>> Feb 12 09:19:33 Blade14 iscsid: resolved 10.10.20.1 to 10.10.20.1
>>>>> Feb 12 09:19:33 Blade14 iscsid: setting iface iface2, dev , set ip
>>>>> 10.10.10.14, hw 00:17:a4:77:00:c8, transport tcp.
>>>>> Feb 12 09:19:33 Blade14 iscsid: destroying session
>>>>> Feb 12 09:19:33 Blade14 iscsid: Releasing session 0xe33460
>>>>> Feb 12 09:19:33 Blade14 iscsid: mgmt_ipc_write_rsp: rsp to fd 8
>>>>>
>>>>>
>>>>> On Wednesday, February 12, 2014 2:35:00 PM UTC-5, Anil@lucent wrote:
>>>>>
>>>>>   I have been posting but get's deleted.
>>>>>
>>>>>
>>>>>
>>>>>   On Tuesday, February 4, 2014 12:18:22 AM UTC-5, Mike Christie wrote:
>>>>>
>>>>>
>>>>>
>>>>>> root@Blade15:~# iscsid -f -d 8
>>>>>> iscsid: sysfs_init: sysfs_path='/sys'
>>>>>>
>>>>>> iscsid: sysfs_attr_get_value: open
>>>>>       '/module/scsi_transport_iscsi'/'version'
>>>>>>
>>>>>> iscsid: sysfs_attr_get_value: new uncached attribute
>>>>>       '/sys/module/scsi_transport_iscsi/version'
>>>>>>
>>>>>> iscsid: sysfs_attr_get_value: add to cache
>>>>>       '/sys/module/scsi_transport_iscsi/version'
>>>>>>
>>>>>> iscsid: sysfs_attr_get_value: cache
>>>>>       '/sys/module/scsi_transport_iscsi/version' with attribute value
>>>>>       '2.0-870'
>>>>>>
>>>>>> iscsid: transport class version 2.0-870. iscsid version 2.0-871
>>>>>> iscsid: Can not bind IPC socket
>>>>>> iscsid: in ctldev_close
>>>>>
>>>>>
>>>>>       You should kill all the iscsid instances then run that command.
>>>>>       The above message means iscsid did not start.
>>>>>       Without iscsid nothing will work. It could be it was already
>>>>>       started.
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> root@Blade15:~# iscsiadm -m node -T
>>>>>       iqn.1986-03.com.hp:storage.p2000g3.13351a9162 -p 10.10.30.1:3260
>>>>>       <http://10.10.30.1:3260> --login
>>>>>> Logging in to [iface: iface2, target:
>>>>>       iqn.1986-03.com.hp:storage.p2000g3.13351a9162, portal:
>>>>>       10.10.30.1,3260]
>>>>>> Logging in to [iface: iface4, target:
>>>>>       iqn.1986-03.com.hp:storage.p2000g3.13351a9162, portal:
>>>>>       10.10.30.1,3260]
>>>>>> iscsiadm: Could not login to [iface: iface2, target:
>>>>>       iqn.1986-03.com.hp:storage.p2000g3.13351a9162, portal:
>>>>>       10.10.30.1,3260]:
>>>>>> iscsiadm: initiator reported error (5 - encountered iSCSI
>>>>>       login failure)
>>>>>> iscsiadm: Could not login to [iface: iface4, target:
>>>>>       iqn.1986-03.com.hp:storage.p2000g3.13351a9162, portal:
>>>>>       10.10.30.1,3260]:
>>>>>> iscsiadm: initiator reported error (5 - encountered iSCSI
>>>>>       login failure)
>>>>>
>>>>>
>>>>>       When you run that command send the /var/log/messages and also
>>>>>       the iscsid output.
>>>>>
>>>>>       Also run iscsiadm with -d 8.
>>>>>
>>>>>       And does it work with just the defaults iface? Does it just not
>>>>>       work when trying to setup your own faces?
>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "open-iscsi" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at http://groups.google.com/group/open-iscsi.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to