bdazla Posted January 5, 2016 Share #1 Posted January 5, 2016 I have a query to see if the drivers for the Qlogic QLE2462 drivers could be added to the XPEnology builds if they will work for the following scenario. What I would like to do if possible, is to move my ESXi hosts from the current iSCSI 1Gb Ethernet connection to my current Openfiler SAN/NAS with 1Gb iSCSI Ethernet TO 4Gb fibre cards on the ESXi hosts and also 4Gb fibre cards on my XPEnology SAN/NAS that I have been testing. Is this scenario possible? I would love some faster disk access and also trunking of the FC cards too if possible. Can XPEnology be used with FC cards to pass disk LUNs to ESXi host(s)? Link to comment Share on other sites More sharing options...
Aigor Posted January 5, 2016 Share #2 Posted January 5, 2016 Hi, i have sane scenario, but for what i understood it's not enough to have driver, you need to add FC support into kernel, as far i know you have to compile SCST support and user-space part. I'm starting a "project" ( i'm not a skilled programmer ) to try to add FC support to synology. It could be great if we can build a package with kernel parts, user-space parts and web-management to manage WWN lun and so on. Link to comment Share on other sites More sharing options...
bdazla Posted January 5, 2016 Author Share #3 Posted January 5, 2016 Ahhh nuts!!! Well that's a rather large spanner thrown in the works. I'm not a programmer at all so I can't help much from that point of view. I would only be able to test with what I have hardware wise (which isn't that much) but would love to get it all working if possible. 1Gb iSCSI sucks!!! lol Link to comment Share on other sites More sharing options...
Aigor Posted January 5, 2016 Share #4 Posted January 5, 2016 Tonigth i will try to do some test, i have all the stuff i need, 2 FC hba, one FC cable one esx host and one synology. I don't know if i can use one HBA via VM I would not screw up my synology Link to comment Share on other sites More sharing options...
Aigor Posted January 6, 2016 Share #5 Posted January 6, 2016 No lucky, i had some trouble on compiling scst even if i setup right kernel source in scst Makefile i need to talk with someone who has programming skills Link to comment Share on other sites More sharing options...
bdazla Posted January 7, 2016 Author Share #6 Posted January 7, 2016 Hopefully someone will be able to assist you further and the eventually see if we can get it into the mainstream builds Link to comment Share on other sites More sharing options...
Aigor Posted January 7, 2016 Share #7 Posted January 7, 2016 Hopefully someone will be able to assist you further and the eventually see if we can get it into the mainstream builds I hope i think would be awesome if we could use Fibre Channel instead ISCSI or both to cover several systems. Link to comment Share on other sites More sharing options...
Trantor Posted January 8, 2016 Share #8 Posted January 8, 2016 Hopefully someone will be able to assist you further and the eventually see if we can get it into the mainstream builds I hope i think would be awesome if we could use Fibre Channel instead ISCSI or both to cover several systems. Have no idea how to add FC support for now. Can you give me informations about what to add in order to get your FC adapter to works (beside the driver itself of course ^^) What do you really need with FC ? Feature like FCoE ? Link to comment Share on other sites More sharing options...
Aigor Posted January 8, 2016 Share #9 Posted January 8, 2016 Have no idea how to add FC support for now. Can you give me informations about what to add in order to get your FC adapter to works (beside the driver itself of course ^^) What do you really need with FC ? Feature like FCoE ? Hi Trantor, thank you for your interest. Fibre Channel support are done via SCST http://scst.sourceforge.net/ it's a kernel extension who permit use of Fibre channel and FCoE, in my particular setup i need only Fibre Channel because i have two HBA ) Host Bus Adapter Qlogic QLA2340 2GB FC adapter, but you can use every FC-HBA is supported by linux. In Synology there isn't any FC support, there is only Driver, and it's' not enough to server FC Target. FC support it's similar to ISCSI support,but it's done via FC instead of IP, another difference it's in howto permit to read particular LUN from particolar host,this involve WWN that you can thing symilar to mac address, you setup a lun to be visible from particular host simply add WWN of the FCHBA present in the host, this is know like zoning a concept similar to Vlan but that involve WWN instead of port. My "project" aim to build a complete synology package, but it's almot a dream because i don't know anything about web programming and so on, my knoweldge it's' limited to follow howto, compile module, compile user-space part and try to see if it works. Basically you need to download SCST package, compile kernel to obtain a regular kernel file, modules and so on, make modules_install to setup all the things, after you can patch kernel and compile scst itself, copy modules and zImage into synology, and try to see if it works. If you need more info, don't hesitate to write, also in PM Link to comment Share on other sites More sharing options...
Aigor Posted January 9, 2016 Share #10 Posted January 9, 2016 Have no idea how to add FC support for now. Can you give me informations about what to add in order to get your FC adapter to works (beside the driver itself of course ^^) What do you really need with FC ? Feature like FCoE ? Hi Trantor, i'v build with success al the parts needed using braswell source (Linux-3.10.35) with bromolow config, but i suspect that we have to use vmlinux image and not only modules, as far i can see i can't use my vmlinuz image instead of zImage of xpenoboot, if you want to test i can write a short howto on how to setup environment and so on. Link to comment Share on other sites More sharing options...
bdazla Posted January 9, 2016 Author Share #11 Posted January 9, 2016 Nice work Aigor Link to comment Share on other sites More sharing options...
Aigor Posted January 9, 2016 Share #12 Posted January 9, 2016 Nice work Aigor Thank you but we ar far from to have something usable I had to compile kernel,it's' not enough patch kernel and make modules, but my kernel can't boot into synology system because xpenology use a patched kernel from sancome and others users. i need their help to start one test. Link to comment Share on other sites More sharing options...
Trantor Posted January 9, 2016 Share #13 Posted January 9, 2016 Nice work Aigor Thank you but we ar far from to have something usable I had to compile kernel,it's' not enough patch kernel and make modules, but my kernel can't boot into synology system because xpenology use a patched kernel from sancome and others users. i need their help to start one test. What settings do you need to be build/added to the kernel ? Link to comment Share on other sites More sharing options...
Aigor Posted January 9, 2016 Share #14 Posted January 9, 2016 What settings do you need to be build/added to the kernel ? Hi trantor, it's not only settings problem, i have to patch kernel source before start compilation because scst subsystem itself need to have kernel patched, you have to start to compile patched kernel, compile modules, make modules_install, after you can compile scst subsystem. Another problem is QLA Adapter, there are several type of them and SCST guys suggest download source from qlogic git and substitute them in kernel tree. If all the things goes well we need to compile userspace part and start to configure it, user space part need to be "hacked" to respect synology layout. I'm afraid that it's not possible to pack all the things in a synopack because it's mandatory to have kernel with patch applied. Hope it Helps, i'm preparing a sort of howto to compile parts. Link to comment Share on other sites More sharing options...
aigors Posted January 12, 2016 Share #15 Posted January 12, 2016 Almost good news,maybe I got it I have to fix few things,it seems that modules works with bzimage Inviato dal mio ASUS_Z00UD utilizzando Tapatalk Link to comment Share on other sites More sharing options...
bdazla Posted January 12, 2016 Author Share #16 Posted January 12, 2016 Getting a little excited here.......... hehehehehe Link to comment Share on other sites More sharing options...
Aigor Posted January 12, 2016 Share #17 Posted January 12, 2016 Getting a little excited here.......... hehehehehe Yes, but to be sure i have to write all the steps, check if it works, write doc and pray someone who can help me with web-part, it's enough compile only scst and modules, bzImage from compiled kernel in dev-machine it's not needed Link to comment Share on other sites More sharing options...
bdazla Posted January 14, 2016 Author Share #18 Posted January 14, 2016 If you need me to help with some testing, I will setup an ftp server for you to send files and help out as much as I can. Link to comment Share on other sites More sharing options...
Aigor Posted January 14, 2016 Share #19 Posted January 14, 2016 If you need me to help with some testing, I will setup an ftp server for you to send files and help out as much as I can. Thank you very much bdazala, i already have all the stuff i need. I'm ecountering some issue with qla compiled driver, I do not understand why qla2xxx module from original synology installation works, but the new one compiled by me in dev-machine not work. If you want i can write HOWTO so you can try by yourself if you have. For my needing i have one syno-test machine with qla installed and one VM with centos7 where i can compile modules. Link to comment Share on other sites More sharing options...
Aigor Posted August 17, 2016 Share #20 Posted August 17, 2016 Good News ! Xpenology Devs release source of their kernel, with this source i have been able to compile SCST subsystem, now i see QLA card on my test-system, next step, try to build LUN, export this LUN to an host and start some test to check stability and performance. To start, you need two systems, one for compiling and other for testing, fisrt one can be virtual but it's' mandatory that the second one must be physical with qla card installed. In the future i need someone who help me build a synology package to handle WWN and LUN in easily way, but it's' another project I'm in writing HowTo in where i explain howto build SCST subsystem against Xpenology source kernel. Link to comment Share on other sites More sharing options...
nearffxx Posted August 17, 2016 Share #21 Posted August 17, 2016 Congratulations @Aigor Link to comment Share on other sites More sharing options...
Aigor Posted August 17, 2016 Share #22 Posted August 17, 2016 Congratulations @Aigor Thank you nearffxx but i'm only at the beginning i would like to build complete package but it's almost out of my knoweldge Link to comment Share on other sites More sharing options...
Recommended Posts