Hello, I am Praveen, and new member of this community. I was working on a perl project related to iSCSI, so started using open-iscsi and iscsitarget to research a bit before going on with my project.
I am using ubuntu server/client for my tests. Everything worked fine, but no device was created on the client machine. The steps which were taken on the server and the client machine are as below Server ------- r...@krystal:~# aptitude install iscsitarget Below steps were done as the machine didn't have lvm. r...@krystal:~# pvcreate /dev/sda9 Physical volume "/dev/sda9" successfully created r...@krystal:~# vgcreate thomas /dev/sda9 Volume group "thomas" successfully created r...@krystal:~# lvcreate -n datastore -L 10G /dev/mapper/thomas Logical volume "datastore" created The steps below were to generate iSCSI initiator r...@krystal:~# ietadm --op new --tid=2 --params Name=iqn.192.168.1.107. datastore r...@krystal:~# ietadm --op new --tid=2 --params Path=/dev/mapper/thomas-datastore,Type=blockio r...@krystal:~# ietadm --op new --tid=2 --user --params IncomingUser=praveen,Password=praveen r...@krystal:~# Client ------------ r...@spartan:~# aptitude install open-iscsi r...@spartan:~# vi /etc/iscsi/iscsid.conf -- > configured with help of http://www.cyberciti.biz/faq/howto-setup-debian-ubuntu-linux-iscsi-initiator/ r...@spartan:~# iscsiadm -m discovery -t sendtargets -p 192.168.1.107 192.168.1.107:3260,1 iqn.192.168.1.107.datastore r...@spartan:~# iscsiadm -m node --targetname iqn.192.168.1.107.datastore --portal 192.168.1.107:3260 --login Login session [iface: default, target: iqn.192.168.1.107.datastore, portal: 192.168.1.107,3260] r...@spartan:~# /etc/init.d/open-iscsi restart * Disconnecting iSCSI targets Logout session [sid: 1, target: iqn.192.168.1.107.datastore, portal: 192.168.1.107,3260] [ OK ] * Stopping iSCSI initiator service [ OK ] * Starting iSCSI initiator service iscsid [ OK ] * Setting up iSCSI targets Login session [iface: default, target: iqn.192.168.1.107.datastore, portal: 192.168.1.107,3260] [ OK ] After that I tested it on other 2 machines (ubuntu) that already have OS installed in LVM as I thought the issue could related to the LVM I created on my machine. The steps followed were as below Server -- 192.168.1.124 ++++++++++++++++++ step 1:lvcreate -n praveen-lv -L 10G nfspool step 2:/etc/init.d/iscsi-target start step 3:ietadm --op new --tid=2 --params Name=iqn.192.168.1.124.praveen-lv step 4:ietadm --op new --tid=2 --params Path=/dev/mapper/testzx-praveen--lv,Type=blockio step 5:ietadm --op new --tid=2 --user --params IncomingUser=praveen,Password=praveen Client -- 192.168.1.123 ++++++++++++++++++++ step 1:vi /etc/iscsi/iscsid.conf -- > configured with help of http://www.cyberciti.biz/faq/howto-setup-debian-ubuntu-linux-iscsi-initiator/ step 2:/etc/init.d/open-iscsi start step 3: iscsiadm -m discovery -t sendtargets -p 192.168.1.124 result ------ 192.168.1.124:3260,1 iqn.192.168.1.124.praveen-lv 192.168.1.124:3260,1 iqn.2001-04.com.example:storage.disk2.sys1.xyz step 4:iscsiadm -m node --targetname iqn.192.168.1.124.praveen-lv --portal 192.168.1.124:3260 --login result ------ Login session [iface: default, target: iqn.192.168.1.124.praveen-lv, portal: 192.168.1.124,3260] step 5:/etc/init.d/open-iscsi restart result --------- Disconnecting iSCSI targets:Logout session [sid: 1, target: iqn.2001-04.com.example:storage.disk2.sys1.xyz, portal: 192.168.1.123,3260] Logout session [sid: 30, target: iqn.192.168.1.123.praveen-lv, portal: 192.168.1.123,3260] . Stopping iSCSI initiator service:. Starting iSCSI initiator service: iscsid. Setting up iSCSI targets: Login session [iface: default, target: iqn.2001-04.com.example:storage.disk2.sys1.xyz, portal: 192.168.1.123,3260] Login session [iface: default, target: iqn.192.168.1.123.praveen-lv, portal: 192.168.1.123,3260] Here too, no new device got created on the client. Could you please guide me, on if the issue is related to the steps I used or if it is related some settings/software versions. -- ##################### # Praveen~ # # +919895066033 # ##################### --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---