On 09/24/2011 03:58 PM, Mikkel Hansen wrote: > Hi everyone, > > I'll admit that I'm a compltely newbie to iSCSI. I have a CentOS Linux > server that I want to use as an iSCSI target for my ESXi server to > back up its virtual machines. > > I have managed to compile and install the iSCSI target software (i > think) and I am able to connect to the iSCSI target from my ESXi > server but I can't seem to get my LUN's or drives to show up as > available to ESXi. > > My ietd.conf looks like this: > > Target iqn.2010-08.net.aaruphansen.daisy:Backup > IncomingUser *username* *password* > OutgoingUser *username2* *password* > Lun 0 Path=/Backup/iscsidisks/LUN0,Type=fileio > Alias Backup > InitialR2T Yes > ImmediateData Yes > MaxOutstandingR2T 8 > > I have created a large file that I think I need to use as the iSCSI > drive: > > [root@daisy etc]# ls -l /Backup/iscsidisks/LUN0 > -rw-r--r-- 1 root root 1099511627776 Aug 26 15:51 /Backup/iscsidisks/ > LUN0 > [root@daisy etc]#
If you are trying to use IET then ask [email protected]. Once you have the ietd.conf file you just do service iscsi-target start > > [root@daisy etc]# ps -ef|grep iscsid > root 2473 1 0 Sep09 ? 00:00:00 iscsid > root 2474 1 0 Sep09 ? 00:00:00 iscsid > root 31026 30924 0 13:56 pts/1 00:00:00 grep iscsid > [root@daisy etc]# iscsid is the iscsi initaitor daemon. So if you are really trying to login from the same box you are running the target run iscsiadm -m discovery -t st -p your_ip -P 1 iscsiadm -m node -l iscsiadm -m session -P 3 (see /usr/share/docs/iscsi-initiator-utils-$VERSION/README for info on the initiator). Not sure if you want to actually do that. It sounds like you are just using daisy to run the target and want to just connect that to vmware. In that case you probably just want to post to the IET list and ask them how to get that working. > > [root@daisy etc]# uname -a > Linux daisy.aaruphansen.net 2.6.18-238.19.1.el5.centos.plus #1 SMP Mon > Jul 18 10:05:09 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux > [root@daisy etc]# > > I don't know where to look for logging from the iSCSI deamon so I am > "flying blind" > > Any insight or assistance would be greatly appreciated > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
