Re: targetcli do not show iscsi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




iscsi is not a supported fabric on rhel/centos 6. Only FCoE uses LIO. scsi-target-utils (tgt) is the supported iscsi target on rhel6. rhel7 uses LIO for both, as does Fedora.

Regards -- Andy

Hi Andy,
I see LIO is a technology preview on rhel 6 but I'm not looking for official support, just play with it :) that said I have a custom kernel compiled from vanilla so if we esclude some problem with udev or other userspace services only kernel modules and targetcli is involved in this configuration. I hope someone that maintain this module have some time to help me to get it running otherwise I will try to use scst (actually I compiled and installed it but still have to configure it).

My final goal is to have a litttle lab that let me write an integration module for my failover cluster manager ( https://code.google.com/p/back-to-work/ ). I need to implement scsi fencing without
destroying a production server connected to a real SAN :P

Luigi

Maybe I misunderstood your statement. Are you saying that
the targetcli I'm using (fb16) does not support iscsi fabric?
In this case I will try to use the git version.

Luigi


got it working :D

# targetcli
targetcli shell version 2.1.fb37
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.

/> ls
o- / ...................................................................................................................... [...] o- backstores ........................................................................................................... [...] | o- block ............................................................................................... [Storage Objects: 0] | o- fileio .............................................................................................. [Storage Objects: 0] | o- pscsi ............................................................................................... [Storage Objects: 0] | o- ramdisk ............................................................................................. [Storage Objects: 0] o- iscsi ......................................................................................................... [Targets: 0] o- loopback ...................................................................................................... [Targets: 0] o- sbp ........................................................................................................... [Targets: 0] o- vhost ......................................................................................................... [Targets: 0]
/>

I installed the last version from https://fedorahosted.org/releases/t/a/targetcli-fb/ and fortunally I had python2.7 installed in /usr/local (I don't remember why I installed it :D)

builded and installed using python2.7

Thanks Andy for your hint and excuse me if I seemed stubborn :)
Thank to Martin too for his support!

regards
Luigi
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux